Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 From: "David E. Weekly" To: "Bernard A Badger" , "cygwin" Subject: RE: Cygwin is SLOW. Date: Tue, 16 Jul 2002 13:34:03 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Bernard, > Next time, try pasting the _actual_ script that you're using. Thank you very much for your patience and for running the script -- my apologies for the poor attachment; I will take greater care next time posting. > You're script isn't just doing chmod, though, it's doing SYSTEM chmod. I realize that. Locally we did the same thing that you did, namely to replace the Perl system() calls with local Perl fs calls -- that sped things up quite a bit. While you tried out the script with an older Perl, we were using the exact same Perl (ActivePerl build 517), but varying our version of Cygwin used. Our scripts were all executing locally, from local executables, so it wasn't a network issue, either. > If you want it to run fast, avoid system(). Our conclusion as well, but an unfortunate one, given that the older Cygwins (not the older Perls) seem to be a whole lot more efficient at system(). Did this get moved from copy-on-write lazy-load to some sort of "copy all pages before doing anything" kind of a model? It feels like a bug. I may try to get around to it, but I felt it was my duty to bring this to the attention of the Cygwin crowd, in case it was sufficiently obvious to someone. Bernard, thank you again for your time, and double apologies for the poor script attachment. Yours, David E. Weekly Software Engineer There, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/