This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Speed of Cygwin's cp vs. Windows Explorer
On 15 May 2007 08:03, Morgan Gangwere wrote:
> it would appear that until we increase the i/o buffer (am i using the
> right term?) to do the cp, we run slower than the windows cp
>
> is there a #DEFINE or some thing that we could add a diff for that
> adventurous people could use?
If you build from mainline source, (i.e. the upcoming 1.7 cygwin) you'll already get:
2007-01-04 Brian Ford <>
Corinna Vinschen <>
* fhandler.h (PREFERRED_IO_BLKSIZE): Define as 64K.
* fhandler.cc (fhandler_base::fstat): Set st_blksize to
PREFERRED_IO_BLKSIZE.
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Ditto.
* fhandler_mailslot.cc (fhandler_mailslot::fstat): Ditto.
* fhandler_raw.cc (fhandler_dev_raw::fstat): Ditto.
If you want to stick to 1.5 series, you could download a snapshot (source) and merge the diffs in yourself easily enough.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/