Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Mon, 30 May 2005 20:12:46 -0400 From: Christopher Faylor 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> <429B78A5 DOT 2050107 AT familiehaase DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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/