Re: READAHEAD

From: Andrew Morton
Date: Fri Oct 31 2003 - 04:28:01 EST


age <ahuisman@xxxxxxxxxx> wrote:
>
> > Lots of people have been reporting this. It's rather weird.
> >
> > Is the same effect observable when reading a large file, or is it only
> > observable via `hdparm -t'?
> >
>
> Hi Andrew,
>
> Here are some tests with bonnie++.

Like so many of these things, bonnie++ is generally far, far too complex
for kernel performance tuning.

Please, just use time, cat, dd, etc.

mount /dev/xxx /mnt/yyy
dd if=/dev/zero of=/mnt/yyy/x bs=1M count=1024
umount /dev/xxx
mount /dev/xxx /mnt/yyy
time cat /mnt/yyy/x > /dev/null

nice'n'easy.

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