delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/12/10:31:09

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <4A82D203.6060007@cornell.edu>
Date: Wed, 12 Aug 2009 10:30:27 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: run-1.1.11-1
References: <200908101812 DOT n7AICVXY019082 AT gridley DOT byu DOT edu> <4A8239BC DOT 8080401 AT byu DOT net> <20090812134355 DOT GB13438 AT calimero DOT vinschen DOT de>
In-Reply-To: <20090812134355.GB13438@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 8/12/2009 9:43 AM, Corinna Vinschen wrote:
> On Aug 11 21:40, Eric Blake wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> According to Charles Wilson on 8/10/2009 11:51 AM:
>>> The run package provides a simple application to launch console programs
>>> with their console hidden.
>> I'm now seeing urxvt-X consume 100% CPU when it is invoked via /bin/run on
>> a batch script.  Reverting to run-1.1.10-1 fixes the CPU hogging.  This
>> was on XP SP3 under cygwin 1.5; similar 100% CPU usage results for
>> run-1.1.11-10 under cygwin 1.7.
> 
> I can confirm this.  It only happens with urxvt-X for some reason.
> I don't see this for xterm, or xeyes, or xclock.

I'm seeing performance problems in emacs when started via the new 
run.exe under X.  I have a desktop shortcut whose target is

   D:\cygwin-1.7\bin\run.exe D:\cygwin-1.7\home\kbrown\bin\startemacs.bat

Here startemacs.bat is:

$ cat bin/startemacs.bat
@echo off
SET DISPLAY=127.0.0.1:0.0
SET CYGWIN_ROOT=\cygwin-1.7
SET RUN=%CYGWIN_ROOT%\bin\run -p /usr/bin
SET PATH=%CYGWIN_ROOT%\bin;%PATH%
%RUN% bash -l -c /usr/bin/emacs&

I'm running XP SP3.  To reproduce the problem:

1. Start the X server by using the start menu shortcut (which invokes 
run.exe on startxwin.bat).
2. Start emacs by the shortcut above.
3. List the home directory via C-x d [RET].
4. Repeatedly press the space bar to scroll through the list.  There is 
often a delay before the cursor moves.

Reverting to run-1.1.10-1 solves the problem.

Ken

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