delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/18/06:41:58

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=Xt/suVXQEDijfJw078TSXE+o/AbIj
vfgsxntEWAiURYS/Uiwf6HaWxd6wClYewaZjwWLG5h+2GTZXkKeYevJR8aAYgn1g
iUveVV/X91nS3L35RDNQ1XTF/SahHILbgoFa07Txd/NvgxKdKrsO4K1DHdYbG4D2
gdD5MAdofGsM2Q=
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=BqH6zPD5jrSaf2fn6wq645YldNc=; b=cVj
LrU5X5iUt41LVVNazk2B6snRyKbtePaWRMwpRfTmh6yVEAQjeXG0cUpqXK8Y+JGI
QWim8GxxdiUe1QZTDAOWrRu974H2jrcDIc/N5gLEFwgspBfnYc44GINpy1mgJq7y
lxRtgwxmWyxILF2i03Kgco+Fsh9yy54KquyENRgw=
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.1 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-3.cisco.com
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BBBQD6eeRU/4kNJK1bgwaBMIMEvSmFTIJPAhyBA0MBAQEBAQF8hAwBAQEDASMRVQIBCBoCBiACAgIwFQIBDQIEG4gfCLkjmC4BAQEBAQEBAQEBAQEBAQEBAQEBGYEhiW6EPRYigmgugRQFj0OKVYMPhj6EboM+IoICHIFQgjN/AQEB
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 11:41:33 +0000
Message-ID: <3FEEC3A37A0B0A48AA326075128C32EE4EE26DC6@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> <20150217104430 DOT GU8493 AT calimero DOT vinschen DOT de>
In-Reply-To: <20150217104430.GU8493@calimero.vinschen.de>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id t1IBfq6w024725

Hi Corinna,

>> I ran your commands to recreate /etc/passwd and /etc/group
>
>Ideally passwd and group are set to "db" only for this, just to be sure.
>
>> (they now contain 1 line and 3 lines respectively - before it had
>> about 10 & 21 lines in each) 
>
>Hang on.  getent group $(id -G) only returns three lines?  That's a bit
>weird.  How does the output of `id' look like? 

I seem to get a couple of answers (see my response to Andrey).
I just ran it now and got 83 lines - it took a few mins.

>> To create a bash terminal window (from cmd) takes about 5-6 minutes.
>> cmd /v:on /c "echo !TIME! & C:\cygwin64\bin\mintty.exe /bin/echo "test" & echo !TIME!"
>> 11:01:20.27
>> 11:06:59.78 = 5:39.51
>
>With a running cygserver, how long did it take the second time?

About 1/10 of the second.

>Can you please check again with the cygwin test release 1.7.35-0.2?
>
>Two tests:
>
>- Set passwd and group to "db" only
>- Set passwd to "files db" and group to "db"
>- Both set to "files db"

Ok, running 1.7.35-0.2

cmd /v:on /c "echo !TIME! & C:\cygwin64\bin\mintty.exe /bin/echo "test" & echo !TIME!"
12:31:08.46
12:31:09.93 = 0:01.47

Settings = Both = "db"
About 1.65 seconds

Settings = group = "db", passwd = "files db"
About 1.65 seconds

Settings = group = "files db", passwd = "db"
About 1.50 seconds

Settings = group = "files db", passwd = "files db"
About 1.45 seconds

>I think I'm going to create another test version which adds debug output
>to get timings for the LookupAccountName and LDAP calls.  The long time
>this takes in some environments is really puzzeling me.
>
>Would you be willing to run such a test if I provide you with a debug augmented Cygwin DLL?

Yes, I can do that.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019