delorie.com/archives/browse.cgi | search |
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:from:to:subject:date:message-id:references | |
:in-reply-to:content-type:content-transfer-encoding | |
:mime-version; q=dns; s=default; b=vqpXf/d49kknHrKHyqf7hWcJFvoWE | |
qfZfkYcYCvik6tAWDebZNXsx2ViYST9eUz/8XBR4dYi6tWVVytaE9ilAf2DXwpkJ | |
ysKx5uuMXNuUQsKNXyZ5u3IPJ7nY8iQJ3KYHOVNdUuR5T0tojIcwLQ4wpmDRPbyi | |
iQN8XuSQxi2haM= | |
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:from:to:subject:date:message-id:references | |
:in-reply-to:content-type:content-transfer-encoding | |
:mime-version; s=default; bh=/Dy0IOv4e5Uw0ClUpqa+t32ictc=; b=rtO | |
LjlTBelUG6JVR6t3ItcUUHJozmgYc/r6pq4BNF0+gQMQ7jKQ6zYiHoY5KIfCprDv | |
sjUVYyCaFXVQsiSiL7lMnHeQSuqklvNoe2ZhQqoDVgRH+pBXJDqxnPcTglwrb1gs | |
cnZ2w+ldSIGHR0oaQdhCqPxm0uqLrqvjmKi028Lc= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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=0.8 required=5.0 tests=AWL,BAYES_00,KAM_BODY_URIBL_PCCC,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 |
X-HELO: | alln-iport-8.cisco.com |
X-IronPort-Anti-Spam-Filtered: | true |
X-IronPort-Anti-Spam-Result: | A0BaBQBlmeRU/5tdJa1bgwZSWgTALoImhXUCgRxDAQEBAQEBfIQMAQEBAwE6RAcEAgEIEQICAQELFAkHMhQDAQUIAgQTCIgTAwkI0gsBAQEBAQEBAQEBAQEBAQEBAQEBAQEXiw+EPTgGgxCBFAWPQ4NZhnyDD4Y+hG6DPiKBfwMFF4FQbwGBQ38BAQE |
From: | "Dennis Hagarty (dehagart)" <dehagart AT cisco DOT com> |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Subject: | RE: Very slow Cygwin startup on Windows 7 |
Date: | Wed, 18 Feb 2015 13:56:55 +0000 |
Message-ID: | <3FEEC3A37A0B0A48AA326075128C32EE4EE26F24@xmb-rcd-x01.cisco.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> <3FEEC3A37A0B0A48AA326075128C32EE4EE263B8 AT xmb-rcd-x01 DOT cisco DOT com> <435476431 DOT 20150217135513 AT yandex DOT ru> <3FEEC3A37A0B0A48AA326075128C32EE4EE266FE AT xmb-rcd-x01 DOT cisco DOT com> <455098417 DOT 20150218134327 AT yandex DOT ru> <3FEEC3A37A0B0A48AA326075128C32EE4EE26D98 AT xmb-rcd-x01 DOT cisco DOT com> <564682794 DOT 20150218164145 AT yandex DOT ru> |
In-Reply-To: | <564682794.20150218164145@yandex.ru> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id t1IDvAUA013030 |
Thanks for your assistance Andrey... I/we use this tool every day and we really take for granted how much effort people put into making it work. I'm checking the mirror every little while to see when .0.3 pops up. Cheers Dennis -----Original Message----- From: Andrey Repin [mailto:anrdaemon AT yandex DOT ru] Sent: Wednesday, 18 February 2015 14:42 To: Dennis Hagarty (dehagart); cygwin AT cygwin DOT com Subject: Re: Very slow Cygwin startup on Windows 7 Greetings, Dennis Hagarty (dehagart)! >>>>Could you please do me a favor and repeat the test with a little deviation of >>>>my previous suggestion? >>>>1. Remove /etc/{nsswitch.conf,passwd,group} files. (Rename, move away - by >>>>your choice.) >>>>2. Stop cygserver, if it is running, and any other Cygwin-related programs. >>>>3. Start the mintty (elevated, if need) with write access to /etc. Supposedly, >>>>this will be slow. >>>>4. Make sure id -G lists all the groups you're member of. >>>>The `id -znG | tr "\0" "\n"` would probably be more visible. >>>>5. Repeat the steps from previous suggestion. >>>> getent passwd $(id -u) > /etc/passwd >>>> getent group $(id -G) > /etc/group >>>> printf "%s\n" "passwd: files db" "group: files db" > /etc/nsswitch.conf >>>> 6. Close and restart mintty >>> After I'd run the id -znG, it found 87 groups. >>> Then I did this (even with cygserver running) >>> ~ getent passwd $(id -u) > /etc/passwd >>> ~ getent group $(id -G) > /etc/group >>> 0 [main] getent 48156 transport_layer_pipes::connect: lost connection to cygserver, error = 2 >>That prompts to repeat the previous question from Corinna: are you by chance >>remote from your DC? (VPN connection?) > Yes - although it's pretty quick link (and not the other side of the world). > Seems to be a node called \\ADC-AER1-C1-2 > Pinging adc-aer1-c1-2.cisco.com [173.xx.xxx.xxx] with 32 bytes of data: > Reply from 173.38.200.156: bytes=32 time=36ms TTL=124 > Reply from 173.38.200.156: bytes=32 time=44ms TTL=124 > Reply from 173.38.200.156: bytes=32 time=37ms TTL=124 > Reply from 173.38.200.156: bytes=32 time=56ms TTL=124 >>> ~ wc -l /etc/group >>> 58 /etc/group >> >>> Since it seems like cygserver stopped, it took a while to complete. >>> Anyway, with cygserver stopped, I ran the getent again elevated and got 83. >>> ~ wc -l /etc/group >>> 83 /etc/group >> >>83 vs. 87, still not the right number. >> >>> Not really sure how many groups I'm a member of (in another tool), but seems about right. >>Anyway, how was the results after these manipulations? > Performance now is good - as long as the cygserver is running. > With: >>cmd /v:on /c "echo !TIME! & C:\cygwin64\bin\mintty.exe /bin/echo "test" & echo !TIME!" > 12:13:43.53 > 12:13:43.65 = 0:00.12 > Without: > C:\Users\dehagart>cmd /v:on /c "echo !TIME! & C:\cygwin64\bin\mintty.exe /bin/echo "test" & echo !TIME!" > 12:14:36.28 > 12:16:24.85 = 1:48.57 Thank you. Not the results I was hoping for, but thank you anyway. Please continue investigation with Corinna. And be sure your help is much appreciated :) -- WBR, Andrey Repin (anrdaemon AT yandex DOT ru) 18.02.2015, <16:40> 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |