delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/16/02:57:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "David E. Weekly" <david AT there DOT com>
To: "cygwin" <cygwin AT cygwin DOT com>
Subject: Cygwin is SLOW.
Date: Mon, 15 Jul 2002 23:57:40 -0700
Message-ID: <LHEEIFOFMFKJEJHIKLJCGENECEAA.david@there.com>
MIME-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019