delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/08/12:39:01

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,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: Re: bad performance when opening many files on Win7
Date: Tue, 08 May 2012 18:38:07 +0200
Lines: 42
Message-ID: <87txzqfx1s.fsf@Rainer.invalid>
References: <874ns6z0cr DOT fsf AT Rainer DOT invalid> <4F9A0FFB DOT 4080201 AT cygwin DOT com> <87y5ph4t4z DOT fsf AT Rainer DOT invalid> <loom DOT 20120427T103825-468 AT post DOT gmane DOT org> <loom DOT 20120508T150823-706 AT post DOT gmane DOT org> <20120508135544 DOT GY18516 AT calimero DOT vinschen DOT de>
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

Corinna Vinschen writes:
> How did you do that?  The ACLs in the Cygwin default dirs are supposed
> to contain only three ACEs, one for the installing user, one for the
> local admin group, and one for everyone.  At least that's how setup.exe
> installs them.

These are inherited from the settings in C:\, AFAIK (the list is
extracted from the output of icacls for each file in /usr/bin).  I have
another test installation that may differ in minor details since it
hasn't been in use for many years, but in principle the output of icacls
looks the same for both.  I can remove the test installation and install
it completely fresh if there's hope to get this problem resolved.

> Btw., my machine and my account are domain members as well.  Obviously
> all entries in /usr/bin have an Everyone ACE.  My ls -l takes only about
> 1.2 secs with > 2200 entries in /usr/bin.

Running ls is considerably faster on my machine as well (but probably
not under 3 seconds, that machine has a slow disk and that it is almost
full doesn't really help, even with regular defragmentation).  One
application that shows the behviour I'm talking(*) about is pod2html,
and it finishes in almost no time when I simply remove "bin" from the
podpath argument.  If it makes a difference, I am running this as
administrator under Win7 Pro/32 (but presumably the same or a very
similar problem happens when a colleague of mine runs some scripts on
his machine as "normal" user).  The whole hierarchy that Cygwin is
installed into is excluded from being real-time-checked by the virus
scanner and that seems to be working as it gets another 2-3 times slower
if I remove that exclusion.

(*) lsass.exe consumes one of the two cores completely, there is
absolutely no network activity and not much disk activity except at the
very beginning (which I assume is where the stat is collected).


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

DIY Stuff:
http://Synth.Stromeko.net/DIY.html


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