This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Testers needed: New passwd/group handling in Cygwin
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Corinna Vinschen <corinna-cygwin at cygwin dot com>, cygwin at cygwin dot com
- Date: Tue, 4 Mar 2014 00:03:48 +0400
- Subject: Re: Testers needed: New passwd/group handling in Cygwin
- Authentication-results: sourceware.org; auth=none
- References: <loom dot 20140227T095414-414 at post dot gmane dot org> <loom dot 20140227T100638-8 at post dot gmane dot org> <20140227094951 dot GD2246 at calimero dot vinschen dot de> <loom dot 20140227T134714-188 at post dot gmane dot org> <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>
- Reply-to: cygwin at cygwin dot com
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