delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/05/19/00:37:46

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.2 required=5.0 tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,TW_RX,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <BANLkTimbvqQbyWYmcu-YUAaGLOgCtv7nyQ@mail.gmail.com>
References: <BANLkTimbvqQbyWYmcu-YUAaGLOgCtv7nyQ AT mail DOT gmail DOT com>
From: Sravan Bhamidipati <bsravanin AT gmail DOT com>
Date: Thu, 19 May 2011 10:07:01 +0530
Message-ID: <BANLkTinTO89ym2Jo=k3=d8ZJbcZ-j5nA9w@mail.gmail.com>
Subject: Re: High Activity of setprogname
To: cygwin AT cygwin DOT com
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

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

- Raw text -


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