delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/30/16:33:54

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
Message-ID: <429B78A5.2050107@familiehaase.de>
Date: Mon, 30 May 2005 22:33:41 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511
MIME-Version: 1.0
To: Anonymous <unknown_kev_cat AT hotmail DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Serious performance problems (new snapshot has some performance improvement)
References: <000b01c563c7$f4456f00$976d65da AT DANNY> <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>
In-Reply-To: <d7fo8b$uda$1@sea.gmane.org>
X-IsSubscribed: yes

Anonymous wrote:

> My System:
> #Set-up:
> 
> $ g++ cygspd.cc -o cygspd-basic
> $ g++ -O7 cygspd.cc -o cygspd-o7
> $ g++ -fno-exceptions cygspd.cc -o cygspd-ne
> $ g++ -O7 -fno-exceptions cygspd.cc -o cygspd-ne-o7
> $ g++ -mno-cygwin cygspd.cc -o cygspd-mingw
> $ g++ -O7 -mno-cygwin cygspd.cc -o cygspd-mingw-o7
> $ g++ -fno-exceptions -mno-cygwin cygspd.cc -o cygspd-mingw-ne
> $ g++ -O7 -fno-exceptions -mno-cygwin cygspd.cc -o cygspd-mingw-ne-o7
> 
> # cygwin.dll 1.5.17
[...]
> $ /bin/time -f "%E %S %U" cygspd-mingw cygspd.dat
> 0:03.11 0.00 0.02
> $ /bin/time -f "%E %S %U" cygspd-mingw-o7 cygspd.dat
> 0:01.50 0.01 0.02
> $ /bin/time -f "%E %S %U" cygspd-mingw-ne cygspd.dat
> 0:02.60 0.00 0.02
> $ /bin/time -f "%E %S %U" cygspd-mingw-ne-o7 cygspd.dat
> 0:01.50 0.01 0.01
> 
> #Snapshot DLL (No changes were made except swapping the dll.
[...]
> $ /bin/time -f "%E %S %U" cygspd-mingw cygspd.dat
> 0:02.78 0.00 0.01
> $ /bin/time -f "%E %S %U" cygspd-mingw-o7 cygspd.dat
> 0:01.51 0.01 0.01
> $ /bin/time -f "%E %S %U" cygspd-mingw-ne cygspd.dat
> 0:02.52 0.00 0.02
> $ /bin/time -f "%E %S %U" cygspd-mingw-ne-o7 cygspd.dat
> 0:01.45 0.00 0.01

Interesting, why is it faster when running a binary that doesn't
depend on cygwin1.dll after swapping the DLL?  Some Win caching mechanism?


Gerrit
-- 
=^..^=

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