delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/10/23/02:15:05

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:in-reply-to:references:mime-version
:content-transfer-encoding:content-type:subject:from:date:to
:message-id; q=dns; s=default; b=hKMnwM0ZOZ+e42+Rg90b7yBQ5K8Vhfe
/ZF1N8eMZbMDCqYGlW1A8S7DPgb92WQaFqHVoQlJm2PfsQCTTJ4zle2rQHzW19gh
LWuFnfDQR2ykSc4RV2ZGwNoOD+R7+tECLb3+VeUaOHw0RTbHmeTodGsnvV1oO9rn
Zgxf+rYbDAaE=
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:in-reply-to:references:mime-version
:content-transfer-encoding:content-type:subject:from:date:to
:message-id; s=default; bh=QFQg1gV5LPeb2LIK/wJeiI6Ivgg=; b=YMUmG
3KNBQlJtOT9AUCbOlqyaBbP6lzDiUl4aeyz3Ndltg6AFHGWe3t9Ut62HPZ2Ch3pT
fN9RKCWyqE70E2CdlWJouFkhcYymT3byiDF25yddBg22xSO1QE6ZVOrINND8ZpH7
mI7aECeFz8vYKhVNyJaxMWBLXFH6Prc3Ue0BAw=
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
User-Agent: K-9 Mail for Android
In-Reply-To: <20141023030003.GB9370@pixel.schutter.home>
References: <announce DOT 20141022092323 DOT GH32374 AT calimero DOT vinschen DOT de> <20141023030003 DOT GB9370 AT pixel DOT schutter DOT home>
MIME-Version: 1.0
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.33-0.1
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
Date: Thu, 23 Oct 2014 08:14:39 +0200
To: cygwin AT cygwin DOT com
Message-ID: <4A980156-6E41-4DFE-BB6B-C85B791BAB35@cygwin.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On October 23, 2014 5:00:03 AM CEST, Tom Schutter <t DOT schutter AT comcast DOT net> wrote:
>On Wed 2014-10-22 11:23, Corinna Vinschen wrote:
>> The major change in this new release is the new method to read
>account
>> (passwd and group) information from the Windows user databases
>directly,
>> without the requirement to generate /etc/passwd and /etc/group files
>to
>> generate Unix-like uid and gid.
>
>What do you think the performance implications of this change will be?

For most home users there will be not much of a difference, probably, but I'm not sure.

The older method reading the files was slow, because each exec'ed process had to reread the entire passwd and group files anew.  With small files this was probably sufficiently fast.

The new method will not have to read any files, though.  It reads all infos from the local SAM, and it cashes the user and primary group data right fron the start.  If i may hazard a guess, it should be slightly faster for most people.

For AD users the answer is probably an "it depends".  A slow network might be a problem.  But one advantage always is: No more reading /etc/passwd and /etc/group files in each exec'ed process.

Corinna
- --
Corinna Vinschen                   Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-----BEGIN PGP SIGNATURE-----
Version: APG v1.1.1

iQJEBAEBCgAuBQJUSJzOJxxDb3Jpbm5hIFZpbnNjaGVuIDxjb3Jpbm5hQHZpbnNj
aGVuLmRlPgAKCRD1NgadrkRPoFrJD/sGpUaz/l4ENPsXQmVGph1ZPrkeT60etgQU
MOh25sg9/V9td3cDnxX7gLZeGQL+vCeYJFIKuzAtmoO5Ez/7ztfmvK1qHxK4DE3J
0MYL3SDSEm3xFUcxu5Qx58MwXBuupzPz3cC1xI493cmsBHkTHNGf5SLLrKUVIfTY
luB6eURygPXm5CDRz2sgstm1AiUfQEqyzl/Pp7b8iESaPEd+rVXjoVmAxcJVEQoT
AItBmG3eGy8sLUq1DlkYl8V8nThdCD9LyBxeZlNH7N2T3zyceVnCXF6mIb9127Bs
uISei5z+ATDsYFm04dfhgAmJcrQxT2S/XxYwEeO9XxpngpyCcB32EWB0OcRuFOxu
xcd6FS4uLYZetIOegXAixsH5JHqDSboW+LPGETpL73tX6vr/gg/q2pOKRhwU4FSo
mBF/pqG4B1vXjJqDkM46QKBjoClQSOcWIJiIVzwz/PTHXVFO2dm7MyeuvBDTz2h7
RBaBrjYdz3OF80SgXQFakbXXg5/dOzyJfHRPQcpvSfPG7wuOY3wSXsiH5vyB/k6x
A+LhNqHi0C8DkB9Pja9DKuLlte7g+YapSfDsfKJrKucq2QovVsrDszqhnxwMkAsQ
sUPH0+7UOonDQ1lyyGSfNkFV7H44gZF0XfiEcxNXdOJu1pIXut6nmVK7QYDouOtB
Jt3XsHPUug==
=f5z+
-----END PGP SIGNATURE-----


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

- Raw text -


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