Re: High CPU usage on posix_fallocate call - CVS version

2007-11-19 Thread Rob Bosch
I recreated a new development environment and recompiled the rsync code. The posix_fallocate call worked exactly as expected, immediately creating a file of the size passed to the function. I tested up to 300GB without issue. I must have had something set up incorrectly in my development envi

Re: High CPU usage on posix_fallocate call - CVS version

2007-11-05 Thread Rob Bosch
> I can't reproduce this behaviour. I created a 40 Gigs file (haven't 77 > Gigs left) on my XP box using the posix_fallocate function (which, btw., > is basically just a single native NT call under the hood) and it takes > roughly a few milliseconds. I checked the dodgy app lists.none of those ar

Re: High CPU usage on posix_fallocate call - CVS version

2007-11-05 Thread Corinna Vinschen
On Nov 2 17:42, Rob Bosch wrote: > I found on MSDN that Windows has the capfilealloc function in all Windows OS > versions. This function was designed to create a preallocated capture file > of a specified size. It seems like this would accomplish what cygwin needs > with the posix_fallocate fun

RE: High CPU usage on posix_fallocate call - CVS version

2007-11-02 Thread Rob Bosch
I found on MSDN that Windows has the capfilealloc function in all Windows OS versions. This function was designed to create a preallocated capture file of a specified size. It seems like this would accomplish what cygwin needs with the posix_fallocate function? I'm sure it is more complicated th