public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Sravan Bhamidipati <bsravanin@gmail.com>
To: cygwin@cygwin.com
Subject: Re: High Activity of setprogname
Date: Thu, 19 May 2011 04:37:00 -0000	[thread overview]
Message-ID: <BANLkTinTO89ym2Jo=k3=d8ZJbcZ-j5nA9w@mail.gmail.com> (raw)
In-Reply-To: <BANLkTimbvqQbyWYmcu-YUAaGLOgCtv7nyQ@mail.gmail.com>

Terminals like mintty and rxvt are doing an unusual amount of context
switching and consuming a lot of CPU cycles even in idle time. Process
Explorer suggests that this activity is largely attributable to
"cygwin1.dll!setprogname". Could this be something that should not or
need not be done? (Running cygwin.bat directly to use Cygwin doesn't
show such activity.)

Most recently I've been seeing this behavior with Mintty v0.97, Cygwin
v1.7.9-1, Windows 7 Ultimate SP1 (x64, Build Version: 6.1.7601 Service
Pack 1 Build 7601). However I've noticed this in a few older versions
of Mintty, Cygwin as well, even on Windows XP.

You can also view the mintty thread where this discussion began:
http://code.google.com/p/mintty/issues/detail?id=265

Regards,
Sravan

--
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:[~2011-05-19  4:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BANLkTimbvqQbyWYmcu-YUAaGLOgCtv7nyQ@mail.gmail.com>
2011-05-19  4:37 ` Sravan Bhamidipati [this message]
2011-05-19 17:42   ` Ryan Johnson
2011-05-19 19:11     ` Christopher Faylor

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='BANLkTinTO89ym2Jo=k3=d8ZJbcZ-j5nA9w@mail.gmail.com' \
    --to=bsravanin@gmail.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).