Re: dm-ioband + bio-cgroup benchmarks

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrea Righi
Date: Friday, September 26, 2008 - 9:11 am

Vivek Goyal wrote:
[snip]

Vivek, thanks for the detailed explanation. Only a comment. I guess, if
we don't change also the per-process optimizations/improvements made by
some IO scheduler, I think we can have undesirable behaviours.

For example: CFQ uses the per-process iocontext to improve fairness
between *all* the processes in a system. But it doesn't have the concept
that there's a cgroup context on-top-of the processes.

So, some optimizations made to guarantee fairness among processes could
conflict with algorithms implemented at the cgroup layer. And
potentially lead to undesirable behaviours.

For example an issue I'm experiencing with my cgroup-io-throttle
patchset is that a cgroup can consistently increase the IO rate (always
respecting the max limits), simply increasing the number of IO worker
tasks respect to another cgroup with a lower number of IO workers. This
is probably due to the fact the CFQ tries to give the same amount of
"IO time" to all the tasks, without considering that they're organized
in cgroup.

I don't see this behaviour with noop or deadline, because they don't
have the concept of iocontext.

-Andrea
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
dm-ioband + bio-cgroup benchmarks, Ryo Tsuruta, (Thu Sep 18, 5:04 am)
Re: dm-ioband + bio-cgroup benchmarks, Vivek Goyal, (Thu Sep 18, 6:15 am)
Re: dm-ioband + bio-cgroup benchmarks, Andrea Righi, (Thu Sep 18, 7:37 am)
Re: dm-ioband + bio-cgroup benchmarks, Vivek Goyal, (Thu Sep 18, 8:06 am)
Re: dm-ioband + bio-cgroup benchmarks, Andrea Righi, (Thu Sep 18, 8:18 am)
Re: dm-ioband + bio-cgroup benchmarks, Vivek Goyal, (Thu Sep 18, 9:20 am)
Re: dm-ioband + bio-cgroup benchmarks, Andrea Righi, (Thu Sep 18, 12:54 pm)
Re: [dm-devel] Re: dm-ioband + bio-cgroup benchmarks, Hirokazu Takahashi, (Thu Sep 18, 8:34 pm)
Re: dm-ioband + bio-cgroup benchmarks, Hirokazu Takahashi, (Thu Sep 18, 11:12 pm)
Re: dm-ioband + bio-cgroup benchmarks, Takuya Yoshikawa, (Fri Sep 19, 1:49 am)
Re: dm-ioband + bio-cgroup benchmarks, Hirokazu Takahashi, (Fri Sep 19, 4:20 am)
Re: dm-ioband + bio-cgroup benchmarks, Ryo Tsuruta, (Fri Sep 19, 4:31 am)
Re: dm-ioband + bio-cgroup benchmarks, Vivek Goyal, (Fri Sep 19, 6:10 am)
Re: dm-ioband + bio-cgroup benchmarks, Vivek Goyal, (Fri Sep 19, 6:12 am)
Re: dm-ioband + bio-cgroup benchmarks, Andrea Righi, (Fri Sep 19, 1:28 pm)
Re: [dm-devel] Re: dm-ioband + bio-cgroup benchmarks, KAMEZAWA Hiroyuki, (Fri Sep 19, 9:27 pm)
Re: [dm-devel] Re: dm-ioband + bio-cgroup benchmarks, Balbir Singh, (Fri Sep 19, 10:18 pm)
Re: [dm-devel] Re: dm-ioband + bio-cgroup benchmarks, KAMEZAWA Hiroyuki, (Sat Sep 20, 2:25 am)
Re: dm-ioband + bio-cgroup benchmarks, Hirokazu Takahashi, (Mon Sep 22, 2:36 am)
Re: dm-ioband + bio-cgroup benchmarks, Hirokazu Takahashi, (Mon Sep 22, 2:45 am)
Re: dm-ioband + bio-cgroup benchmarks, Vivek Goyal, (Mon Sep 22, 7:30 am)
Re: dm-ioband + bio-cgroup benchmarks, Hirokazu Takahashi, (Wed Sep 24, 1:29 am)
Re: dm-ioband + bio-cgroup benchmarks, Hirokazu Takahashi, (Wed Sep 24, 3:18 am)
Re: dm-ioband + bio-cgroup benchmarks, Hirokazu Takahashi, (Wed Sep 24, 3:34 am)
Re: dm-ioband + bio-cgroup benchmarks, Balbir Singh, (Wed Sep 24, 5:38 am)
Re: dm-ioband + bio-cgroup benchmarks, Vivek Goyal, (Wed Sep 24, 7:03 am)
Re: dm-ioband + bio-cgroup benchmarks, Vivek Goyal, (Wed Sep 24, 7:52 am)
Re: dm-ioband + bio-cgroup benchmarks, Vivek Goyal, (Wed Sep 24, 7:53 am)
Re: dm-ioband + bio-cgroup benchmarks, Hirokazu Takahashi, (Fri Sep 26, 5:42 am)
Re: dm-ioband + bio-cgroup benchmarks, Hirokazu Takahashi, (Fri Sep 26, 6:04 am)
Re: dm-ioband + bio-cgroup benchmarks, Andrea Righi, (Fri Sep 26, 8:56 am)
Re: dm-ioband + bio-cgroup benchmarks, Andrea Righi, (Fri Sep 26, 9:11 am)
Re: dm-ioband + bio-cgroup benchmarks, Andrea Righi, (Fri Sep 26, 10:11 am)
Re: dm-ioband + bio-cgroup benchmarks, Andrea Righi, (Fri Sep 26, 10:30 am)
Re: dm-ioband + bio-cgroup benchmarks, Hirokazu Takahashi, (Mon Sep 29, 3:40 am)
Re: dm-ioband + bio-cgroup benchmarks, Hirokazu Takahashi, (Mon Sep 29, 5:07 am)
Re: dm-ioband + bio-cgroup benchmarks, Pavel Emelyanov, (Mon Sep 29, 5:13 am)