delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/23/16:15:57

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:date:from:to:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=JER0qlWk1EoKfidS1rOGjqRx9Ie9nWqQ1S2IIT1UjBF43LNWlCNvm
jULSazm4drq2jQ5W3FEmQF1yqmnrE6H3bVTb29mhOF9QkyeRw5xY6DJoE5JexqFD
nCjW2goF3C32YmueLAh0t19qXPJGBlIUHyqULi75cfBkdo5GmhbLPM=
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:date:from:to:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=h23evA3U+m1II+zOHDYzRHB+rcw=; b=E6iv3iiDZ6kTRyJ3utedZOVtWbS7
37WKOMoWpC0dOP6xaLByssbIiKFM4cc0Pxtvtl7tPG40+LlRT1f/ung6BX7aHA7Z
aW5VjoYpv/xQdKu1vAObaF3ULJKBMcY4u0/4soADX9jECpGrtFE5smzMsqm2tDjP
Cm2eyotNfwpmERM=
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 23 Feb 2015 22:15:30 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Cc: "Dennis Hagarty (dehagart)" <dehagart AT cisco DOT com>
Subject: Re: Very slow Cygwin startup on Windows 7
Message-ID: <20150223211530.GA23639@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, "Dennis Hagarty (dehagart)" <dehagart AT cisco DOT com>
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>
MIME-Version: 1.0
In-Reply-To: <20150220162024.GZ26084@calimero.vinschen.de>
User-Agent: Mutt/1.5.23 (2014-03-12)

--ZPt4rx8FFjLCG7dd
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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?
> >=20
> > Sure.
>=20
> 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?=20


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--ZPt4rx8FFjLCG7dd
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJU65hyAAoJEPU2Bp2uRE+g34AP/i/N17VogqPRS6sZSLtlXShj
03U9DAzig2BWIKthd2FoB2gv06ymTG4rzsDvGLHKrQQpT/AsPwkbsn4jJrVe5qpq
NSDz3frNvB0NDteJI1WzGPFXuD1b+bdHv77sNO1jA6pCGRlUBlyFqvWaVzNZDv/y
ssqIbWa70j0D4VpIUrpPmqTWj3d7KMp+SkvpopTVgpixJmk2h6XTTmHCuMVCMaJe
B9gdnLnfgd4msKFDAUh7FjlFRzsyc3By0xdgZA3HBXpVX/PWSWAOCd/nGS2lAlqs
ZtYI76wPP0Mj/MsYLIryP/1S2CQ2367b3iZfMU1Kn3md7qkwFTPd0/DxpOwMij1g
E2rPm9MmqVngi1Djmq/kDW9b7NOUkZ5pl8rJvhzspJ+fgYg6TDuMUKJkKVVoLNKE
lIcNQ2EUFtaQpqHzUG4uttt32KKSGMB6+FJUEq9M4HdqBOEq98WLV+L8NN4MmtAp
AVH7chSYLmSPG80pWmc7DbQ3N1ngzKJoSp86Uz4uphH9I8DWcfjeRDJjCUL+wf5a
1ggyvc/9MAYMFr9CBxR75GGipWw1AMxgoughW9D/K1MKJaGnoraamSGKAT5LQbLi
qOl32LRGZlMA5YdQJPnuPYvLyr4kHhLeJg7tMURtsoiQCFLrZnetcm8RajfLk/la
MoOK3xtt2RT/D8148w3P
=Jdw2
-----END PGP SIGNATURE-----

--ZPt4rx8FFjLCG7dd--

- Raw text -


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