delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/07/29/05:27:03

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 29 Jul 2011 11:26:02 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Slow performance Win7/64
Message-ID: <20110729092602.GB19240@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <loom DOT 20110727T120025-601 AT post DOT gmane DOT org> <j0tc8u$slo$1 AT dough DOT gmane DOT org> <loom DOT 20110729T103121-380 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20110729T103121-380@post.gmane.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
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

On Jul 29 08:43, Heiko Elger wrote:
> Hello jojelino,
> 
> I just rebuild cygwin1.dll latest snapshot. 
> 
> > I believe the attached patch workarounds delayed wait_sig problem.
> Yes - it works fine!
> 
> > This yielded speed improvement. i ran your testcase and same timestamp 
> > recorded 35. approx 2x speed.
> 
>                                       XP/32              Win7/64
> cygwin snapshot 2011-07-21              34                  12
> cygwin snapshot 2011-07-21 SIGPATCH     44                  37
> 
> As you see XP and Win7 now a really faster.
> Win7 3x speed - wow.
> 
> > but i can't make sure it doesn't include side-effects. please test it on 
> > your pc. let's hope it would work.
> I will test ist.
> 
> I've already recognize one positive side effect:
> The CTRL-C Handler works now even faster.
> With unpatched cygwin1.dll there was a realy long delay, after pressing CTRL-C.
> Can you agree this too?
> 
> I'm very interested if this patch will be released or not.
> I'm interested in the opionion opinion of C. Vinschen and C Faylor.

Me too :)

The slowdown of the code was the result of a patch which was supposed
to fix a potential race condition.  Jojelino's patch looks nice, but
it might reintroduce a new race.  Handle with care.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


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