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: "cygwin" Subject: Cygwin is SLOW. Date: Mon, 15 Jul 2002 23:57:40 -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 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Modern cygwins seem to be very slow. "Modern" meaning built within the last 6 months or so, and "slow" means that many basic file operations, such as "chmod", seem to be >10x slower (measured, not exaggerating) than previous cygwins. This is creating a pretty tight situation at our company as we're having to rewrite scripts, etc, to work around this. The sample test script below should demonstrate the problem. With "old" cygwins I got nearly 1000 chmod's second on my workstation. With "new" cygwins I get under a dozen. The comparison was done on the same machine, same filesystem (NTFS) with otherwise identical conditions. Have others been running into this? We're seeing this on all the machines at our company, so I'm pretty convinced it's not just a localized wierdness or misconfiguration. We'd love to be using Cygwin, but we may have to bail if we can't get it to run acceptably fast. -david ===================================== chmod ( 000, "test.file" ) || die "chmod test.file: $!"; -w "test.file" || die "cannot change test.file's permissions" $!"; $t = time; while( $t == time ) {} $t = time; $secs = 5; $stop = $t + $secs; while( time < $stop ) { system( "chmod 777 test.file" ) == 0 or die "blah, $!"; $n++; } print $n / $secs, " chmods per sec\n"; -w "test.file" || die "test.file is not writeable: $!"; -- 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/