Re: IO scheduler based IO controller V10

From: Linus Torvalds
Date: Fri Oct 02 2009 - 11:16:39 EST




On Fri, 2 Oct 2009, Jens Axboe wrote:
>
> Mostly they care about throughput, and when they come running because
> some their favorite app/benchmark/etc is now 2% slower, I get to hear
> about it all the time. So yes, latency is not ignored, but mostly they
> yack about throughput.

The reason they yack about it is that they can measure it.

Give them the benchmark where it goes the other way, and tell them why
they see a 2% deprovement. Give them some button they can tweak, because
they will.

But make the default be low-latency. Because everybody cares about low
latency, and the people who do so are _not_ the people who you give
buttons to tweak things with.

> I agree, we can easily make CFQ be very about about latency. If you
> think that is fine, then lets just do that. Then we'll get to fix the
> server side up when the next RHEL/SLES/whatever cycle is honing in on a
> kernel, hopefully we wont have to start over when that happens.

I really think we should do latency first, and throughput second.

It's _easy_ to get throughput. The people who care just about throughput
can always just disable all the work we do for latency. If they really
care about just throughput, they won't want fairness either - none of that
complex stuff.

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