emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fix for slow process output processing (please test).


From: Kim F. Storm
Subject: Re: Fix for slow process output processing (please test).
Date: 04 Jan 2004 23:42:33 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Eric Hanchrow <address@hidden> writes:

> >>>>> "Kim" == Kim F Storm <address@hidden> 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.

Does the problem go away if you do

        M-: (setq process-adaptive-read-buffering nil) RET

before starting shell-mode ?

I suppose that process-adaptive-read-buffering isn't really needed on Windows,
so we could just turn it off in lisp/term/w32-win.el.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]