X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 9 May 2012 20:16:50 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: bad performance when opening many files on Win7 Message-ID: <20120509181650.GN17185@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <874ns6z0cr DOT fsf AT Rainer DOT invalid> <4F9A0FFB DOT 4080201 AT cygwin DOT com> <87y5ph4t4z DOT fsf AT Rainer DOT invalid> <20120508135544 DOT GY18516 AT calimero DOT vinschen DOT de> <87txzqfx1s DOT fsf AT Rainer DOT invalid> <20120508172901 DOT GB17185 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On May 9 06:57, Achim Gratz wrote: > Corinna Vinschen 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