From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eric Hanchrow Newsgroups: gmane.emacs.devel Subject: Re: Fix for slow process output processing (please test). Date: Sat, 03 Jan 2004 14:07:45 -0800 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87y8so7kjy.fsf@offby1.atm01.sea.blarg.net> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1073167876 11972 80.91.224.253 (3 Jan 2004 22:11:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 3 Jan 2004 22:11:16 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Jan 03 23:11:13 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ActzF-0005pq-00 for ; Sat, 03 Jan 2004 23:11:13 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ActzF-0006oL-00 for ; Sat, 03 Jan 2004 23:11:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Acuv5-0008E8-09 for emacs-devel@quimby.gnus.org; Sat, 03 Jan 2004 18:10:59 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Acuui-00088j-LQ for emacs-devel@gnu.org; Sat, 03 Jan 2004 18:10:36 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Acuu8-0007t9-37 for emacs-devel@gnu.org; Sat, 03 Jan 2004 18:10:31 -0500 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AcutV-0007ik-1v for emacs-devel@gnu.org; Sat, 03 Jan 2004 18:09:21 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Actvy-0007r1-00 for ; Sat, 03 Jan 2004 23:07:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Actvw-0007qt-00 for ; Sat, 03 Jan 2004 23:07:48 +0100 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Actvw-0001rj-00 for ; Sat, 03 Jan 2004 23:07:48 +0100 Original-Lines: 24 Original-X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1004 (Gnus v5.10.4) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:LrKhXMA/ULd9Wm8mJUTmKQNYKWI= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:18975 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18975 >>>>> "Kim" == Kim F Storm writes: Kim> David Kastrup and others have reported very slow processing Kim> of process output, particularly with the Linux kernel's Kim> scheduler giving emacs too much attention while starving the Kim> processing producing the output. Kim> Below is a patch ... I've noticed that shell-mode on very recent (i.e., since after New Year's) versions of CVS Emacs on Windows is quite slow, and the CPU usage is high, for a second or two after I hit RET (comint-send-input). I haven't yet investigated, but if this sounds like it might be related to your patch (which I think, but cannot right now confirm, is present on the Emacs in question), let me know if I can give you any more information. -- Software is largely a service industry operating under the persistent but unfounded delusion that it is a manufacturing industry. -- Eric Raymond