delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/26/16:48:34

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Achim Gratz <Stromeko AT nexgo DOT de>
Subject: bad performance when opening many files on Win7
Date: Thu, 26 Apr 2012 22:47:48 +0200
Lines: 29
Message-ID: <874ns6z0cr.fsf@Rainer.invalid>
Mime-Version: 1.0
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)
X-IsSubscribed: yes
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

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.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds


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