Messages in this thread | | | Date | Sun, 28 Mar 2004 20:52:39 +0100 | From | Nuno Silva <> | Subject | Re: [PATCH] speed up SATA |
| |
-----BEGIN PGP SIGNED MESSAGE----- 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 :)
Regards, Nuno Silva
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAZy0GOPig54MP17wRAmWMAKDT3GKF/Wp/yYDzxyX+YK9kkTuMFgCg5mD3 HlngYjEwzo/lRAfHn/tnsQg= =bC9f -----END PGP SIGNATURE----- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |