This is the mail archive of the
mailing list for the Cygwin project.
Re: Very slow Cygwin startup on Windows 7
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Corinna Vinschen <cygwin at cygwin dot com>, cygwin at cygwin dot com
- Date: Fri, 20 Feb 2015 20:50:44 +0300
- Subject: Re: Very slow Cygwin startup on Windows 7
- Authentication-results: sourceware.org; auth=none
- References: <87mw4nugdx dot fsf at Rainer dot invalid> <3FEEC3A37A0B0A48AA326075128C32EE4DC9F137 at xmb-rcd-x01 dot cisco dot com> <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>
- Reply-to: cygwin at cygwin dot com
Greetings, Corinna Vinschen!
> 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.
> 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.
> 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.
If this startup timer does not affect subsequent calls to the same facilities,
and only in effect during initial startup, it can be anything. 300 or 500ms,
not really relevant. I see how you can be a member of 200 groups, and I really
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.
> I uploaded new developer snapshots containing this change to
> Please give them a try.
I should, like, REALLY get myself together to migrate to samba4 already >.<
Andrey Repin (firstname.lastname@example.org) 20.02.2015, <20:43>
Sorry for my terrible english...
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple