From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Fix for slow process output processing (please test). Date: 05 Jan 2004 19:52:04 +0000 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87y8so7kjy.fsf@offby1.atm01.sea.blarg.net> <2914-Mon05Jan2004210950+0200-eliz@elta.co.il> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1073335110 14746 80.91.224.253 (5 Jan 2004 20:38:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Jan 2004 20:38:30 +0000 (UTC) Cc: offby1@blarg.net, David Kastrup , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Jan 05 21:38:25 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 1AdbUX-0002xL-00 for ; Mon, 05 Jan 2004 21:38:25 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AdbUW-0005xR-00 for ; Mon, 05 Jan 2004 21:38:24 +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 1Adc6u-0001uD-Fj for emacs-devel@quimby.gnus.org; Mon, 05 Jan 2004 16:18:04 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Adc4e-0001Lg-L0 for emacs-devel@gnu.org; Mon, 05 Jan 2004 16:15:44 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Adc40-0001CY-Bd for emacs-devel@gnu.org; Mon, 05 Jan 2004 16:15:35 -0500 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1Adbmd-000443-Ex; Mon, 05 Jan 2004 15:57:07 -0500 Original-Received: from [194.106.56.14] (helo=server0027.freedom2surf.net) by mx20.gnu.org with esmtp (Exim 4.24) id 1Adam1-0003nw-24; Mon, 05 Jan 2004 14:52:25 -0500 Original-Received: from wanchan.jasonr.f2s.com (i-195-137-77-250.freedom2surf.net [195.137.77.250]) by server0027.freedom2surf.net (8.12.6/8.12.6/Debian-7) with ESMTP id i05JqJ0f003238; Mon, 5 Jan 2004 19:52:20 GMT Original-Received: from NYAUMO (nyaumo.jasonrumney.net [10.0.0.27]) by wanchan.jasonr.f2s.com (Postfix) with ESMTP id 97A56DDE5F; Mon, 5 Jan 2004 19:50:32 +0000 (GMT) Original-To: Eli Zaretskii In-Reply-To: <2914-Mon05Jan2004210950+0200-eliz@elta.co.il> Original-Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:19023 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19023 "Eli Zaretskii" writes: > > From: David Kastrup > > Date: 05 Jan 2004 16:57:14 +0100 > > > > > > I suppose that process-adaptive-read-buffering isn't really needed > > > on Windows, > > > > Since Windows is slow, anyway? > > I think the reason is that Windows never feeds Emacs with such small > chunks from a pipe. Maybe, but my understanding was that big chunks would still be reasonably fast using the new code, so we should try to find out. Perhaps there is a bug in our version of select that does not handle this situation properly, or perhaps the new buffering code needs further improvements.