| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| References: | <942b10df0705120623r391f6bdeg7aaf5643901a03b0 AT mail DOT gmail DOT com> <Pine DOT CYG DOT 4 DOT 58 DOT 0705141605220 DOT 2772 AT PC1163-8460-XP DOT flightsafety 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 |
| 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 |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |