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=mLMmLA0AxAjrjDMY g78mixg9KCsgG6XIhbkLARoS9ZUoiyT4UybM5s4TbMmRvZmlGd3zMWL3AhcvgAY6 bAmDr0WIeJ5WdDrsByHWC4fRZwCORO0RCxS7beE2joQZBCBDZ4iBnklsUmTaXpRl VCYW4UdwZCkKsH6R9jDu6Wr3aVs= 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=OVNs2Il6nCevXVnwtJP9uD oVqmc=; b=OOUHraqxmZzWT0vJKYP8GM8rYu2nVxDCUbiQBF4F+mS1LNiHZ4X9tZ JX06+msPzCA7CPY7cNF2ge5kl92CKtdDOTCxAxnopjhIOGgiDyMKQohTZCasVlfY pycXENeI8M3mb+j+QR3UTHPCEWOz+UlrHOJ6b9zcj6g5IO3SbP9KY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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 13:17:52 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <779446108.20150213131752@yandex.ru> To: Corinna Vinschen , cygwin AT cygwin DOT com Subject: Re: Very slow Cygwin startup on Windows 7 In-Reply-To: <20150213085530.GM7818@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> <789353699 DOT 20150213033430 AT yandex DOT ru> <20150213085530 DOT GM7818 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Corinna Vinschen! > On Feb 13 03:34, Andrey Repin wrote: >> 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? >> >> I took a liberty to reorder and rewrite it a little. >> Please tell me, if I didn't lost anything in the process. > It reads nicely. The paragraph starting with "The 1.7.35 release is > expected..." needs a tweak as soon as 1.7.35 goes release, of course, > but otherwise it's really neat. > The problem is this: The source of the file is not in HTML but in XML, > see https://sourceware.org/viewvc/src/winsup/doc/faq-setup.xml?view=log > Any problem to rework for XML and sending as unified patch against the > latest version of the file from CVS? That was my next question :) I'll see what can be done. It may take bit of time. A day or two. I've got a workload to push away first. Sorry for inconvenience. -- WBR, Andrey Repin (anrdaemon AT yandex DOT ru) 13.02.2015, <13:16> 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