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:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=x5bV56mtekDHf351 | |
ySOK/LMJRwVGG31Gsaxt835W0uBTpZ2wKrwU6pfRwJXDxymO++Uuw//l9PcvByr/ | |
0jtFRZwhvcC6BKZf5UywfPjECIgJJu3RbO21zm+tbEAsJJOv0ej7oWBxUndb2aKl | |
fcZtFWkaCBXb8i2aOQG+SzBoYCg= | |
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:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=55MMkAOH0ehS1gyq7rFmUT | |
lkFp8=; b=deiJDublWim2BAcP47WnBj3BTIbPt+r1OGEfhjOR+fanPBevdqMiwm | |
PRBqLx7POkcTIAMEW6j2z5GuIwV8iVZB3bbKQ+MmwCRFSiZz66kHRPMWCmYywEQ8 | |
pPhZlyIPw6zmxJqcziH2Kb6U6t/HTUZx1HHeDtmAQ99UeOi4dzLQk= | |
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-Spam-SWARE-Status: | No, score=-3.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=our, HContent-Transfer-Encoding:8bit |
X-HELO: | smtp-out-no.shaw.ca |
Reply-To: | Brian DOT Inglis AT SystematicSw DOT ab DOT ca |
Subject: | Re: mkpasswd -d |
To: | cygwin AT cygwin DOT com |
References: | <20191218194526 DOT GQ10310 AT calimero DOT vinschen DOT de> <DM6PR02MB548140D07DE30000B1D2D925B3530 AT DM6PR02MB5481 DOT namprd02 DOT prod DOT outlook DOT com> |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Openpgp: | preference=signencrypt |
Message-ID: | <12342fdb-61e3-0944-bcf7-194b03f85746@SystematicSw.ab.ca> |
Date: | Thu, 19 Dec 2019 03:31:09 -0700 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 |
MIME-Version: | 1.0 |
In-Reply-To: | <DM6PR02MB548140D07DE30000B1D2D925B3530@DM6PR02MB5481.namprd02.prod.outlook.com> |
X-IsSubscribed: | yes |
On 2019-12-18 13:01, Jack Marks wrote: > On Dec 18, 2019, at 1:45 PM, Corinna Vinschen wrote: >> On Dec 18 18:54, Jack Marks wrote: >>> In 1.7.31, I can run mkpasswd -d domainname -p /home -u userid >> >>> /etc/passwd and it takes less than a second to complete. In 3.1, it >>> takes 150 - 180 seconds to complete for the same user. Is this a bug, >>> have I misconfigured something or is it something else? >> Something else I guess: >> $ time mkpasswd -d blah -p /home -u blub > /dev/null >> real 0m0.105s >> user 0m0.015s >> sys 0m0.062s >> You're aware that you don't actually need /etc/passwd, right? >> https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping > Yes; however, we will need continue with the old method. > Time run against our domain on 3.1 is: > real 2m19.693s > user 0m7.578s > sys 0m0.859s > Time run on 1.7.31 for the same user against the same domain is: > real 0m0.741s > user 0m0.015s > sys 0m0.030s Running cygserver at startup loads and caches your domain info across all Cygwin processes. Try that, retest, and report results. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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 |