Re: Readahead value 128K? (was Re: Drastic Slowdown of 'fseek()'Calls From 2.4 to 2.6 -- VMM Change?)

From: Mark Lord
Date: Sun Mar 12 2006 - 17:13:03 EST


Marr wrote:

I tried turning 'readahead' off entirely ('hdparm -A0 /dev/hda') and, although

No, that should be "hdparm -a0 /dev/hda" (lowercase "-a").
And the same "-a" for all of your other test variants.

If you did it all with "-A", then the results are invalid,
and need to be redone.

The hdparm manpage explains this, but in a nutshell, "-A" is the
low-level drive firmware "look-ahead" mechanism, whereas "-a" is
the Linux kernel "read-ahead" scheme.

In general, most uppercase hdparm flags are drive *firmware* settings.

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