X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=2.1 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <29929206.post@talk.nabble.com> Date: Sun, 10 Oct 2010 12:37:58 -0700 (PDT) From: Nicole Hamilton To: cygwin AT cygwin DOT com Subject: Re: Re[2]: Slow fork issue - Win x64 In-Reply-To: <27607447.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <1613876000 DOT 20080917204140 AT F1-Photo DOT com> <1542859895 DOT 20080918134643 AT F1-Photo DOT com> <21561482 DOT post AT talk DOT nabble DOT com> <27607447 DOT post AT talk DOT nabble DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Jarkko H=C3=A4kkinen wrote: >=20 > I'm getting rather similar results on my Cygwin 1.7.1, Windows 7 as > evidenced by the figures below. > : >=20 > [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 >=20 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. --=20 View this message in context: http://old.nabble.com/Slow-fork-issue---Win-x= 64-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