X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=OqggRmnpG7jiL6J8
	5QL5nUji5WL3iJk0bz2M26BZ+Fhgl5MZsUn9CB5hRZpdx76oTLQcJ2eZn9O7UlQI
	zAlXtcEsr2QqVlhD0SpbfZvYXWlukBn48OBIHDUcLRRlrZTlrb/Lg4xtGECh2OVa
	gO46suX3UMxFcMUjKGp3rMH5dDw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=MzoHf8ps57gEHTwYraQ/1z
	cDUIQ=; b=NPONrRKufeTB4tgnqW5YnetWrOVWayOcdfri1OZJAS0ih1gMKgvrjd
	2LzeJ/d79xXM2R9AyAqfOcrv7zhLLmzs74ckijpBT5E+HfFqPOE7RXU9vbuhZPeM
	ZxxNuVL2iehWr4cozcpYvDdCvganB2lG21IHWdbOyROWpJfQ9fDhs=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-Spam-User: qpsmtpd, 2 recipients
X-HELO: smtpback.ht-systems.ru
Date: Tue, 4 Mar 2014 00:03:48 +0400
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <776993245.20140304000348@yandex.ru>
To: Corinna Vinschen <corinna-cygwin@cygwin.com>, cygwin@cygwin.com
Subject: Re: Testers needed:  New passwd/group handling in Cygwin
In-Reply-To: <20140303150746.GE2469@calimero.vinschen.de>
References: <loom.20140227T095414-414@post.gmane.org> <loom.20140227T100638-8@post.gmane.org> <20140227094951.GD2246@calimero.vinschen.de> <loom.20140227T134714-188@post.gmane.org> <20140227134632.GG2246@calimero.vinschen.de> <765945729.20140228031219@yandex.ru> <20140228120748.GN2246@calimero.vinschen.de> <1244251265.20140301020854@yandex.ru> <20140303092352.GB26619@calimero.vinschen.de> <231682974.20140303184701@yandex.ru> <20140303150746.GE2469@calimero.vinschen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Corinna Vinschen!

>> I'd need to test it in domain environment, but I don't have access to one with
>> Cygwin installed right now. Or, perhaps, I do?... let me check something.

> Sure.

I just thought of a derelict pair of virtualbox containers, that were set up
to simulate domain environment of my workplace. Glad they are still in a good
shape... for tests. Here are the results:

Round 1: Running `id' command 50 times:

CYGWIN_NT-5.1 station1 1.7.29s(0.271/5/3) 20140228 15:31:43 i686 Cygwin                           
db_cache: no                                                                                      
Timer 1  Elapsed: 0:01:48,36                                                                      
uid=1109576(domainuser) gid=1049089(Domain Users) groups=[some 200+ trash groups]

CYGWIN_NT-5.1 station1 1.7.29s(0.271/5/3) 20140228 15:31:43 i686 Cygwin                           
db_cache: yes                                                                                     
Timer 1  Elapsed: 0:00:36,64                                                                      
uid=1109576(domainuser) gid=1049089(Domain Users) groups=[some 200+ trash groups]

CYGWIN_NT-5.1 station1 1.7.29s(0.271/5/3) 20140228 15:31:43 i686 Cygwin
Default caching settings.                                                                         
Timer 1  Elapsed: 0:00:36,33                                                                      
uid=1109576(domainuser) gid=1049089(Domain Users) groups=[some 200+ trash groups]



Round 2: Running /bin/true same 50 times:

CYGWIN_NT-5.1 station1 1.7.29s(0.271/5/3) 20140228 15:31:43 i686 Cygwin
db_cache: no
Timer 1  Elapsed: 0:00:01,64
uid=1109576(domainuser) gid=1049089(Domain Users) groups=[some 200+ trash groups]

CYGWIN_NT-5.1 station1 1.7.29s(0.271/5/3) 20140228 15:31:43 i686 Cygwin
db_cache: yes
Timer 1  Elapsed: 0:00:01,58
uid=1109576(domainuser) gid=1049089(Domain Users) groups=[some 200+ trash groups]

CYGWIN_NT-5.1 station1 1.7.29s(0.271/5/3) 20140228 15:31:43 i686 Cygwin
db_cache: full
Timer 1  Elapsed: 0:00:35,91
uid=1109576(domainuser) gid=1049089(Domain Users) groups=[some 200+ trash groups]


I find it interesting, that running `id' with caching disabled takes about 2
times longer, than when any form of caching is enabled.
But overall, when caching is set to minimum, having more than 200
supplementary groups attached to your profile doesn't impose alot of trouble
on process startup times, as I can see.

The Cygwin installation in this test was a fresh one, augmented with stuff
from x86/cygwin-inst-20140228.tar.xz archive.


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 03.03.2014, <23:10>

Sorry for my terrible english...


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

