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:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=gaUaD4bKO/XQyT16
	/dFIuapJ67N9YvZbGC2kgp7bsa9d+z4ItMxywjI2kafOznfMTG12P0xlutlpOeWr
	zwBuX0AstlEZcJ1VEXxt/JinQToaXHKEFos4HJ5dL77EvtscZmNQZrNN7Ve9t+3l
	SZ14PFglaWuQtjIT030EJs108Bc=
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=VnAVM2TamDwr9Rc8fDz0jk
	pfqQU=; b=pHPeSqbDE5URhk2wyTf3AJgbNnOyp+d8eXsMi644PzWWaik8vztFya
	afcERli0EGV8mlvf8ZX/rTSEN7kECSlX++e5SsWh0s5QQ2HtseU//g0EVigxyma7
	VFRMp1Kc4PkWxKyMAvi8QfFrvBIwixb60jqAfwCuEFPeB1YsMA5iw=
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=1.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Fri, 13 Feb 2015 01:45:07 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <541720303.20150213014507@yandex.ru>
To: Corinna Vinschen <cygwin@cygwin.com>, cygwin@cygwin.com
Subject: Re: Very slow Cygwin startup on Windows 7
In-Reply-To: <20150212200651.GG7818@calimero.vinschen.de>
References: <3FEEC3A37A0B0A48AA326075128C32EE4DC9F0E8@xmb-rcd-x01.cisco.com>   <87mw4nugdx.fsf@Rainer.invalid>  <3FEEC3A37A0B0A48AA326075128C32EE4DC9F137@xmb-rcd-x01.cisco.com>  <869208266.20150210030528@yandex.ru>  <20150212085431.GA10123@calimero.vinschen.de>  <1735738792.20150212224527@yandex.ru>  <20150212200651.GG7818@calimero.vinschen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Corinna Vinschen!

>> >> [...]
>> >> If you are accepting suggestions, and up for some experimentation, try this:
>> >> 
>> >> # getent passwd $(id -u) > /etc/passwd
>> >> # getent group $(id -G) > /etc/group
>> >> # echo -e "#\npasswd: files db\ngroup: files db\n" > /etc/nsswitch.conf
>> >> 
>> >> and start bash without cygserver running. Just for test.
>> >> The idea is to have "your" groups in files so that in simple case of (just
>> >> startup" Cygwin don't have to talk to DC all too much. If at all.
>> >> 
>> >> You'd still need to run cygserver to benefit from long-time caching, though.
>> 
>> > Do you feel up to the task to extend the FAQ entry
>> 
>> > https://cygwin.com/faq/faq.html#faq.using.startup-slow
>> 
>> > with a description of your solution?
>> 
>> Sure, if that was really a solution. I'd prefer to hear from Dennis first.

> Thanks.

> There's also the patch in Cygwin which *might* help to fix this issue in
> a default configuration without having to tweak /etc/nsswitch.conf.
> That would be the preferred solution, I guess.  Just creating a test
> release for that...

I've seen that part of conversation, and I'm considering it in my writeup.
Already got an off-list confirmation from someone else, by the way.


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 13.02.2015, <01: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

