delorie.com/archives/browse.cgi | search |
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: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 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.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 AT nexgo DOT de> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Testers needed: New passwd/group handling in Cygwin |
References: | <20140213143849 DOT GH2246 AT calimero DOT vinschen DOT de> <87fvn7cb68 DOT fsf AT Rainer DOT invalid> <20140225200414 DOT GA4238 AT calimero DOT vinschen DOT de> <87y50zaqjb DOT fsf AT Rainer DOT invalid> <20140225215423 DOT GA6065 AT calimero DOT vinschen DOT de> <loom DOT 20140226T085959-119 AT post DOT gmane DOT org> <20140226100209 DOT GR2246 AT calimero DOT vinschen DOT de> <20140226135222 DOT GW2246 AT calimero DOT vinschen DOT 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 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |