X-Recipient: archive-cygwin@delorie.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=wu0+mpEGDaQXavcnYU0gCztlb40Cu
	FXbJ44EjzI1oizyYVe5dCEzwUVguMnff5tIGv8lW2CFonejQi1CNo4vrO2y4MdoY
	LPyvnTfmYKnqbYFTD0LVzkAUOQJnzr62MU7zJMCwewz+GD9xwipa4SA3Fha09psx
	1dO/u15dlpi07s=
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=QyUIfcPaBHZ25FCX/bvtrgXfyVw=; b=sOh
	Gstzk5Njd26eegMvpBLz3vR7KU7jgwqTyl7txghJ2PdTCIrvemrqSgnUICtkc8dJ
	Ja+fmQ/NNAnFwCD7tM2bNFlWU6SFItNYxBYGQLjD08+XgXD1vzwLjJbc2hOtkoyn
	c7pJ+D91So/4lKpBNV4Po37V4ibbPhm0MOyYiXaI=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,MIME_BASE64_BLANKS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: rcdn-iport-1.cisco.com
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CGBQC9MuZU/51dJa1bgwZSWgSDBb04giqFcQIcgQdDAQEBAQEBfIQPAQEBAwEjEUoLAgEIGgIGIAICAjAVAgENAgQbiB8IDbtdmB8BAQEBAQEBAQEBAQEBAQEBAQEBAQETBIEhiW6EPRYigmgugRQFjVuBcINcghaEaIMTiziDPiKCAhyBUG+BRH8BAQE
From: "Dennis Hagarty (dehagart)" <dehagart@cisco.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: Very slow Cygwin startup on Windows 7
Date: Thu, 19 Feb 2015 19:04:05 +0000
Message-ID: <3FEEC3A37A0B0A48AA326075128C32EE4EE27AEC@xmb-rcd-x01.cisco.com>
References: <3FEEC3A37A0B0A48AA326075128C32EE4DC9F0E8@xmb-rcd-x01.cisco.com> <87mw4nugdx.fsf@Rainer.invalid> <3FEEC3A37A0B0A48AA326075128C32EE4DC9F137@xmb-rcd-x01.cisco.com> <869208266.20150210030528@yandex.ru> <3FEEC3A37A0B0A48AA326075128C32EE4EE263B8@xmb-rcd-x01.cisco.com> <20150218111515.GL8493@calimero.vinschen.de> <3FEEC3A37A0B0A48AA326075128C32EE4EE26DE4@xmb-rcd-x01.cisco.com> <20150218125429.GN8493@calimero.vinschen.de> <3FEEC3A37A0B0A48AA326075128C32EE4EE275A7@xmb-rcd-x01.cisco.com> <20150219103235.GD26084@calimero.vinschen.de>
In-Reply-To: <20150219103235.GD26084@calimero.vinschen.de>
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id t1JJ4PlP030701

Hi Corinna,
 
>>>>>Can you please try this test version without cygserver, and with
>>>>>the passwd and group settings in /etc/nsswitch.conf set to
>>>>>
>>>>>  passwd: db
>>>>>  group: db
>>>> 
>>>>> It would be very interesting to know if this improves the situation for you.
>>>> 
>>>> Just did it for 1.7.35-0.2 - I haven't seen 0.3 turn up at a mirror site yet.
>> 
>>>It's only just uploaded so it might take another while, depending
>>>on your mirrors.  According to Roger's results in
>>>https://cygwin.com/ml/cygwin/2015-02/msg00511.html and
>>>https://cygwin.com/ml/cygwin/2015-02/msg00543.html, the real problem
>>>hadn't been fixed in the 0.2 test release, so you might give 0.3
>>>another chance.
>> 
>> BTW - I did try ADInsight, but it didn't show me anything (maybe because this is a 64 bit windows?)
>> 
>> Anyway, I ran it with 0.3 and nsswitch = db and the result is???
>> 
>> 1.68-1.72 seconds
>
>Hmm.  No offense, but are you sure you ran this with 0.3?

I knew you'd doubt me :-)
CYGWIN_NT-6.1 DEHAGART-WS02 1.7.35(0.286/5/3) 2015-02-18 11:32 x86_64 Cygwin

>> With nsswitch = files db it was 1.43-1.45 seconds.
>> 
>> With nsswitch = files it was 0.13-0.14 seconds
>> 
>> (It seems basically the same as 0.2)

>It would be pretty helpful to get an idea what's so slow in your case.
>Either you get ADInsight working, or...  is it ok if I send you a link
>to a debug-augmented DLL via PM?

Sure.

> Sysinternals "ADInsight" is a 32bit only tool and, in order to work on
> a 64bit Windows you seem to have to manually inject the DLL
> ADInsightDll.dll (which is extracted into %TEMP%) into the target
> (32-bit!) process.

So, it seems ADInsight seems a non-starter - for my skill level anyway.


