This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Very slow Cygwin startup on Windows 7
- From: John Ruckstuhl <john dot ruckstuhl at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 23 Feb 2015 20:33:47 -0800
- Subject: Re: Very slow Cygwin startup on Windows 7
- Authentication-results: sourceware.org; auth=none
- 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>
- Reply-to: John dot Ruckstuhl at gmail dot com
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