lkml.org 
[lkml]   [2002]   [Jan]   [13]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 13 Jan 2002 21:13:21 -0500
FromBenjamin LaHaise <>
SubjectRe: Linux 2.4.18pre3-ac1
On Mon, Jan 14, 2002 at 12:47:54AM +0000, Alan Cox wrote:
> That is very useful information actually. That does rather imply that some
> of the performance hit came from the block I/O elevator differences in the
> old ac tree (the ones Linus hated ;)). Now the question (and part of the
> reason Linus didnt like them) - is why ?
Iirc, Linus just didn't like the low/high watermarks for starting & stopping 
io.  Personally, I liked it and wanted to use that mechanism for deciding 
when to submit additional blocks from the buffer cache for the device (it 
provides a nice means of encouraging batching).  The problem that started 
this whole mess was a combination of the missing wake_up in the block layer 
that I found, plus the horrendous io latency that we hit with a long io queue 
and no priorities.  The critical pages for swap in and program loading, as 
well as background write outs need to have a priority boost so that 
interactive feel is better.  Of course, with quite a few improvements in 
when we wait on ios going into the vm between 2.4.7 and 2.4.17, we don't 
wait as indiscriminately on io as we did back then.  But write out latency 
can still harm us.

In effect, it is a latency vs thruput tradeoff.

		-ben
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:15    [from the cache]
©2003-2008