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:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=eZTW/CIikHg3kxNRIO2hFiUsXvNdJbGN9MVy/RyZjotjNTpWzF+tZ 3eTnPszFpTrM/Vo5VRUKQ8q/TV5/UIDrwmRKqkAvkKDUnpW1P1doKc1dgufOnefx 62/+8dsQM0kPDASNPfaKeOXwx1NP/jdU+EnlUkFckPtzAf5f6kg3XA= 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:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=hl7L1/2l+aujl+O9eHLWcJXUnfU=; b=mEcOb/gQhRJsvI93y4fD3sEOgAGQ jkx+bMGBG4d5IQsuSyaCE7aFVmEDQFOdf3Uc0VK+sPuBA746suUzi0WW8CGZQr5O vPJjLpcTzj+0U9rvCbmmYBOZzZG7hoYvxGitISvBqImWzI73x1Q2JkncnV4+xr+a d5/+1u88PKmFfDo= 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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Thu, 12 Feb 2015 21:06:51 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Very slow Cygwin startup on Windows 7 Message-ID: <20150212200651.GG7818@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com 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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CRjAHycgiaTQGSqU" Content-Disposition: inline In-Reply-To: <1735738792.20150212224527@yandex.ru> User-Agent: Mutt/1.5.23 (2014-03-12) --CRjAHycgiaTQGSqU Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 12 22:45, Andrey Repin wrote: > Greetings, Corinna Vinschen! >=20 > > Hi Andrey, >=20 > > On Feb 10 03:05, Andrey Repin wrote: > >> [...] > >> If you are accepting suggestions, and up for some experimentation, try= this: > >>=20 > >> # getent passwd $(id -u) > /etc/passwd > >> # getent group $(id -G) > /etc/group > >> # echo -e "#\npasswd: files db\ngroup: files db\n" > /etc/nsswitch.conf > >>=20 > >> 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. > >>=20 > >> You'd still need to run cygserver to benefit from long-time caching, t= hough. >=20 > > Do you feel up to the task to extend the FAQ entry >=20 > > https://cygwin.com/faq/faq.html#faq.using.startup-slow >=20 > > with a description of your solution? >=20 > 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... Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --CRjAHycgiaTQGSqU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU3QfbAAoJEPU2Bp2uRE+gAJ0P/2W2l6hQ5R+zFo+o9n84oXIH s1qVDBtY0IG2u+kksqGEeol2k2bvc3SMNpvyZHzu6RjMHMS98mzV3vkfIN0C+UqQ t3afk/gjFKOcnWDkiuqjd0BOI48q2SO7YR0nl3Az7v3CkyRo1D5Hl7Y42o285F7v 191Pq6f129S7s6H36pJW/BHUXggUaIuCsQbGtz3L24azh/yeGaGs45qQy4lSikJD GQm+IrWdl9DF3clQSLBPo8MChqd4t6DMCfcG0O8dgZvofaob4+D/LfILxosfhifD Du2NQjdsuU69PmKIzODLrwubI9APrITFP7ZWUd//UkXpWLypLsZGhidPiePobAF6 SSdJjNk3rtOz1Bfb1p3NrhyGOc0iMSUCY0zbChc4PHDj0gkiuXPeIihul6TS/vGD OvAdNQWAd+/Z+ZX5W2IYOtDOw0S7yGWOv13fhHlXiAl//8tCFwhZ3Z8mG0xoMb06 AG/Jf2VMKmWgVVYGKQO8xou8kkUBUWAWyIw4ExzIo7a850vAVgC6LT+I9vNn1pY2 7ra+w9Q5ROHn2Ao4r6ZRtBAdY7wYp4dYmn1y/Cv2clysGOPLgL0rHNheyG4GQwt/ dW+BFaO6gueR2Zilvi/k4tF6dfEGzQR28T69SaAyyYBUhTHZo2oXK+nuSjiJ4ySJ oWTdrskTUbgEHZtprlyz =dhbL -----END PGP SIGNATURE----- --CRjAHycgiaTQGSqU--