Re: Time sliced CFQ io scheduler

From: Andrew Morton
Date: Wed Dec 08 2004 - 02:50:59 EST


Jens Axboe <axboe@xxxxxxx> wrote:
>
> I think we need to end up with something that sets the machine profile
> for the interesting disks. Some things you can check for at runtime
> (like the writes being extremely fast is a good indicator of write
> caching), but it is just not possible to cover it all. Plus, you end up
> with 30-40% of the code being convoluted stuff added to detect it.

We can detect these things from userspace. Parse the hdparm/scsiinfo
output, then poke numbers into /sys tunables.

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