delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/12/17:50:46

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=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 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=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 AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <541720303.20150213014507@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: <20150212200651.GG7818@calimero.vinschen.de>
References: <3FEEC3A37A0B0A48AA326075128C32EE4DC9F0E8 AT xmb-rcd-x01 DOT cisco DOT com> <87mw4nugdx DOT fsf AT Rainer DOT invalid> <3FEEC3A37A0B0A48AA326075128C32EE4DC9F137 AT xmb-rcd-x01 DOT cisco DOT com> <869208266 DOT 20150210030528 AT yandex DOT ru> <20150212085431 DOT GA10123 AT calimero DOT vinschen DOT de> <1735738792 DOT 20150212224527 AT yandex DOT ru> <20150212200651 DOT GG7818 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
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 AT yandex DOT 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

- Raw text -


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