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
cated than that but thought it may provide a way to quickly preallocate the file. Rob -Original Message- From: Rob Bosch [mailto:[EMAIL PROTECTED] Sent: Thursday, November 01, 2007 5:27 PM To: 'cygwin@cygwin.com' Subject: High CPU usage on posix_fallocate call - CVS version W

High CPU usage on posix_fallocate call - CVS version

2007-11-01 Thread Rob Bosch
When my compiled version of rsync is using the posix_fallocate function I’m getting significant CPU usage.  The machine is a dual-core processor and I’m getting 20%-25% CPU utilization during the posix_fallocate call.  Machine stats – Windows Server 2003 x64 R2, 4GB RAM (over 2.0GB free), fiber con