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=GhDp1y3HYzYodWHA5mVYn8nLaNL/siRXsMuoURrlfysLb/TVOIfJY JsSvVwqLnQyI5CrXSEFS4XP6dkgQqAocfLaGbFhlF9wNPleeVzvszuJ3zA51LIWv co5qmkXUZ8nNj5IXqLxMvpxf25UNjcKXKDKeMNXh+XqR1IHG3PJQLM= 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=Y250sHWXH0l0E5WKsP6Cvyj6zB0=; b=MOSU/CIkuOmWN75lsKutOja018fx gV6jPszg7MXTgVcxqkzqBRJJNlCyQ8yYIcys6VYdWad76lgluCs7qLbZ68VnKrCp 9ji6oYl87hFLS4N0Zj/dPPRUOWRqdcnFGZR95PYbZvARMgMBH2kgUZepmHBKsj7y Xj8f1iVBVnKPsJE= 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: Fri, 13 Feb 2015 09:55:30 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Very slow Cygwin startup on Windows 7 Message-ID: <20150213085530.GM7818@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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3jK+0sHr6j/jwA0V" Content-Disposition: inline In-Reply-To: <789353699.20150213033430@yandex.ru> User-Agent: Mutt/1.5.23 (2014-03-12) --3jK+0sHr6j/jwA0V Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 13 03:34, 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 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 > 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=3Dlog Any problem to rework for XML and sending as unified patch against the latest version of the file from CVS? Thanks a lot, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --3jK+0sHr6j/jwA0V Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU3bwCAAoJEPU2Bp2uRE+geNUP/3LbzFAOF0C42YLbQJ7OvQ7b jYLd5gVPps6RQ5tRMQcyJyXJuw2wfoK7x+Qvk/SRUJwewtpAuwzhAPPHw4jHV01j ivMpLAVLJUtex8vKuqk/tAz+ZXhnQBl9AKypvq4/Vih0luCSBuV6VvAOoClLWIEm jwtt65iYgn49gA8cln3xapRfLLzXJSpnghYObsi2M23N3j1pUBxIdpLC8irsGPGS S1qhBNNGKV2camq/cSD8SolCa0siwzJM0uX+J2/dUQrxSqSWUFkRe9OFU9eLTn5N HOv4FkLEfp5xZaLdMymK0NFWRbwFXXi/AKJro/+0N0InT0k7XvIG202wHUsNdYU+ ndCfCsm74m2dBItLhg1orq5mD65fpAT9J38dg4c8xcs7U4O/CDm83WizBKgmpd3p M5yfHq7KHY8qVbTmiKyDBvwn/O74SprxSFqhe6Gi5S6HjuO6VWELOQSLgwTrUNm0 U2gJOernzAEYD5vQ/LcwP+OBfsv4RzAV5Ozfgk8pdu0GeY1UoaZPtNoBSKaahpAd ROU0gj/FvTPVjCVkRmIDwdwz+2qkyUeQDovyN9vaYrdaPSm+Dhdg0w/YDV2i0VUP nE59YJYnA11kUpS/hPe8dJ6AIXLKFktCTLuDxZefCsT3NLw0v6bFD5GdFWGWmY8E DqIngqIVakKoCzVFP2gl =nrda -----END PGP SIGNATURE----- --3jK+0sHr6j/jwA0V--