delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/26/23:19:13

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.8 required=5.0 tests=AWL,BAYES_00,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,TO_NO_BRKTS_PCNT
X-Spam-Check-By: sourceware.org
Message-id: <4F9A0FFB.4080201@cygwin.com>
Date: Thu, 26 Apr 2012 23:18:19 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: bad performance when opening many files on Win7
References: <874ns6z0cr DOT fsf AT Rainer DOT invalid>
In-reply-to: <874ns6z0cr.fsf@Rainer.invalid>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 4/26/2012 4:47 PM, Achim Gratz wrote:
>
> I've seen major performance regressions on Win7 compared to an pre-1.7
> Cygwin version on Win2000.  I had initially suspected the virus scanner
> and disabling the real-time scan for the whole Cygwin folder did improve
> things appreciably.  However the real performance hit when an
> application opens or even just stats many files in succession (like Perl
> is prone to at startup when it scans @INC) is still there.
>
> Superficially it looks like you get 100% load on one CPU and the
> application is busy, but perfmon tells you that the application sits on
> its thumbs and the CPU is eaten by lsass.exe (which doesn't have any
> file open or any network connection).  Eventually the application starts
> doing what it is supposed to do, but lsass continues to eat CPU for a
> few minutes.  I'm not even sure there's if it only happens for Cygwin
> applications, but for those I can reliably reproduce it.  When I time
> the application in Cygwin, I get something like less than a second user
> time and over two minutes core time.
>
> If someone has seen something like that and maybe there is some setup
> that I can tweak to avoid this it would be great to know.

Here's some background.

<http://www.suacommunity.com/forum/tm.aspx?m=1697&mpage=1>

Anything there describe your setup?


-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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