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=dXg1dvqdJDWDnx31vVDQm/Qdbmx9fQonB3JlRE/XHzxXJ59kmH/d4 OSl6h/JTLVrMbRiKOyT4ucezajMh4MMYvDzGMWImBVFuf2R+2jS2x6vV2Chs1zJX XnHIy7CukHb+jmChoL5bNK8vj7+uziRQNOPbDi5ISK96oWew0SxxKo= 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=dxmE1okVnRfoBxIPOFsHwgstI2k=; b=iJqaMWmKFmLLaTrHCZtCv3Pz1Sqv +Zp//ILKmsNU69k7M/vUzOPySwxkxtwBx4ltrunjCyJYFZSVCDnu3g0KtQPTHBm1 PisoPg7YB23/svY2B4Vl5vBSq/jzgICwkzWcDMFZn3Uk4WXnthYKd5x2rcv4OPIC R6l/T2GFJyjttCo= 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=-4.6 required=5.0 tests=AWL,BAYES_50 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Wed, 25 Feb 2015 21:50:30 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: slow startup after upgrade Message-ID: <20150225205030.GD9628@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <3EA1D0B4CA4540DEB0782E6C1D038E3A AT Tamar> <20150224211358 DOT GO437 AT calimero DOT vinschen DOT de> <13639-1424819039-568511 AT sneakemail DOT com> <20150225085650 DOT GV437 AT calimero DOT vinschen DOT de> <23247-1424888128-167679 AT sneakemail DOT com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M38YqGLZlgb6RLPS" Content-Disposition: inline In-Reply-To: <23247-1424888128-167679@sneakemail.com> User-Agent: Mutt/1.5.23 (2014-03-12) --M38YqGLZlgb6RLPS Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 25 11:15, John Hein wrote: > Corinna Vinschen wrote at 09:56 +0100 on Feb 25, 2015: > > Really? This is the first time I see your email address on this ML, a= nd > > there's no name connected to it, so I don't even know if you're usually > > writing under another email address. At least a forename would be nic= e... >=20 > Bah... sorry, you should get the name in this response. Uh, it's you! :) > > > Running the 20150224 (and *23) snapshot produces the following on Win > > > XP (yes, I know) if cygserver is running: > > > > Sidenote: I'm contemplating to stop supporting XP end of this year. >=20 > I'm thinking it's either related to XP or _something_ with the > particular XP box I'm using (when logged in on the domain, I can't > disable many group policy things or temporarily inhibit AV, so it's > harder to find/eliminate something to pin blame on - certainly may not > be something the latest cygwin is doing when running on XP in a > "large" AD domain). >=20 > I went to a win 7 box and the 2/24 snap makes mkpasswd -d run in 33 > seconds and enumerates all 8016 entries. 37 seconds with the 2/25 > snap. The timing should be roughly the same, but fluctuations in the low percentage range are normal. > And win 7 doesn't get the 'wrong arg.type' error with the same 2/24 > cygwin1.dll for whatever reason. Interesting. I could reproduce this and it was very certainly a bug in the code, fixed in -25 snapshot and 1.7.35-0.4. > > Works very quickly for me. Problem is, I don't know anything about > > your environment. Are you working remote or in an office? How many > > groups are in your user token? What is the result of this funny > > little statement Dennis created: > > > > cmd /v:on /c "echo !TIME! & C:\cygwin64\bin\mintty.exe /bin/echo "te= st" & echo !TIME!" >=20 > On win7: that command takes .17, .44, .48, .53 sec between 1st & 2nd time= stamp >=20 > That had 'db' only for passwd/group in nsswitch.conf, no cygwin procs > running including cygserver. Sounds good to me. > On problematic winxp box: > [passwd, group, db_shell: 'files db', 'files db' & /bin/dash] > 16.83, 17.03, 24.80, 28.79, 27.99, 27.39 sec >=20 > [passwd, group, db_shell: db, db & /bin/dash] > 23.51, 27.91, 28.78 sec Doesn't sound good at all. Terrible in fact. That a 32 or 64 bit XP? I didn't fire up my XP test machines for ages and I'm not overly enjoying it, but I guess I have to. Oh well, hang on... [...time passes...] [...starting up...] [...XP...] [...32 bit...] [...updating...] [...testing...] Hmm, no. In my case there's no visible delay starting mintty, and tcsh is my login shell, too. mkpasswd and mkgroup are running comparably fast as on my W8.1 64 bit machine I'm using for testing in the first place. Something strange is going on on your XP machine, it seems. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --M38YqGLZlgb6RLPS Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU7jWWAAoJEPU2Bp2uRE+g+LIP/3JJNdF3I6I1Pc7TlaxND95v ErDoJn3R60+wsBQXowyWSBmrFCvnVhuNyRNlpVyN+5US4jMS/4K8xTZWsvcN3h2p 2+AbhxSaoQ2cEVMturCJv5iVb4yrlxkekhPelGl4kdK76oG2VZ6oYrQ65uC4uwC/ TRK6BiZvW+7Ggd6Ql12BqIE+Xj4eh2jRU3wYTkpZU0p/Zn4uIFFuohmTA1OI+VOF 22vr3leHTFy7HGAgqm8MEVIqk3XCya8oR3QJOz0m9Ve+VxMnfxHz8UOj8IvN9yaz 7mhnXF2qCcFmQj85BJtsZbbKME/JatX9OXCKiM98bfrSTYG2pyXhsPTUlGv4L+5e rRBzZVpAPt6HgcNcBSoiwoPQ/bYFNCr+vYakHuH34GOyJubKsS+tlfu9oG/aAPr5 iZCZ9EhyztkNCfOjM6lh1qxrNAbpGn3A2/efl98fBXIlfX7Fs0jLMZvKbPVYk4+P ElY6BY/QSpHpryASkuPcfEQbuqSadSvxr1BN1q+AQ5ud/4cnCN6B1ZoIpZx56EUC bTvUmeX1yL2Qp36omaxs2X/MDQn6cQe+W2KukQ0Pd4qLhxFJnS3N+74ga9HgIcPx pg5KvX3mi3GcNRg3VrVM7J1wlcLijmFW3ctp9w2jNYRMGJGXf7lNJ3VsOeIQB5SL /ykKDRunFndbE8dAANDn =e/mQ -----END PGP SIGNATURE----- --M38YqGLZlgb6RLPS--