--On Tuesday, September 25, 2001 2:11 AM +0200 Matthias Andree
> Why are disk drives slower with their caches disabled on LINEAR writes?
Probably because sectors are so close together on the physical media.
If you disable write caching, and are writing sectors 1001, 1002, 1003
etc., you tell it to write sector 1001, and it doesn't complete until
it's written it, you IRQ the PC, and it sends the write out for 1002,
which completes a little later. However, by this time 1002 has
flown past the drive head, as it wasn't immediately queued on the drive.
If you had only one sector of writeahead, this effect would disappear
(but is just as theoretically dangerous if there is no way to force
a flush() of the write cache).
-- Alex Bligh - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to firstname.lastname@example.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Sep 30 2001 - 21:00:31 EST