[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[dm-devel] Re: IO scheduler based IO controller V10
- From: jim owens <jowens hp com>
- To: Linus Torvalds <torvalds linux-foundation org>
- Cc: dhaval linux vnet ibm com, peterz infradead org, dm-devel redhat com, dpshah google com, Jens Axboe <jens axboe oracle com>, agk redhat com, balbir linux vnet ibm com, paolo valente unimore it, jmarchan redhat com, fernando oss ntt co jp, Ulrich Lukas <stellplatz-nr 13a datenparkplatz de>, mikew google com, jmoyer redhat com, nauman google com, Ingo Molnar <mingo elte hu>, Vivek Goyal <vgoyal redhat com>, m-ikeda ds jp nec com, riel redhat com, lizf cn fujitsu com, fchecconi gmail com, containers lists linux-foundation org, Mike Galbraith <efault gmx de>, linux-kernel vger kernel org, akpm linux-foundation org, righi andrea gmail com
- Subject: [dm-devel] Re: IO scheduler based IO controller V10
- Date: Fri, 02 Oct 2009 12:01:08 -0400
Linus Torvalds wrote:
I really think we should do latency first, and throughput second.
Agree.
It's _easy_ to get throughput. The people who care just about throughput
can always just disable all the work we do for latency.
But in my experience it is not that simple...
The argument latency vs throughput or desktop vs server is wrong.
I/O can never keep up with the ability of CPUs to dirty data.
On desktops and servers (really many-user-desktops) we want
minimum latency but the enemy is dirty VM. If we ignore the
need for throughput to flush dirty pages, VM gets angry and
forced VM page cleaning I/O is bad I/O.
We want min latency with low dirty page percent but need to
switch to max write throughput at some high dirty page percent.
We can not prevent the cliff we fall off where the system
chokes because the dirty page load is too high, but if we
only worry about latency, we bring that choke point cliff in
so it happens with a lower load. A 10% lower overload point
might be fine to get 100% better latency, but would desktop
users accept a 50% lower overload point where running one
more application makes the system appear hung?
Even desktop users commonly measure "how much work can I do
before the system becomes unresponsive".
jim
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]