delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/09/14:17:49

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 <corinna-cygwin AT cygwin DOT com>
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> <loom DOT 20120427T103825-468 AT post DOT gmane DOT org> <loom DOT 20120508T150823-706 AT post DOT gmane DOT org> <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> <loom DOT 20120509T085438-531 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20120509T085438-531@post.gmane.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019