lkml.org 
[lkml]   [2004]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: iowait problems on 2.6, not on 2.4
Doug Ledford <dledford@redhat.com> wrote:
>
> But, I could be wrong. Give it a try and see what happens. In the 2.4
> kernels I would tell you to tweak /proc/sys/vm/{min,max}-readahead,
> don't know if those two knobs still exist in 2.6 and if they have the
> same effect. Andrew?

blockdev --setra N /dev/sda (N is in 512 byte units)

echo N > /sys/block/sda/queue/read_ahead_kb (N is in kilobytes)

Also there was breakage (recently fixed) in which /dev/sdaN's readahead
setting was being inherited from the blockdev on which /dev resides. But
reading regular files is OK.

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

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