Re: elevator-starvation-4 (2.2.14 && 2.3.42)

From: Stephen C. Tweedie (sct@redhat.com)
Date: Tue Feb 15 2000 - 09:46:06 EST


Hi,

On Mon, 14 Feb 2000 18:00:22 -0800, Bruce Thompson
<bruce@otherother.com> said:

> Then I'm confused. If request overrun has been addressed then how
> can the oft quoted "cat /dev/zero > /foo/bar" trick cause a problem?
> Am I completely missing how this messes everything up?

Because these two things --- IO scheduling and writeback flow control
--- are done by completely different components of the system, and with
completely different purposes.

Write-behind, left unchecked, can obviously fill the whole of available
memory with dirty, pinned buffers. Flow-control on write-behind is
primarily a VM problem: we have to prevent dirty data from overwhelming
the caches. However, we may still quite legitimately find ourselves
with many MB of dirty data pending in the write queues before write
throttling kicks in.

That much dirty data can clearly overwhelm the fairness of a simple
CSCAN elevator scheduler, even when write throttling is working
correctly.

--Stephen

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



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:29 EST