Re: [PATCH 2/8] readahead: make default readahead size a kernelparameter

From: Jan Kara
Date: Wed Nov 30 2011 - 11:09:20 EST


On Wed 30-11-11 21:29:28, Wu Fengguang wrote:
> > cat /etc/udev/rules.d/60-readahead.rules
> > #
> >
> >
> >
> > # Rules to set an increased default max readahead size for s390 disk
> > devices
> >
> >
> > # This file should be installed in /etc/udev/rules.d
> >
> >
> >
> > #
> >
> > SUBSYSTEM!="block", GOTO="ra_end"
> >
> > ACTION!="add", GOTO="ra_end"
> >
> > # on device add set initial readahead to 512 (instead of in kernel 128)
> >
> > KERNEL=="sd*[!0-9]", ATTR{queue/read_ahead_kb}="512"
> >
> > KERNEL=="dasd*[!0-9]", ATTR{queue/read_ahead_kb}="512"
>
> So SLES (@s390 and maybe more) is already shipping with 512kb
> readahead size? Good to know this!
SLES (and openSUSE) since about 2.6.16 times is shipping with 512kb
readahead on everything... With some types of storage it makes a
significant difference.

Honza
--
Jan Kara <jack@xxxxxxx>
SUSE Labs, CR
--
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/