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:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=mfwK+d/L0j6DDw2arHZ4yhhuIKO2w/R+w/KBCkeQssfAmnRxBg1Bb
	4ma/75ftXYDyljio4q7Q97GQwjIPam/zsb34NdVoQCvaoSauI43ZBgguNvVy0Pjk
	P6agL0kl4DjcJ56XxaaoXU2pwU4nf1W6Xv4qTGF+JpuK9DPEhDEFy4=
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:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=KJYPJBCOBt9CPOQQc94fvBEkpvk=; b=HmNBZ8DntYhQ8sqHeFxKKMsRot+H
	c9gJrj2CkRtuSAT9qikp5n5KKz+KsJntWPPzJMA/dTrVtRBjwfhPBCRCbfnf9W5C
	H+wx8UNF/dgj67YCdDgD8yahIF+wxQlOIJAJwAsX/FWYZ8xIhNbkoAMjwMPqIODx
	x1EFwzBvj3vMkZs=
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Fri, 28 Feb 2014 21:10:47 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Testers needed:  New passwd/group handling in Cygwin
Message-ID: <20140228201047.GC2381@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20140226100209.GR2246@calimero.vinschen.de> <20140226135222.GW2246@calimero.vinschen.de> <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> <87y50vc910.fsf@Rainer.invalid>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="t0UkRYy7tHLRMCai"
Content-Disposition: inline
In-Reply-To: <87y50vc910.fsf@Rainer.invalid>
User-Agent: Mutt/1.5.21 (2010-09-15)

--t0UkRYy7tHLRMCai
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb 28 20:49, Achim Gratz wrote:
> Corinna Vinschen writes:
> > It allows you to do the following in /etc/nsswitch.conf:
> >
> >   db_cache: no
>=20
> Using the 15:31 snapshot DLL again via VPN, id dumps core after about
> 2:30 minutes.

How?  Details?  Stackdump?  It works for me(TM).  The timing only shows
that it's not the right thing for you, or that in the long run the
non-caching option should just go away.  For the time being, though, I
need *details*.

> >     No caching of passwd and group data at all
> >
> >   db_cache: yes
>=20
> Startup of a shell in mintty takes about 20 seconds, each id around 10...=
13s.
>=20
> >       Caching of passwd and group data, no initial caching of the user's
> >       supplementary groups from the user token.
> >
> >   db_cache: full
>=20
> Startup in around 10seconds, each id takes a third of a second.

Hang on.  Are you telling me this snapshot takes longer than the
snapshot from yesterday?  And you're telling me that normal caching, as
was the default all the time, is slower in startup than with the
additional caching of groups at startup?  Is your startup procedure
calling `id' twice by any chance?

The problem with your numbers is that I have nothing really to compare
it with.  It would be helpful to know what you're doing, the essential
parts of your startup for instance.

Please, please, please, if something doesn't work as expected, please
add meat to your reports.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--t0UkRYy7tHLRMCai
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIbBAEBAgAGBQJTEO1HAAoJEPU2Bp2uRE+g04cP+OueUeFMNgpYtlCjYobpAWnK
GmLPz8lchFjgPvwlInWcWJUE91aEoV3JQPL/m/XG9d+GE8XpfpfPkq5Tjwf4q73o
lu80e3pF/ecB/46e499g/RdzBTVdYZUQbvcScIlQU4CXlP1gM9lP3vpIZ0GWX907
mr7g26ylDFCDaXEOHGt5nVFAmzGRayVDgzoAgR4oGTMpz0QQmNtKioskJRg4wO9y
cyf9dZ2zwUrAJ3lHl4i8DXz/XgDxdO7aogVeP10tNclqlVrEmN0fihoJ2TL0Zzma
p54fYplTqKMfO5jnQkgVB0oNG805ZHx9nhlJA0Ur6KMSUn3sAkz81Am/ytdkOpyT
DhDSmwALVNLwuaqw75YC6bo5PkLR0oedW4A13jjqG1N3BNGS9mi8DfHmLuMSAjEg
NkL556/XQo02keuO9eg1Ree/5SskHE0ffckCBu8Gbo8i5fIlT0Dk0oXfLucqTKHS
pE5r3sPE5Rxe6tOJgilXVwB9fJ3rTCn9CMNKjpDeZOMMP+tSMzY7dQVcrTY+dwRn
bZimgqS4LS5EA2FMRZ2I5f7ChhdCUfx8AYgueDISWsiCchnONX3lMtmfPbL/Uens
7Qt0eFo1d6s5Npkeb2BnxO3fsgrWa3Y20JIVmd5WjWDYKLv3EHMPB7P2hwgYqRn7
VKIIQk2A/Wc0kULlYYM=
=rjkd
-----END PGP SIGNATURE-----

--t0UkRYy7tHLRMCai--
