delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/09/17/18:52:40

From: noer AT cygnus DOT com (Geoffrey Noer)
Subject: Re: bash performance not so gooood
17 Sep 1997 18:52:40 -0700 :
Message-ID: <199709180128.SAA26697.cygnus.gnu-win32@cirdan.cygnus.com>
References: <c=US%a=_%p=COMPAQ%l=EXCHOU-CA0201-970917182110Z-7831 AT exchou-conn02 DOT im DOT hou DOT compaq DOT com>
To: DKhosla AT Compaq DOT com (Khosla Deepak)
Cc: gnu-win32 AT cygnus DOT com

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?

I'm not surprised.

Very little time has been spent optimizing cygwin.dll or bash.
Bash currently uses fork() instead of spawn() which costs it
quite a bit of time.  The Cygwin32 layer also needs performance
analysis.  Until that happens, it will be slower than it needs to
be.

> Any ideas since at this performance, I would have to buy the UWIN 
> package and I would prefer not doing it....

You could either buy UWIN or improve cygwin.dll and/or bash and send
us patches.  :-)

-- 
Geoffrey Noer
noer AT cygnus DOT com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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