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:references:date:in-reply-to
	:message-id:mime-version:content-type:content-transfer-encoding;
	 q=dns; s=default; b=DoR1YDscaER1OPhDoJ8i1hmb6zJVhKaxX4ZXWGJXRL3
	yRXACNsuD+guzO7JSwBaGUs2cEVx17NIGLWdrVes7pi7KNGlesgyKT+ivInNdHmZ
	V3b5LbMNpSjrCV+vNhD5ivz+KK8+zzrgG6AM6qwU4YkdxDN/Rpo+sg760bPmwq9Q
	=
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:references:date:in-reply-to
	:message-id:mime-version:content-type:content-transfer-encoding;
	 s=default; bh=MmafAHNCPHr+ZBnipnxtilfOLxU=; b=ZPvmb7xxAYz5PICQR
	I4UPxqthJJv8CYxPYwThusNVG/0BP81nxv1mSwEWtYu3CYg3gWxW0YcXXcLShorM
	py6oMKX9zKTr+ejfnXSEvkS2MHum5aaIloNG17Y4OWyybI8y/rGtvZQBkIdcEH29
	SvQSMinhUfNMeww+djnu4VbFGY=
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.2 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_NONE,SPAM_BODY1,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-in-03.arcor-online.net
X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-17.arcor-online.net 967BECBC62
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin@cygwin.com
Subject: Re: Testers needed:  New passwd/group handling in Cygwin
References: <20140213143849.GH2246@calimero.vinschen.de>	<87fvn7cb68.fsf@Rainer.invalid>	<20140225200414.GA4238@calimero.vinschen.de>	<87y50zaqjb.fsf@Rainer.invalid>	<20140225215423.GA6065@calimero.vinschen.de>	<loom.20140226T085959-119@post.gmane.org>	<20140226100209.GR2246@calimero.vinschen.de>	<20140226135222.GW2246@calimero.vinschen.de>
Date: Wed, 26 Feb 2014 20:07:48 +0100
In-Reply-To: <20140226135222.GW2246@calimero.vinschen.de> (Corinna Vinschen's	message of "Wed, 26 Feb 2014 14:52:22 +0100")
Message-ID: <87txblk7zv.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s1QJ8jGs013300

Corinna Vinschen writes:
> I just created 400 groups in AD, and added myself as member.  An `id' on
> a 32 bit Windows 7 domain member machine in my tiny network consisting
> only of a handful of Windows VMs and with me as the only real user takes
> about 3.6 secs with the latest code from CVS, using a non-optimzed
> Cygwin DLL.

OK, so you do less than 200 lu/s even in that favorable case.  Our DC is
hit by some four figure number of clients I suppose.  I've asked my
colleague to check the lookup rate on our test web server and he also
gets around 30 lu/s with caching disabled, just like I did via Cygwin.
So the network speed isn't the limiting factor.

> With this patch applied, the aforementioned `id' now takes about 1.9
> secs, in an otherwise identical scenario.

Sounds interesting.

> With this patch applied as well, `id' now takes constantly 0.4 secs.

Gets even better… :-)

> Note that this speedup is only possible when fetching lots of group
> account information.  For user accounts we still need the info from AD,
> but apart from the getpwent functionality, which can be restricted via
> the db_enum setting in /etc/nsswitch.conf, there's not very often a good
> reason to fetch information for hundreds of user accounts.
>
> Anyway, if I send you the link to two DLLs with these patches, would you
> mind to test their speed in your environment?

Bring it on.  I'd need 32bit DLL since I have to keep the 64bit Cygwin
running on my machine.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

--
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


