public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Slow fork issue - Win x64
@ 2008-09-18  3:23 Paul-Kenji Cahier
  0 siblings, 0 replies; 10+ messages in thread
From: Paul-Kenji Cahier @ 2008-09-18  3:23 UTC (permalink / raw)
  To: cygwin

Hello,

I have been noticing extreme slowdowns in vista/2k8 64 with latest cygwin 1.5.
Fresh installation, no antivirus.

The command used to test speed is:
while (true); do date; done | uniq -c

On windows 2008 64bit:
     11 Wed Sep 17 20:35:22 RDT 2008
     11 Wed Sep 17 20:35:23 RDT 2008
     12 Wed Sep 17 20:35:24 RDT 2008
     11 Wed Sep 17 20:35:25 RDT 2008
     12 Wed Sep 17 20:35:26 RDT 2008
     11 Wed Sep 17 20:35:27 RDT 2008
     12 Wed Sep 17 20:35:28 RDT 2008
     11 Wed Sep 17 20:35:29 RDT 2008
     11 Wed Sep 17 20:35:30 RDT 2008

On windows XP SP3 32bit:
     51 Wed Sep 17 20:35:42     2008
     50 Wed Sep 17 20:35:43     2008
     50 Wed Sep 17 20:35:44     2008
     51 Wed Sep 17 20:35:45     2008
     50 Wed Sep 17 20:35:46     2008
     51 Wed Sep 17 20:35:47     2008
     48 Wed Sep 17 20:35:48     2008
     50 Wed Sep 17 20:35:49     2008
     50 Wed Sep 17 20:35:50     2008

I of course wont compare to linux since the situation is quite different(and cygwin's fork
has a lot more work to do)

At first I thought it was a syswow64(windows on windows 64, the windows 32 subsystem of windows 64bit)
that was causing the issue since cygwin is 32 bit.

But then I ran the following test:
Running 200 times the 32bit cmd.exe /C exit from cygwin and from a normal 32bit windows cmd.
To my great surprise cygwin took 14seconds, while cmd took 2.5seconds.
The only difference I can see between the two is that cygwin's fork does more work...
But should it really be such a big difference?

Thanks for any hints,  

-- 
Best regards,
 Paul-Kenji                          mailto:pkc@F1-Photo.com


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

end of thread, other threads:[~2010-10-11 19:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1221716111.21095.ezmlm@cygwin.com>
2008-09-18 11:47 ` Slow fork issue - Win x64 Jay
2008-09-18 15:23   ` Re[2]: " Paul-Kenji Cahier
2009-01-20 13:51     ` prashantv
2010-02-16 12:19       ` Jarkko Häkkinen
2010-02-18  0:15         ` Cyrille Lefevre
2010-02-18 21:20           ` Jarkko Häkkinen
2010-10-10 19:38         ` Re[2]: " Nicole Hamilton
2010-10-11 18:16           ` Reini Urban
2010-10-11 19:11             ` Nicole Hamilton
2008-09-18  3:23 Paul-Kenji Cahier

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