delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/20/06:36:53

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.0 required=5.0 tests=BAYES_00,DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG
X-Spam-Check-By: sourceware.org
Message-ID: <21561482.post@talk.nabble.com>
Date: Tue, 20 Jan 2009 03:36:42 -0800 (PST)
From: prashantv <prashant DOT is DOT here AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Re[2]: Slow fork issue - Win x64
In-Reply-To: <1542859895.20080918134643@F1-Photo.com>
MIME-Version: 1.0
References: <1613876000 DOT 20080917204140 AT F1-Photo DOT com> <COL101-W1796553906F07DD5A0E579E64F0 AT phx DOT gbl> <1542859895 DOT 20080918134643 AT F1-Photo DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

My speeds are even slower than those posted:

Prashant AT HOME [~]
$ while (true); do date; done | uniq -c
      1 Tue Jan 20 22:25:50 AUSEDT 2009
      1 Tue Jan 20 22:25:51 AUSEDT 2009
      2 Tue Jan 20 22:25:52 AUSEDT 2009
      1 Tue Jan 20 22:25:53 AUSEDT 2009
      2 Tue Jan 20 22:25:54 AUSEDT 2009
      2 Tue Jan 20 22:25:55 AUSEDT 2009
      1 Tue Jan 20 22:25:56 AUSEDT 2009
      3 Tue Jan 20 22:25:57 AUSEDT 2009
      1 Tue Jan 20 22:25:58 AUSEDT 2009
      2 Tue Jan 20 22:25:59 AUSEDT 2009
      2 Tue Jan 20 22:26:00 AUSEDT 2009
      2 Tue Jan 20 22:26:01 AUSEDT 2009

I am running cygwin 1.5.25, Windows 2008 x64 on a Intel Core 2 @ 2.13ghz.
One CPU is maxed to 100% when forking. This speed explained why opening bash
took as long as 10 seconds, and I wanted to find out why it was so slow.

Is it possible to profile the implementation easily?
-- 
View this message in context: http://www.nabble.com/Slow-fork-issue---Win-x64-tp19538601p21561482.html
Sent from the Cygwin list mailing list archive at Nabble.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/

- Raw text -


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