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 15 21:38, Andrey Repin wrote:
> Greetings, Corinna Vinschen!
> 
> >> >> 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?
> >> 
> >> I took a liberty to reorder and rewrite it a little.
> >> Please tell me, if I didn't lost anything in the process.
> 
> > It reads nicely.  The paragraph starting with "The 1.7.35 release is
> > expected..." needs a tweak as soon as 1.7.35 goes release, of course,
> > but otherwise it's really neat.
> 
> > The problem is this:  The source of the file is not in HTML but in XML,
> > see https://sourceware.org/viewvc/src/winsup/doc/faq-setup.xml?view=log
> 
> > Any problem to rework for XML and sending as unified patch against the
> > latest version of the file from CVS?
> 
> I was unable to find relevant CVS tree. The winsup/doc appears to contain the
> parts of /cygwin-ug-net/ but not the /faq/ part of the website.

They do.  It's just the sh***y web interface of cvsweb, which only shows
up to 25 entries.

If you look at https://sourceware.org/viewvc/src/winsup/doc/ you'll
see a button "Go to:" and right of it a drop-down menu with the text
"Page 1: .cvsignore to ...".  Just change to the next page and press the
"Go to:" button.

Much easier (see https://cygwin.com/cvs.html):

  cvs -d :pserver:anoncvs@cygwin.com:/cvs/src checkout winsup

This checks out a directory called "src".  Just cd into src/winsup/doc
and all documentation is there.


Corinna

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

Attachment: pgpLF09X8vGHS.pgp
Description: PGP signature


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