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

