Re: [PATCH] 2.4.10 improved reiserfs a lot, but could still be better

John Alvord (jalvo@mbay.net)
Tue, 25 Sep 2001 08:23:10 -0700 (PDT)


On Tue, 25 Sep 2001, Alex Bligh - linux-kernel wrote:

>
>
> --On Tuesday, September 25, 2001 2:11 AM +0200 Matthias Andree
> <matthias.andree@stud.uni-dortmund.de> wrote:
>
> > 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.

There used to be stupid hard disk formatting tricks where the sector
numbers were interleaved

1001 1008 1002 1009 1003 1010 1004 1011 1005 1012 1006 1013 1007 1014

just to gain that enhancement. I also remember an ancient IBM Dasd trick
where the sectors were offset just slightly so that a track to track
switch could pick up the next sector in time.

Ancient history...
john

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