X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <53052.99.237.216.211.1245894970.squirrel@www.sidefx.com>
In-Reply-To: <53049.99.237.216.211.1245894823.squirrel@www.sidefx.com>
References: <h1ofen$qvu$1@ger.gmane.org> <4A3FCCBD.70101@cygwin.com>     <h1ok6h$b50$1@ger.gmane.org> <h1p35n$rtc$1@ger.gmane.org>     <4A401CF4.6050202@cygwin.com> <h1plfn$16o$1@ger.gmane.org>     <4A405B7D.7020700@cygwin.com> <h1r1dv$4g4$1@ger.gmane.org>     <4A411665.1040300@cygwin.com> <h1rnnl$a3j$1@ger.gmane.org>     <4A4167A4.4090900@gmail.com> <h1tcpr$g4o$1@ger.gmane.org>     <h1tv52$fu5$1@ger.gmane.org> <4A428460.4000402@cygwin.com>     <4A428B01.5010903@sidefx.com> <4A429ABE.8080201@cygwin.com>     <53046.99.237.216.211.1245894582.squirrel@www.sidefx.com>     <53049.99.237.216.211.1245894823.squirrel@www.sidefx.com>
Date: Wed, 24 Jun 2009 21:56:10 -0400 (EDT)
Subject: Re: Slow/sluggish response ("system" task at 50%)
From: "Edward Lam" <edward@sidefx.com>
To: cygwin@cygwin.com
User-Agent: SquirrelMail/1.4.9a
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Wed, June 24, 2009 21:53, Edward Lam wrote:
> PS. So I went ahead and repeated the tr test on an older (Intel Core 2
> Quad 2.66 GHz) machine with cygwin 1.5 on Windows *32-bit*:

Sorry, I got the system specs wrong. It's actually just an Intel Core 2
6600 2.40 GHz machine.

>
> $ time -p for ((i=1; i<100; i++)); do var=$(echo $i | tr [a-z] [A-Z]);
> done
> real 2.64
> user 6.56
> sys 1.85
>
> We're talking about a difference between an Intel processor ONE GENERATION
> OLDER, on an older version of cygwin, yet being a few times FASTER.
>
> On Wed, June 24, 2009 21:49, Edward Lam wrote:
>> On Wed, June 24, 2009 17:29, Larry Hall (Cygwin) wrote:
>>> Sure, we all know that Cygwin provides Linux emulation and suffers some
>>> overhead for it.  But timings from an individual machine can be
>>> misleading.
>>> Running this through multiple times for both Mingw and Cygwin 1.7 on my
>>> similarly equipped machine, I see Cygwin is somewhere between 1.7 and
>>> 2.25
>>> times slower.  Whether yours or my result is more typical, I can't say.
>>> But as you noted, neither data set provides much justification for the
>>> results reported.
>>
>> Larry,
>>
>> Are you on 32-bit Windows or 64-bit Windows? I've noted on this mailing
>> list earlier that there are large speed differences between the two. I
>> wonder which platform Gene is on. The tr test results are consistent on
>> Windows 64-bit for me.
>>
>> I don't quite understand what MINGW32 is doing that makes it ~2 times
>> faster than cygwin.
>>
>> -Edward
>>
>>
>>
>>
>
>
>
> --
> 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
>
>



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

