From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10298 invoked by alias); 8 May 2012 16:38:43 -0000 Received: (qmail 10045 invoked by uid 22791); 8 May 2012 16:38:39 -0000 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 Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 08 May 2012 16:38:25 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SRnQZ-00076K-9L for cygwin@cygwin.com; Tue, 08 May 2012 18:38:19 +0200 Received: from pd9eb389a.dip.t-dialin.net ([217.235.56.154]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 May 2012 18:38:19 +0200 Received: from Stromeko by pd9eb389a.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 May 2012 18:38:19 +0200 To: cygwin@cygwin.com From: Achim Gratz Subject: Re: bad performance when opening many files on Win7 Date: Tue, 08 May 2012 16:38:00 -0000 Message-ID: <87txzqfx1s.fsf@Rainer.invalid> References: <874ns6z0cr.fsf@Rainer.invalid> <4F9A0FFB.4080201@cygwin.com> <87y5ph4t4z.fsf@Rainer.invalid> <20120508135544.GY18516@calimero.vinschen.de> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-05/txt/msg00169.txt.bz2 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