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:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to:content-type; q=dns; s=default; b= qd33D9iKZcUgN/xGWDYdZhnufaK+Zs/lNdgC4XUrHfU5DMre2m1uXRXZKPHfXW9q 4grsAnyyz0JTPoAUAXoxwhgeEFOGx6/z+myM0jWulnAQyz9pWqL9zcxtyK1XtLyd HMj+eNjsgeJcdkYeDfmT9pH68g9qM1Blr4Rb60sbQSM= 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:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to:content-type; s=default; bh=JB/ HTkMIrJ/OktTJPGcbyc8ojSM=; b=c8BUhKuZm9kx6YAj4pKWvlxQxubYSqg9rft BZFZsJyODNZOmKIAsWLPM5JKdMHfHJqFe7qRe1NLK3cxtcuZl6ILDV8rY6vdST/0 EeDB8aX0Ik/AlSV4xa321I2FhIumyRvgklY3f1pCXBYoFTiF8USpxDZM1S5lL4c3 UAcpWadY= 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: Yes, score=6.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-ob0-f174.google.com MIME-Version: 1.0 X-Received: by 10.202.198.214 with SMTP id w205mr9129581oif.74.1424752427299; Mon, 23 Feb 2015 20:33:47 -0800 (PST) Reply-To: John DOT Ruckstuhl AT gmail DOT com In-Reply-To: <20150223211530.GA23639@calimero.vinschen.de> References: <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> <20150218111515 DOT GL8493 AT calimero DOT vinschen DOT de> <3FEEC3A37A0B0A48AA326075128C32EE4EE26DE4 AT xmb-rcd-x01 DOT cisco DOT com> <20150218125429 DOT GN8493 AT calimero DOT vinschen DOT de> <3FEEC3A37A0B0A48AA326075128C32EE4EE275A7 AT xmb-rcd-x01 DOT cisco DOT com> <20150219103235 DOT GD26084 AT calimero DOT vinschen DOT de> <3FEEC3A37A0B0A48AA326075128C32EE4EE27AEC AT xmb-rcd-x01 DOT cisco DOT com> <20150220162024 DOT GZ26084 AT calimero DOT vinschen DOT de> <20150223211530 DOT GA23639 AT calimero DOT vinschen DOT de> Date: Mon, 23 Feb 2015 20:33:47 -0800 Message-ID: Subject: Re: Very slow Cygwin startup on Windows 7 From: John Ruckstuhl To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Wow I really hoped to contribute with something that seemed -- to me -- salient... an strace of my 5 minute bash startup under 1.7.34, due to 70+ SLOW lookups w/ exceptions (all 4.0-4.1 seconds). But for the life of me I can't get past the spamfilter. ([main] bash 8308 pwdgrp::fetch_account_from_windows: line: ...) John On Mon, Feb 23, 2015 at 1:15 PM, Corinna Vinschen <...> wrote: > Hi Dennis, > > On Feb 20 17:20, Corinna Vinschen wrote: >> On Feb 19 19:04, Dennis Hagarty (dehagart) wrote: >> > >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. >> >> Thanks for helping debugging, Dennis. > > I have another one for testing. I rewrote the function fetching all the > group information for the groups in your user token, the one which is > mainly responsible for the 1.4 secs startup time. > > In theory the performance improvement should be pretty noticable, even > with /etc/nsswitch.conf only using the "db" setting for groups. In a > bigger environment with a user token of 150 groups, the time this > function took was reduced from ~300ms to ~50ms so I have high hopes. > > Can you test this again with the Cygwin DLL from the latest developer > snaphshot at https://cygwin.com/snapshots/ please? > > > Thanks, > Corinna > > -- > Corinna Vinschen Please, send mails regarding Cygwin to > Cygwin Maintainer cygwin AT cygwin DOT com > Red Hat -- 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