delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/05/11:47:55

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:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=cjNrxXv9jObjC1nYJ4xI/dyp8S/iBli1OKiGaW4tp7i15Q7FIWGR1
NjWmOjo8xlHdf195TLkH8+SVX60wfbtksnSzcBsvSJbCDR0z05j7R7siP/xrUd6P
N0JIY9GFiCAeQE2qMgw7riSIiOQajWsuAq/rra7N1JOOY1HnWv4Q3s=
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:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=sbD3rOoWU92hi2axFaVQC0txmM4=; b=xrmIvP0xUgdEFqZGiCbJ/++GFjnX
dA+SdzigIk+gtIMqv1t5M56dHe/JtKTFCNBNAzgxb1/IV17W+0594Fjd7FTey0Df
FoJTfDuacSQXPghZrlNcC5FYWu7bIRH27KCxc63SG+nERcm82UcRgFAMS0JBFesl
Q/OhM2woLGGnaNQ=
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: Wed, 5 Mar 2014 17:47:21 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Testers needed: New passwd/group handling in Cygwin
Message-ID: <20140305164721.GB2856@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAKf2h5TjyeMxuw=XkqoGMC8A_f+LpSzcx5nof5ViUBQ-0sYXFg AT mail DOT gmail DOT com> <20140228210804 DOT GE2381 AT calimero DOT vinschen DOT de> <CAKf2h5QbafQq25jndf8RdDGWsp_MMfziBep2Pe1H7rA+OmOCdA AT mail DOT gmail DOT com> <20140303092114 DOT GA26619 AT calimero DOT vinschen DOT de> <1686957830 DOT 20140303195207 AT yandex DOT ru> <53152031 DOT 3000208 AT etr-usa DOT com> <397967999 DOT 20140304053603 AT yandex DOT ru> <53155F96 DOT 3060400 AT etr-usa DOT com> <20140304080727 DOT GC7236 AT calimero DOT vinschen DOT de> <5317440D DOT 4060000 AT etr-usa DOT com>
MIME-Version: 1.0
In-Reply-To: <5317440D.4060000@etr-usa.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

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

On Mar  5 08:34, Warren Young wrote:
> On 3/4/2014 01:07, Corinna Vinschen wrote:
> >On Mar  3 22:07, Warren Young wrote:
> >>
> >>You have to measure it to find out.
> >
> >I was inclined to go with Andrey's suggestion for simplicity.  What's
> >yours?
>=20
> Science!
>=20
> Survey actual lookup times, and make a statistical determination
> from that.  e.g. +3 sigma[1] above the normal to capture > 99% of
> the Cygwin user base, or +6 sigma to reduce outliers to the order of
> 2 ppm.
>=20
> To collect the data, instrument the DLL and report anonymous
> statistics back to cygwin.com if the user opts in via setup.exe.
>=20
> Rather than report back continually, just keep a model of the lookup
> time[2], and report the current lookup time average on each
> setup.exe run, such as in the HTTP request for the mirror list:
>=20
>     GET /mirrors.lst?adluavg=3D123
>=20
> That is, setup.exe is reporting that the typical AD lookup time at
> this site is currently 123 ms.
>=20
> Note that you don't have to write a CGI program to accomplish this.
> Apache will continue to serve static mirror.lst files for you with
> the GET parameter.[3]  It will dutifully log each query to
> access_log, and you can dig the reported lookup time values out of
> the file when you want to compile your statistics.
>=20
> When calculating statistics, use only the latest value for each
> reporting IP, so that sites that update Cygwin more often don't skew
> the results.
>=20
> The default timeout should be baked into the DLL, but overridable in
> nsswitch.conf, with ms resolution.

You're kidding, aren't you?  Apart from that, ms are not useful since
LDAP_OPT_TIMELIMIT used for ldap_bind_s only takes values in 1 second
resolution.


Corinna

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

--uQr8t48UFsdbeI+V
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTF1UZAAoJEPU2Bp2uRE+g6HQP/3fZpTpJ4oQbpzXCOJtywYo2
h60ed8PUu/Xsals0ruf4CjpKaDdl4q1vxZnJL0Qb6AHZnzUfTArm7SNAorbSj/+9
t48rF5QadGOMvbUg23+l6fyioHkPOj6DSkZhhFZepEyCfPBllPx0EAnbD2GkQJuE
xjacByltAs0h50gEKnq5uhqFmKer8j39k10ZdmiXYibK/yTM27DOXkJZei23eUzF
OHl4q+Nd5BVity2L641Y8krj+7wJyQRtdFGJVEboMlqXTOC1mBKbxbPsL1IIKh5q
MhPTtCIid9NfJ8xT5n87KuStNtyjH5KgoBmINMzckTEd2TMkvAuI9nHODPxUG57t
f2gzarJEWxmO2vWvHwuUzyj7JW3X/6y6qDHbDPhtnHP2riy422rpz5MHMZr8k6mP
1qINohe1XDuOzsVwliMs8hZsggXiB8MBeaKs62F6aFhz5+jzQefLr56YqYXB5dRs
use0xvh2OQT6E08m+AFhgpdYlVo4bbxnG08csXVQpem5nKY9Dc9jyulGIDtYTSTD
rwjxY1Ax1aaSKMfO+UtBXAOcXq86b24/chpkhKxLsYPm5Lb/S9XSQ1T7h4X9ZZhU
sbMR3l2r0YfpuKd8iMuY/AIH2c7rxu0wNoIUvbOncX5S3HHn73/IHWWiWq69gvPc
neVX+TG4R7mpGYm7cPiP
=kqyX
-----END PGP SIGNATURE-----

--uQr8t48UFsdbeI+V--

- Raw text -


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