delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/30/20:13:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Mon, 30 May 2005 20:12:46 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Serious performance problems (new snapshot has some performance improvement)
Message-ID: <20050531001246.GA17217@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <4298F195 DOT 9090600 AT familiehaase DOT de> <20050529000152 DOT GE3094 AT trixie DOT casa DOT cgf DOT cx> <20050529001846 DOT GG3094 AT trixie DOT casa DOT cgf DOT cx> <20050529030523 DOT GA10263 AT trixie DOT casa DOT cgf DOT cx> <20050529171324 DOT GA26603 AT trixie DOT casa DOT cgf DOT cx> <429A19EC DOT 9080905 AT familiehaase DOT de> <20050529201431 DOT GB28340 AT trixie DOT casa DOT cgf DOT cx> <d7fo8b$uda$1 AT sea DOT gmane DOT org> <429B78A5 DOT 2050107 AT familiehaase DOT de> <BAY102-DAV12D4850AC850F49280B6A7A9040 AT phx DOT gbl>
Mime-Version: 1.0
In-Reply-To: <BAY102-DAV12D4850AC850F49280B6A7A9040@phx.gbl>
User-Agent: Mutt/1.5.8i

On Mon, May 30, 2005 at 08:00:35PM -0400, Tacvek wrote:
>>Interesting, why is it faster when running a binary that doesn't depend
>>on cygwin1.dll after swapping the DLL?  Some Win caching mechanism?
>
>Repeating many times should minimize any caching:
>
>#New DLL
>$ /bin/time -f "%E %S %U" cygspd-mingw-ne-o7 cygspd.dat
>0:04.48 0.01 0.02
>0:01.40 0.00 0.02
>0:01.46 0.01 0.01
>0:01.39 0.01 0.01
>0:01.43 0.01 0.01
>#old DLL
>$ /bin/time -f "%E %S %U" cygspd-mingw-ne-o7 cygspd.dat
>0:01.45 0.01 0.01
>0:01.41 0.00 0.01
>0:01.40 0.01 0.01
>0:01.41 0.00 0.02
>0:01.41 0.00 0.02
>0:01.43 0.01 0.01
>
>
>Ok there is obviously some caching, which means that the original values I 
>gave inidacte that the improvement is somewhat less than they indicate. 
>They did not indicate very spectacular performance anyway. But fractional 
>seconds do not mean much.
>Based on some additioal experimentation, you should assume that the values 
>are acurate to +/- 1 second. 

There is no reason to expect any improvement in mingw programs from my
change.

cgf

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