[lkml]   [2003]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Disk performance degradation (Måns Rullgård) wrote:
> Mike Dresser <> writes:
> > Probably for reasons like that. For some reason, I can't set my ICH4
> > based controller(ASUS P4B533) and Quantum Fireball AS40.0 to more than
> > 255. Kernel is 2.4.21
> It appears that in 2.[56] kernels the unit for readahead is bytes,
> rather than sectors, as used in 2.4 kernels.

The ioctl which is used by

blockdev --setra

is still in 512-byte units.

There are other backdoors such as IDE-private /proc files which can be used
to set readahead. I'm not sure what units they use, and I don't know what
mechanism hdparm is using to diddle readahead.

Whatever it is, I suggest you ignore it and use /sbin/blockdev; it works
for all disk types.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:47    [W:0.070 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site