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=XNkfAgQfymEJTmIikNIg/XrPO1BoazM7b5339Wagbh9os3sMjXC+3
	ApKzvEpXC2404wA8Ki+I1vJI5myg4yWGrcsx2Ji5b1QpPFeiLmmsC78RJqP229X3
	g5Xo9lTgAVNrY6cx2E5NAEFCwEOYewivqlI8YJhyUNrUk87I2WCPzs=
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=x6hcWjIZDJo6Hm+R+j3tvdoJesA=; b=rsT2DzZ+Ni/hemqzp9T6jdCHI9Z8
	4eQmOHT4Pa/u52DvGxLDRt6NhCxw/DF4PrPhBaD8WhKN/cSV3NKDbgoqpPFVgZOj
	vsfdQs7KYHZJCfLZI6BfHGxNaD65pcrEO8qqVIAmLOuQvlXEWpB5Wzgpv8iMa92d
	69U6Mcs/i3pnYD8=
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, 20 Feb 2015 21:20:11 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Very slow Cygwin startup on Windows 7
Message-ID: <20150220202011.GA31682@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <869208266.20150210030528@yandex.ru> <3FEEC3A37A0B0A48AA326075128C32EE4EE263B8@xmb-rcd-x01.cisco.com> <20150218111515.GL8493@calimero.vinschen.de> <3FEEC3A37A0B0A48AA326075128C32EE4EE26DE4@xmb-rcd-x01.cisco.com> <20150218125429.GN8493@calimero.vinschen.de> <3FEEC3A37A0B0A48AA326075128C32EE4EE275A7@xmb-rcd-x01.cisco.com> <20150219103235.GD26084@calimero.vinschen.de> <3FEEC3A37A0B0A48AA326075128C32EE4EE27AEC@xmb-rcd-x01.cisco.com> <20150220162024.GZ26084@calimero.vinschen.de> <737114862.20150220205044@yandex.ru>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0"
Content-Disposition: inline
In-Reply-To: <737114862.20150220205044@yandex.ru>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Feb 20 20:50, Andrey Repin wrote:
> Greetings, Corinna Vinschen!
>=20
> > So what I did now for testing is to add a timer.  If cygserver is not
> > running, the startup procedure still fetches the group info from the
> > user's token... but if it couldn't finish the job within 300ms, it
> > just stops collecting this information and moves on.
>=20
> > That should have a "mixed" effect in slow scenarios.  The startup will
> > not take longer than about 300ms, so it's comparatively fast from a
> > human perspective, but it will not entirely give up on collecting group
> > information so subsequent calls fetching group info will be faster.
>=20
> > The value itself, 300ms, is disputable, of course.  I just chose it from
> > my gut feeling.  If this method is a usable compromise, maybe 400 or
> > 500ms is good enough, I don't know.
>=20
> If this startup timer does not affect subsequent calls to the same facili=
ties,
> and only in effect during initial startup, it can be anything. 300 or 500=
ms,
> not really relevant. I see how you can be a member of 200 groups, and I r=
eally
> don't see it as bad thing, other than certain administrative tasks may be
> slow, but in more common scenario we can expect lower number of groups and
> faster response times in general.
>=20
> > I uploaded new developer snapshots containing this change to
>=20
> >   https://cygwin.com/snapshots/
>=20
> > Please give them a try.
>=20
> I should, like, REALLY get myself together to migrate to samba4 already >=
.<

Or install a Windows 2012R2 DC using the evaluation version:

https://msdn.microsoft.com/en-us/evalcenter/dn205302.aspx


Corinna

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

--6TrnltStXW4iwmi0
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJU55b7AAoJEPU2Bp2uRE+gCDMP/3bia7k/u7sU7E5en7MwPA3F
jgL0tkATtgSBkkvr7L7I0/Op4+gEdCr95S+u8ShRA+N8CN3u+9powIb5c+3gefzo
6fctemDA8XhvqqxFCMuD3zrQrSP9BiDnpLpdntIfj611C9ZALwAAOZ1VZbWTfhP8
TyWBDH3gg6G+iks+GSK+8HmNWIJBqmTVHDQyCng+dYNIZcV3emky8Q7pOT+2sLQM
bF3hEiyX8Zas4B94ACDIZnwjbdjGBgdW8Xvtkqz69scnii3ZR1aZ0XLCaCztzgLn
oqsagqmNA2JYic/Di4Aq1Bf5HJURoDhNgtCp15/Fc3HRiobVCWsThksjx8Um0AQK
7ys6gT/UpFfRsgIDb2NEtXubW9VXdMG+uJr3G+i46wMnlws6Gv19HimfZTmzzQwJ
FCdbuaiOVih2NzG46qOOpwNMr1Tt1lvQee60lLjYXASwbXm8SgHZhVc0aJRzpu3g
Q/HrgCiTKyizrd6dZ4Up5GoKkgeq1SUOyAlSQuCKCDLb7oNN26lXMiBtn/Lk2+ho
aSLQIUjF6BtmQvJyrNThLQB+lN1tDzpWSMms0St96WjJ73uGnwzLXNaW3LwFcYc8
Y25skilVqKsAKh/DKE+DIJ9mTYK2Wn9derSsjjAPTiqabeb8ZPGfs6qUvXArM1ui
Hw1jsL+Xcz3GoO4NjAf4
=BOxo
-----END PGP SIGNATURE-----

--6TrnltStXW4iwmi0--
