This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: bash performance not so gooood
- To: "'gnu-win32 at cygnus dot com'" <gnu-win32 at cygnus dot com>, "'Khosla, Deepak'" <DKhosla at Compaq dot com>
- Subject: RE: bash performance not so gooood
- From: Sergey Okhapkin <sos at prospect dot com dot ru>
- Date: Thu, 18 Sep 1997 08:59:31 +0400
Khosla, Deepak wrote:
> Hi,
> Just some comparison numbers on a large script I ran on Windows NT 4.0
> SP3 using some different packages:
>
> Gnuwin bash - 2 mins 20 secs
> MKS ksh - 2 mins 0 secs
> ATT UWIN ksh - 0 mins 20 secs
>
> Any opinions as to why?
CreateProcess() syscall is very slow on Windows NT. All the UWIN stuff is
optimized to make spawn() calls instead of usual fork/exec pairs (both fork
and exec makes CreateProcess()). Moreover, path/symlinks handling in very
complex and ugly in cygwin and should to be rewritten from the scratch...
Yesterday I've made the performance comparison running configure script for
bash 2.01 with cygwin and OpenNT 2.0+gcc. The result was 4 mins 43 secs on
OpenNT and 11 mins 20 secs on cygwin :-(
--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".