This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re[2]: Slow fork issue - Win x64



Jarkko HÃkkinen wrote:
> 
> I'm getting rather similar results on my Cygwin 1.7.1, Windows 7 as
> evidenced by the figures below.
> :
> 
> [13:41:50 ~]$ while (true); do date; done | uniq -c
>       5 Tue Feb 16 14:00:09 FLEST 2010
>       7 Tue Feb 16 14:00:10 FLEST 2010
>       9 Tue Feb 16 14:00:11 FLEST 2010
>       9 Tue Feb 16 14:00:12 FLEST 2010
> 

Oh, my.  Here's what I get with 64-bit Hamilton C shell on Windows 7 on a
2.67GHz Core i7:

10 C% date +"%a %b %d %H:%M:%S %Z %Y"
Sun Oct 10 12:03:31 PDT 2010
11 C% while (1) !!; end | uniq -c
while ( 1 ) date +"%a %b %d %H:%M:%S %Z %Y" ; end | uniq -c
 164 Sun Oct 10 12:03:51 PDT 2010
 170 Sun Oct 10 12:03:52 PDT 2010
 169 Sun Oct 10 12:03:53 PDT 2010
 169 Sun Oct 10 12:03:54 PDT 2010

Here's what I get on a MacBook with a 2.4GHz Core 2 Duo, again running
64-bit code on Win7:

8 C% while ( 1 ) date +"%a %b %d %H:%M:%S %Z %Y" ; end | uniq -c
  17 Sun Oct 10 12:17:21 PDT 2010
  84 Sun Oct 10 12:17:22 PDT 2010
  77 Sun Oct 10 12:17:23 PDT 2010
  78 Sun Oct 10 12:17:24 PDT 2010

But this is running native, using threads instead of a fork emulation.

Regards,
Nicole

Full disclosure:  I wrote the Hamilton C shell.
-- 
View this message in context: http://old.nabble.com/Slow-fork-issue---Win-x64-tp19538601p29929206.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]