Re: Benefits from computing physical IDE disk geometry?
John Bradford (john@grabjohn.com)
Sun, 13 Apr 2003 17:15:51 +0100 (BST)
> > So, what if one were to write a program which would perform a bunch of
> > seek-time tests to estimate an IDE disk's physical geometry? It could then
> > make that information available to the kernel to use to reorder accesses
> > more optimally.
>
> Its a common misconception that a disk looks something like it did 15
> years ago. Your ATA disk is basically an entire standalone computer
> running a small OS. The physical disk layout does not divide neatly
> into equal sized cylinders and some blocks may even be in suprising
> places due to bad block sparing or anything else the drive manufacturer
> felt appropriate.
Is the basic assumption that lower block numbers are generally located
in zones nearer the outside of the disk still true, though? I.E. do
you know of any disks that 'start from the middle'? I usually
recommend that people place their swap and /var partitions near the
beginning of the disk, (for a _slight_ improvement), but maybe there
is a good reason not to do this for some disks?
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/