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 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: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 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