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: David Kastrup
Subject: Re: Fix for slow process output processing (please test).
Date: 05 Jan 2004 23:50:36 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

address@hidden (Kim F. Storm) writes:

> David Kastrup <address@hidden> writes:
> 
> > address@hidden (Kim F. Storm) writes:
> > 
> > > I suppose that process-adaptive-read-buffering isn't really needed
> > > on Windows,
> > 
> > Since Windows is slow, anyway?
> 
> Because the purpose of my patch was to fix a problem reported to be
> specific for recent Linux kernels.

Not just recent ones.  They may have parameters acerbating the
problem, but it has always been there.  IIRC, the same effect was
reported from FreeBSD; and I think it likely that almost all operating
systems that proud themselves on high throughput and good
interactivity and fast context switches will suffer from the same
phenomenon when running on single processor machines, as long as they
are able to reschedule the moment input arrives in a pipe.  You need
pretty wild scheduler strategies (like "anticipative scheduling") in
order to avoid this effect.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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