This is the mail archive of the
mailing list for the Cygwin project.
Cygwin 1.3.1 problems
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Subject: Cygwin 1.3.1 problems
- From: Kern Sibbald <kern at sibbald dot com>
- Date: Fri, 27 Apr 2001 16:31:29 +0200
- Encoding: 78 TEXT
- Reply-To: "kern at sibbald dot com" <kern at sibbald dot com>
I've been using cygwin for several years now and decided
to upgrade from 1.1.5 to 1.3.1, which I did today. My main
reason for upgrading is to have the improved pthreads support
since 1.1.5 does not have pthread_cancel.
Unfortunately, my experience is not very positive due to a
dramatic reduction in the execution speed in 1.3.1. Running
a ./configure command on a 400Mhz Linux system, and then
on a 400Mhz Win98 system with Cygwin 1.1.5, and finally
on the same 400Mhz Win98 system with Cygwin 1.3.1, I get
the following timings:
Linux RedHat 7.0 400MHz CPU 65Mb RAM
Win98 with Cygwin 1.1.5 400Mhz CPU 256Mb RAM
Win98 with Cygwin 1.3.1 400MHz CPU 256Mb RAM
The sad news is that Cygwin 1.3.1 is approximately
6 times slower than Cygwin 1.1.5. Already, Cygwin
1.1.5 suffered a major handicap compared to native
Linux in taking approximately 12 times as much time
to do the ./configure. Now with Cygwin 1.3.1 it
takes approximately 74 to 100 times as much time.
I can understand differences of 2 or maybe even 10,
but 74 times seems enormous.
To test if the problem is in cygwin1.dll or in the
binary programs used (cat, sed, sh, ...), I dropped
the 1.3.1 cygwin1.dll into my 1.1.5 tree leaving
everything else unchanged and got the following
Note, for the prior two executions, I rebooted to have
a perfectly clean environment. For this test, I ran
it after running the 1.1.5 test, and 1.1.5 always
consumes Win resources, thus it is not surprising
that the timing is a bit longer (34m23s
compared to 29m16s).
My conclusion is that the 1.3.1 cygwin1.dll has
a serious performance problem. I hope that someone
can take a look at this and provide a solution. A bit
of performance tuning could accomplish some wonders
probably without a lot of work.
I have been very happy with cygwin 1.1.5 even at 10-12
times slower than native Linux, but at 74-100 times slower,
it makes one wonder ...
ch. Côtes-de-Montmoiret 9
Tel: +41 (21) 728-3411
Fax: +41 (21) 728-3459
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple