Re: Time sliced CFQ io scheduler

Andrew Morton
2004-12-08T07:39:03Z

Jens Axboe <axboe@suse.de> 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.