public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: bash performance not so gooood
@ 1997-09-17 22:20 Sergey Okhapkin
  1997-09-18  0:23 ` Alex
  0 siblings, 1 reply; 8+ messages in thread
From: Sergey Okhapkin @ 1997-09-17 22:20 UTC (permalink / raw)
  To: DKhosla, 'dahms@ifk20.mach.uni-karlsruhe.de'; +Cc: gnu-win32

dahms@ifk20.mach.uni-karlsruhe.de wrote:
> 
> I'd like to know the results for OpenNT 2.0, too.
> However, OpenNT replaces the MS posix.dll, and so does, I think, UWIN...

UWIN is not a posix subsystem like OpenNT. UWIN runs on top of Win32 API like cygwin.

> But without doubt, Linux on the same box would win hands down 8-)

Shell scripts runs much faster on linux, but cpu eating tasks (like compilation) requires almost the same time.

-- 
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".

^ permalink raw reply	[flat|nested] 8+ messages in thread
* RE: bash performance not so gooood
@ 1997-09-17 22:04 Sergey Okhapkin
  0 siblings, 0 replies; 8+ messages in thread
From: Sergey Okhapkin @ 1997-09-17 22:04 UTC (permalink / raw)
  To: 'gnu-win32@cygnus.com', 'Khosla, Deepak'

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".

^ permalink raw reply	[flat|nested] 8+ messages in thread
* RE: bash performance not so gooood
@ 1997-09-17 17:07 dahms
  0 siblings, 0 replies; 8+ messages in thread
From: dahms @ 1997-09-17 17:07 UTC (permalink / raw)
  To: DKhosla; +Cc: gnu-win32, dahms

Hi, you wrote:

: Gnuwin bash	- 2 mins 20 secs
: MKS ksh	- 2 mins 0 secs
: ATT UWIN ksh -  0 mins 20 secs

I'd like to know the results for OpenNT 2.0, too.
However, OpenNT replaces the MS posix.dll, and so does, I think, UWIN...
But without doubt, Linux on the same box would win hands down 8-)


Bye, Heribert (dahms@ifk20.mach.uni-karlsruhe.de)
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 8+ messages in thread
* bash performance not so gooood
@ 1997-09-17 11:22 Khosla, Deepak
  1997-09-17 15:09 ` Marty Leisner
  1997-09-17 18:29 ` Geoffrey Noer
  0 siblings, 2 replies; 8+ messages in thread
From: Khosla, Deepak @ 1997-09-17 11:22 UTC (permalink / raw)
  To: 'gnu-win32@cygnus.com'

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?
Also, the CPU utilization was extremely high and memory usage by the 
sh.exe (sometimes several probably where there are pipes in the 
script) was around 5-6Mb each! Not a pretty sight.

I was running on dual 200MHz Pentium with 128MB ram.
Gnuwin32 B18 with the coolview patch (same performance without 
patch).

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

Regards

Deepak Khosla
281-514-9234
Deepak.Khosla@compaq.com


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1997-09-18  0:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-17 22:20 bash performance not so gooood Sergey Okhapkin
1997-09-18  0:23 ` Alex
  -- strict thread matches above, loose matches on Subject: below --
1997-09-17 22:04 Sergey Okhapkin
1997-09-17 17:07 dahms
1997-09-17 11:22 Khosla, Deepak
1997-09-17 15:09 ` Marty Leisner
1997-09-17 18:29 ` Geoffrey Noer
1997-09-17 22:56   ` Alex

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).