X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <942b10df0705120623r391f6bdeg7aaf5643901a03b0 AT mail DOT gmail DOT com> <4e41f5c20705150003u1123d937w1ac8e3e62cd4fe9a AT mail DOT gmail DOT com> Subject: RE: Speed of Cygwin's cp vs. Windows Explorer Date: Tue, 15 May 2007 10:29:55 +0100 Message-ID: <079101c796d3$996a39d0$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <4e41f5c20705150003u1123d937w1ac8e3e62cd4fe9a@mail.gmail.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l4F9VFAm030406 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/