delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/14/14:23:29

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=jPGnY6H7180n76Hfz7GHFCp+e49IRFQoKhixP4K/Ng6DBYYQ9boxh
Ps2ysmAUuvA2DWsCytEy6Bc5Q0cuj0HMENPMOs9qTRm/0CET3sjjIC2ATMoRPtPx
6zqNUWC6nKTKMUkb67CsyzciKGaFXKSujKXHyP6Sy2TJXoZK4ycpYk=
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=r3va8pH9sC2mlgHIDmy2q+A9J5c=; b=g8yvrAGjbjKhYLM1oJ1cjuy9ekZb
87HToSGNkxGLe1AvkrdRiK8w5coynV/vJGJaK6Go46TJsS22/rzkFu5oPqcBaU3F
xnnhumU4jUCt2+e4Kveu1qKt/g/901kxQnStseK/RMUOsD6aHy6oKPOaMi531kZ8
ZjBHqVFTbYop66U=
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=-4.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Tue, 14 Apr 2015 20:23:10 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Making Cygwin More Tolerant of Orphaned SIDs?
Message-ID: <20150414182310.GR7343@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CADi7v6LUZhr6UVSYA+Fe27f-aWJcxVxUXb3vR02rVuW9cG3a6A AT mail DOT gmail DOT com> <loom DOT 20150414T085644-392 AT post DOT gmane DOT org> <20150414080044 DOT GB7343 AT calimero DOT vinschen DOT de> <CADi7v6J=h7ydravvigVwMpT5P4QwMS1L73m1zhy==DtrL-SHhQ AT mail DOT gmail DOT com> <20150414092313 DOT GE7343 AT calimero DOT vinschen DOT de> <CADi7v6JVqPi9SE44CbfYfd-aWUd8w2=2Uu=2=BR6ZM6H9qDgqA AT mail DOT gmail DOT com> <20150414145323 DOT GH7343 AT calimero DOT vinschen DOT de> <CADi7v6+Fs_MR+i5ULMqqvaAuy1G_CAL=bEuifCKvLDFSURAZVg AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CADi7v6+Fs_MR+i5ULMqqvaAuy1G_CAL=bEuifCKvLDFSURAZVg@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Apr 14 12:44, Bryan Berns wrote:
> On Tue, Apr 14, 2015 at 10:53 AM, Corinna Vinschen
> <corinna-cygwin AT cygwin DOT com> wrote:
> > On Apr 14 07:24, Bryan Berns wrote:
> >> For example, I create a whole bunch of files (like 5000),  I use
> >> icacls to append a new ACE.  Then I do a 'time ls -l
> >> /cygdrive/c/somedir/*'.  Takes four seconds.  In the same Cygwin
> >> session, I remove the local group (net localgroup testgroup /delete).
> >>  I do the same 'time ls -l /cygdrive/c/somedir/*'.  Takes 20 seconds.
> >> Subsequent runs in the also take 20 seconds.  Since I'm able to
> >> continue to see the slowdown in the same session, cygserver wouldn't
> >> help right?
> >>
> >> Is the above expected?
> >
> > Yes.  Without cygserver, caching only works from parent to child proces=
s.
> > One run of ls can't cache data for a parallel run of ls in trhe same
> > session.  As, btw., explained in the documentation:
> >
> >   https://cygwin.com/cygwin-ug-net/ntsec.html
>=20
> Alright, I'll give it a shot when I get back to my lab.  I suspect it
> shouldn't take an additional 16 seconds to attempt to lookup account
> information (and fail) on my two node test network so I'm curious how
> much this will cut the time by.
> If I setup cygserver with all the --no options set (reference:
> https://cygwin.com/cygwin-ug-net/using-cygserver.html) since I don't
> want any accidental cross-user information sharing, will that
> effectively only provide the SID caching functionality or is there
> other functionality to be wary of?

You don't have to disable anything.  Just don't set the debug option
to avoid logging passwd entries.


Corinna

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

--kGQlNN4Ir6FkfZg7
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJVLVsNAAoJEPU2Bp2uRE+gtQcP/iPS82sdmEjoqJrOyvMcjGms
Y6TzPRON7c9Lx42Z2BIEfUDGR/GYnu42ZBFcxPb+nANpri6GdlF8VSzePKvKW1np
KxRtemNnbfowzQuj6zHqBa+8wYDGQKdTaajuGVoXO61bwIldtOUYb3qve9wFXbfk
hDj8pSfPIdM7/1hv0v/DWuYwTNYCRkUOoTVybVeUT3sRnIO5B/cJ4WjEIHHv9BX7
YWq4IFF25wwGN2Kr4t770rb+3h0iNbtPfEkprjRr+nFE/Yh/DTHKtsyNQQkVQCNK
r4LYbzs7ABjuUtH8eufCwAKlfK3ga3Gd86mg77wcvb8xducpa2ZKDPJ0M0r19kLR
rUulZ1D7X8wn2OnXsYhr/62Gkqk+M8CnEzPS024toeKDcCB2ujQaQW+bFj0633Ux
p2TOSD9E4bJOgonbgz8wuw6VUtHxP94f+5C4ePyPE5kKYI2MjfkgLcX6G7t63Dbu
pOaXiwrY41kPtm6bud6BdyxuDAKN8mEUM76piXgIPtIcHTOt3Bc8QejZK8ayNfSP
/GqqaV5W2CrrPQ7r1ZDyR/rgWRWBraVQ45D6Hv2IpJPa+MTZ3HUGtgFOusFmftUk
AikhO3ZLRzCJ5djVXVHmDK37Cm6z+FERbFxdOf79wtlTuKmGC54LXIVSL8axhLND
FxAylXyKywDFcg+cZAor
=/1ql
-----END PGP SIGNATURE-----

--kGQlNN4Ir6FkfZg7--

- Raw text -


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