X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0	tests=AWL,BAYES_00,KHOP_THREADED,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Achim Gratz <Stromeko@NexGo.DE>
Subject: Re: bad performance when opening many files on Win7
Date: Tue, 8 May 2012 13:19:01 +0000 (UTC)
Lines: 36
Message-ID: <loom.20120508T150823-706@post.gmane.org>
References: <874ns6z0cr.fsf@Rainer.invalid> <4F9A0FFB.4080201@cygwin.com> <87y5ph4t4z.fsf@Rainer.invalid> <loom.20120427T103825-468@post.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Achim Gratz <Stromeko <at> NexGo.DE> writes:
> Fetching all groups from the DC gave me some 60000 entries in a 4MiB group
> file.  And if anything, things became even slower when using that file.  

I finally found some reproduceable case where the lsass.exe process will go
berserk.  It's all programs that scan all files in /usr/bin... there are 3800
and there seems to be no caching of any sort going on, so that always takes
about 20 seconds. :-(

I've scanned the ACL in that directory and these are the principals used:

BUILTIN\Administrators
BUILTIN\Administrators
BUILTIN\Users
BUILTIN\Users
AD\Domain Users
AD\Domain Users
NT AUTHORITY\SYSTEM
NT AUTHORITY\SYSTEM

I have these in /etc/passwd and/or /etc/group.  I'm probably missing out on:

Everyone
Everyone
NT AUTHORITY\Authenticated Users
NT AUTHORITY\Authenticated Users

How does one get suitable entries for /etc/group on these (I have
Authentificated Users:S-1-5-11:11: in /etc/group, but nothing that I could map
to "Everyone")?


Regards,
Achim.




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

