High CPU usage on posix_fallocate call - CVS version
Thu Nov 1 23:27:00 GMT 2007
When my compiled version of rsync is using the posix_fallocate function Im
getting significant CPU usage. The machine is a dual-core processor and Im
getting 20%-25% CPU utilization during the posix_fallocate call. Machine
stats Windows Server 2003 x64 R2, 4GB RAM (over 2.0GB free), fiber
connected SATA RAID. Im wondering if the CPU spike should be expected?
The file size Im creating is 77GB is size. The call is a simple
posix_fallocate(fd, 0, total_size) where the fd is the file pointer and the
total_size is the 77GB value from the file being copied.
It also takes 20 minutes for the file to be created using this call. When
the same file is copied under native Windows Im not getting the same CPU
spike or the length of time to create the file even though Windows is
pre-allocating the file. I state this not as criticism, just for
cygwin version is CVS from roughly 10 days ago. I compiled the cygwin
components following the FAQ instructions
no special settings.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin