lkml.org 
[lkml]   [2009]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: IO controller discussion (Was: Re: [PATCH 01/10] Documentation)
On Sun, 19 Apr 2009 17:53:59 +0200
Andrea Righi <righi.andrea@gmail.com> wrote:
> >
> > Got a question for you. Does memory controller already have the per cgroup
> > dirty pages limit? If no, has this been discussed in the past? if yes,
> > what was the conclsion?
>

IMHO, dirty page handling and I/O throttling is a different problem.

- A task (or cgroup) which makes the page dirty
and
- A task (or cgroup) to which a page is accounted

Is different from each other, in general.

I have a plan to add dirty_ratio to memcg, but it's for avoiding massive stavation in
memory reclaim, not for I/O control.

If you want to implement I/O throttle in MM layer, plz don't depend on memcg.
The perpose is different.

Thanks,
-Kame



\
 
 \ /
  Last update: 2009-04-21 03:21    [W:0.794 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site