Re: [PATCH] 2.4.20-rmap15a

Rik van Riel (riel@conectiva.com.br)
Mon, 2 Dec 2002 21:10:03 -0200 (BRST)


On Mon, 2 Dec 2002, Willy Tarreau wrote:

> - not one, but two elevators, one for read requests, one for write requests.
> - we would process one of the request queues (either reads or writes), and
> after a user-settable amount of requests processed, we would switch to the

OK, lets for the sake of the argument imagine such an
elevator, with Read and Write queues for the following
block numbers:

R: 1 3 4 5 6 20 21 22 100 110 111

W: 2 15 16 17 18 50 52 53

Now imagine what switching randomly between these queues
would do for disk seeks. Especially considering that some
of the writes can be "sandwiched" in-between the reads...

Rik

-- 
Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/		http://guru.conectiva.com/
Current spamtrap:  <a href=mailto:"october@surriel.com">october@surriel.com</a>

- 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/