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=BYD7Phc7oJR1Nvob9vuqp6MktblbQHgasF04Bf6diQhIyRR2XzRo8 dBvsWc42LETIgVTCZZLLx3bn/xSmsT4stDzDT24zRJfE61FlMhQRMhKA/iYvKUJt lzSTJtIdyiv0DJ90zTku3FeAQcE7tJJtXtwm37EkrT4wPVJeugwsH4= 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=6YzGiF5Cy+MwTtWJcnwqC4WZY/s=; b=HQM3/8bkaDMjCv/ndxwaD7k5Ls5b TrwIfk0RPScF5bKn1nI87GarcAdtoANSxLbGAY3+9h0RE3huHw6tH0QUxfznsc6u rPXLjrG44wTuQIYNJ5XlbGmD3MsfcW6rgEu/dm1yTGnJo+zF0kGVoPHL8yfoZ4h1 Ck3eF2ychQnjk3M= 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.7 required=5.0 tests=AWL,BAYES_00,HK_OBFDOM autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Date: Mon, 16 Feb 2015 10:31:46 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Very slow Cygwin startup on Windows 7 Message-ID: <20150216093146.GZ7225@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> <789353699 DOT 20150213033430 AT yandex DOT ru> <20150213085530 DOT GM7818 AT calimero DOT vinschen DOT de> <312773717 DOT 20150215213835 AT yandex DOT ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TVVcQco/7vcH19KK" Content-Disposition: inline In-Reply-To: <312773717.20150215213835@yandex.ru> User-Agent: Mutt/1.5.23 (2014-03-12) --TVVcQco/7vcH19KK Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 15 21:38, Andrey Repin wrote: > Greetings, Corinna Vinschen! >=20 > >> >> 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 o= f (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= , though. > >>=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 > >> I took a liberty to reorder and rewrite it a little. > >> Please tell me, if I didn't lost anything in the process. >=20 > > 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. >=20 > > 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=3Dl= og >=20 > > Any problem to rework for XML and sending as unified patch against the > > latest version of the file from CVS? >=20 > I was unable to find relevant CVS tree. The winsup/doc appears to contain= the > parts of /cygwin-ug-net/ but not the /faq/ part of the website. They do. It's just the sh***y web interface of cvsweb, which only shows up to 25 entries. If you look at https://sourceware.org/viewvc/src/winsup/doc/ you'll see a button "Go to:" and right of it a drop-down menu with the text "Page 1: .cvsignore to ...". Just change to the next page and press the "Go to:" button. Much easier (see https://cygwin.com/cvs.html): cvs -d :pserver:anoncvs AT cygwin DOT com:/cvs/src checkout winsup This checks out a directory called "src". Just cd into src/winsup/doc and all documentation is there. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --TVVcQco/7vcH19KK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU4bkCAAoJEPU2Bp2uRE+gn8IQAIANKYdx+C44mp2PUa8MK8bS Ee3gEGlnaJSpBkcMusLhwswdVih25NpVcyI24ARje9mRLP1g73Cer1DPa+OjgtbW oWb/x8GqgivKXa3+fTX64eVG7kBw9JGTKo9lAjgPKdTs4jVYpmwZoguyCHB/6S38 I9ycE3jqxM3bXeBnEf0nWq05Yt7t38dnZE5RAGZK5texTXxseLufV+qW/Flahxoi Xip4qn9NV3aKU2nsx77ZacLwADyl+2sjzsjJsTqCS61AbOZySph8P8H/Y/mZ//9G SVxDi+YC8grXShRf+Pb0l1rEJ6thLuUfdL2UR1ee3644NnfaINGYwUKWt/7e+78u m36bGasIiP8oaBYeFjw2uo0sH8c2hDS/vsrwekZNYwhLrSE2mtZfagN3+RdZR2tE 0AlcEHQXkkAt6iOSrXEAp8QdxgryQcF5zfBU8u71evKkVAuy6hBN5za/830x5AW7 3omh6STAGvGYgwqvEsgdEHM5ul8WS3woXiMXjs6C8LhnhpPnsOFcys7pofu942DZ 3pzBOBpAAnsDsoNfK2+HBqYSS+QMwKgE4jrwyJwM+yhjfb/cytxXjc2scDC7+3GP IITrbrCLgra0vj0foEWYqUtN51ZFoRC3fduxjAYZfFfdb7lt11iljsh6Ol6J9fx2 KZMLvNfprgHn5N5wo1Ib =N5Rd -----END PGP SIGNATURE----- --TVVcQco/7vcH19KK--