Re: [PATCH] speed up SATA

From: Nuno Silva
Date: Sun Mar 28 2004 - 14:54:12 EST

Hash: SHA1

Bartlomiej Zolnierkiewicz wrote:
| On Sunday 28 of March 2004 20:12, William Lee Irwin III wrote:
|>On Sun, Mar 28, 2004 at 07:54:36PM +0200, Jens Axboe wrote:


|>>hardware. I absolutely refuse to put a global block layer 'optimal io
|>>size' restriction in, since that is the ugliest of policies and without
|>>having _any_ knowledge of what the hardware can do.
|>How about per-device policies and driver hints wrt. optimal io?
| Yep, user-tunable per-device policies with sane driver defaults.

I think that automagic configuration for the common workload with some
way (sysfs|proc) to retrieve and set policies is the way to go.

With this kind of control we could have /etc/init.d/io-optimize that
paused the startup for 10 seconds and tests every device|controller in
fstab and optimizes according to the .conf file for latency or speed...
Or a daemon that retrieves statistics and adjusts the policies every minute?

Also, everybody says "do it in userland". This is doing (some of) it in
userland :)

Nuno Silva

Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at