This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Very slow Cygwin startup on Windows 7


On Feb 12 22:45, Andrey Repin wrote:
> Greetings, Corinna Vinschen!
> 
> > Hi Andrey,
> 
> > On Feb 10 03:05, Andrey Repin wrote:
> >> [...]
> >> If you are accepting suggestions, and up for some experimentation, try this:
> >> 
> >> # getent passwd $(id -u) > /etc/passwd
> >> # getent group $(id -G) > /etc/group
> >> # echo -e "#\npasswd: files db\ngroup: files db\n" > /etc/nsswitch.conf
> >> 
> >> and start bash without cygserver running. Just for test.
> >> The idea is to have "your" groups in files so that in simple case of (just
> >> startup" Cygwin don't have to talk to DC all too much. If at all.
> >> 
> >> You'd still need to run cygserver to benefit from long-time caching, though.
> 
> > Do you feel up to the task to extend the FAQ entry
> 
> > https://cygwin.com/faq/faq.html#faq.using.startup-slow
> 
> > with a description of your solution?
> 
> Sure, if that was really a solution. I'd prefer to hear from Dennis first.

Thanks.

There's also the patch in Cygwin which *might* help to fix this issue in
a default configuration without having to tweak /etc/nsswitch.conf.
That would be the preferred solution, I guess.  Just creating a test
release for that...


Corinna

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

Attachment: pgp8XKlin2xD1.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]