On Wed, 2007-06-20 at 11:20 +0200, Jens Axboe wrote:
Yes, I see the problem, benching the device is hard; you don't want it
to do it each time, nor for it to take too long. Also, write performance
might be destructive, also not quite wanted :-/
/me sees this libtune doom on the horizon again.
Something adaptive would be best, something that inserts barriers and
measures the time to complete and then solves the read speed, write
speed and seek latency. All during normal operation.
That would entail storing a bunch of these sample points, solve the
equation for sets of 3, and (time-) average the results.. ugh
-