On Mon, 2008-08-04 at 22:55 -0700, Paul Menage wrote:
As Dave suggested, I think it would make more sense to have your
page-dirtying throttle points hook into the memory controller instead,
and allow the memory controller to track/limit dirty pages for a
cgroup, and potentially do throttling as part of that.
Yeah, I'm sure we're going to have to get to setting the dirty ratio
$ cat /proc/sys/vm/dirty_ratio
40
on a per-container basis at *some* point. We might as well do it
earlier rather than later.
-- Dave