X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 Reply-To: cygwin AT cygwin DOT com Message-ID: <776993245.20140304000348@yandex.ru> To: Corinna Vinschen , cygwin AT cygwin DOT com Subject: Re: Testers needed: New passwd/group handling in Cygwin In-Reply-To: <20140303150746.GE2469@calimero.vinschen.de> References: <20140227094951 DOT GD2246 AT calimero DOT vinschen DOT de> <20140227134632 DOT GG2246 AT calimero DOT vinschen DOT de> <765945729 DOT 20140228031219 AT yandex DOT ru> <20140228120748 DOT GN2246 AT calimero DOT vinschen DOT de> <1244251265 DOT 20140301020854 AT yandex DOT ru> <20140303092352 DOT GB26619 AT calimero DOT vinschen DOT de> <231682974 DOT 20140303184701 AT yandex DOT ru> <20140303150746 DOT GE2469 AT calimero DOT vinschen DOT 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 AT yandex DOT 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