public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: bad performance when opening many files on Win7
Date: Fri, 27 Apr 2012 03:19:00 -0000	[thread overview]
Message-ID: <4F9A0FFB.4080201@cygwin.com> (raw)
In-Reply-To: <874ns6z0cr.fsf@Rainer.invalid>

On 4/26/2012 4:47 PM, Achim Gratz wrote:
>
> I've seen major performance regressions on Win7 compared to an pre-1.7
> Cygwin version on Win2000.  I had initially suspected the virus scanner
> and disabling the real-time scan for the whole Cygwin folder did improve
> things appreciably.  However the real performance hit when an
> application opens or even just stats many files in succession (like Perl
> is prone to at startup when it scans @INC) is still there.
>
> Superficially it looks like you get 100% load on one CPU and the
> application is busy, but perfmon tells you that the application sits on
> its thumbs and the CPU is eaten by lsass.exe (which doesn't have any
> file open or any network connection).  Eventually the application starts
> doing what it is supposed to do, but lsass continues to eat CPU for a
> few minutes.  I'm not even sure there's if it only happens for Cygwin
> applications, but for those I can reliably reproduce it.  When I time
> the application in Cygwin, I get something like less than a second user
> time and over two minutes core time.
>
> If someone has seen something like that and maybe there is some setup
> that I can tweak to avoid this it would be great to know.

Here's some background.

<http://www.suacommunity.com/forum/tm.aspx?m=1697&mpage=1>

Anything there describe your setup?


-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

  reply	other threads:[~2012-04-27  3:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-26 20:48 Achim Gratz
2012-04-27  3:19 ` Larry Hall (Cygwin) [this message]
2012-04-27  5:55   ` Achim Gratz
2012-04-27  8:42     ` Achim Gratz
2012-04-30 15:37       ` Larry Hall (Cygwin)
2012-05-08 13:19       ` Achim Gratz
2012-05-08 13:54         ` Achim Gratz
2012-05-08 13:56         ` Corinna Vinschen
2012-05-08 16:38           ` Achim Gratz
2012-05-08 17:29             ` Corinna Vinschen
2012-05-09  6:57               ` Achim Gratz
2012-05-09 18:17                 ` Corinna Vinschen
2012-05-09 18:39                   ` Achim Gratz
2012-06-26 16:37                   ` Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F9A0FFB.4080201@cygwin.com \
    --to=reply-to-list-only-lh@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).