delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/20/13:06:03

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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=HbUcCHHzy5wxCgmI
8qvYlsYfDJEm3F/Qn/ui0/9z+gDKGC40CwMppbYlK2lrV3XlCJZ6y3KoRCN1w4He
Gi80+K8TyySE/gsmx2+Wix4klgMz9Bsn0YaH7akG5VrYZlgVgKzWDv8kLuQ3Hqtk
HA3+6MrI3bDpqoeXJdM7WSnso6I=
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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=ZC5ZGx0s98dRvVMKXEERTw
cXQS4=; b=bjNUI+qYF2qaam82M2ANP6vG+Hs2SCKkk7k0qJl74IF8vy8/HBGpxj
5U1qrooHm1OXL13X+deT95jGkEatJv2BD/2XBK7N+IWqoFLG+XnPqlLdGZathict
3216iNMMtYD0JYBiVZf580xs0NxjssYPCnpdM57ZNCIovs90Yc8E8=
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=3.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,RCVD_IN_JMF_BL,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Fri, 20 Feb 2015 20:50:44 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <737114862.20150220205044@yandex.ru>
To: Corinna Vinschen <cygwin AT cygwin DOT com>, cygwin AT cygwin DOT com
Subject: Re: Very slow Cygwin startup on Windows 7
In-Reply-To: <20150220162024.GZ26084@calimero.vinschen.de>
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>
MIME-Version: 1.0
X-IsSubscribed: yes

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

>   https://cygwin.com/snapshots/

> Please give them a try.

I should, like, REALLY get myself together to migrate to samba4 already >.<


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 20.02.2015, <20:43>

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

- Raw text -


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