delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/20/15:20:39

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: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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-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 AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Very slow Cygwin startup on Windows 7
Message-ID: <20150220202011.GA31682@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <869208266 DOT 20150210030528 AT yandex DOT ru> <3FEEC3A37A0B0A48AA326075128C32EE4EE263B8 AT xmb-rcd-x01 DOT cisco DOT com> <20150218111515 DOT GL8493 AT calimero DOT vinschen DOT de> <3FEEC3A37A0B0A48AA326075128C32EE4EE26DE4 AT xmb-rcd-x01 DOT cisco DOT com> <20150218125429 DOT GN8493 AT calimero DOT vinschen DOT de> <3FEEC3A37A0B0A48AA326075128C32EE4EE275A7 AT xmb-rcd-x01 DOT cisco DOT com> <20150219103235 DOT GD26084 AT calimero DOT vinschen DOT de> <3FEEC3A37A0B0A48AA326075128C32EE4EE27AEC AT xmb-rcd-x01 DOT cisco DOT com> <20150220162024 DOT GZ26084 AT calimero DOT vinschen DOT de> <737114862 DOT 20150220205044 AT yandex DOT ru>
MIME-Version: 1.0
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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019