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: bad performance when opening many files on Win7


On May  9 06:57, Achim Gratz wrote:
> Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> > I don't know how to use pod2html.  Please send a simple usage example
> > which works out of the box, so that I can see if I can reproduce this
> > behaviour.
> 
> (1004)~ > time pod2html --flush --title=DateTime::Locale::ml \
> --podpath=lib/perl5/5.14:bin:lib/perl5/site_perl/5.14 \
> --infile=/usr/lib/perl5/5.14/version.pm \
> --outfile=/dev/null --podroot=/usr --htmlroot=../../../.. \
> --header --backlink=Back\ to\ Top --verbose
> Flushing item and directory caches
> Scanning for sections in input file(s)
> No headings in /usr/lib/perl5/5.14/version.pm
> scanning directories in pod-path
> caching items for later use
> caching directories for later use
> Converting input file /usr/lib/perl5/5.14/version.pm
> Finished
> 1.014u 3.743s 1:17.94 6.0%      0+0k 0+0io 5781pf+0w
> 
> The second run simply drops /usr/bin from the podpath:
> 
> (1005)~ > time pod2html --flush --title=DateTime::Locale::ml \
> --podpath=lib/perl5/5.14:lib/perl5/site_perl/5.14 \
> --infile=/usr/lib/perl5/5.14/version.pm \
> --outfile=/dev/null --podroot=/usr --htmlroot=../../../.. \
> --header --backlink=Back\ to\ Top --verbose
> Flushing item and directory caches
> Scanning for sections in input file(s)
> No headings in /usr/lib/perl5/5.14/version.pm
> scanning directories in pod-path
> caching items for later use
> caching directories for later use
> Converting input file /usr/lib/perl5/5.14/version.pm
> Finished
> 0.405u 2.074s 0:02.94 84.0%     0+0k 0+0io 5667pf+0w

The first run of the first command takes 15 secs on my machine.

Note especially that lsass takes 0 CPU all the time!

The second run of the first command takes 1.35 secs since caching kicked
in.  Subsequently running the second command takes about 0.8 secs.

There's something fishy on your machine, and it's not Cygwin, afaics.
I'd still blame some firewall/virus stuff.


Corinna

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

--
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


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