From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2341 invoked by alias); 19 May 2011 04:37:37 -0000 Received: (qmail 2268 invoked by uid 22791); 19 May 2011 04:37:36 -0000 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 Received: from mail-vw0-f43.google.com (HELO mail-vw0-f43.google.com) (209.85.212.43) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 May 2011 04:37:21 +0000 Received: by vws10 with SMTP id 10so2288359vws.2 for ; Wed, 18 May 2011 21:37:21 -0700 (PDT) Received: by 10.52.100.70 with SMTP id ew6mr3852705vdb.95.1305779841071; Wed, 18 May 2011 21:37:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.162.4 with HTTP; Wed, 18 May 2011 21:37:01 -0700 (PDT) In-Reply-To: References: From: Sravan Bhamidipati Date: Thu, 19 May 2011 04:37:00 -0000 Message-ID: Subject: Re: High Activity of setprogname To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-05/txt/msg00261.txt.bz2 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