On Apr 14 12:44, Bryan Berns wrote: > On Tue, Apr 14, 2015 at 10:53 AM, Corinna Vinschen > <corinna-cyg...@cygwin.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 process. > > 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 > > 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 -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
pgpen3E54qnqj.pgp
Description: PGP signature