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