On Thu, May 12, 2011 at 5:40 PM, Rik van Riel <riel@xxxxxxxxxx> wrote:
On 05/12/2011 02:47 PM, Ying Han wrote:Johannes addresses these in his patch series.
TODO:
a) there was a question on how to do zone balancing w/o global LRU. This could be
solved by building another cgroup list per-zone, where we also link cgroups under
their soft_limit. We won't scan the list unless the first list being exhausted and
the free pages is still under the high_wmark.
b). one of the tricky part is to calculate the target nr_to_scan for each cgroup,
especially combining the current heuristics with soft_limit exceeds. it depends how
much weight we need to put on the second. One way is to make the ratio to be user
configurable.
That would be great, I am reading through his patch and apparently not getting there yet :)
Looks like you also have some things Johannes doesn't have.
Ying Han (4):
Disable "organizing cgroups over soft limit in a RB-Tree"
Organize memcgs over soft limit in round-robin.
Implementation of soft_limit reclaim in round-robin.
Add some debugging stats
It may be good for the two patch series you have to get
merged into one series, before stuff gets merged upstream.
Yes, that is my motivation here to post the patch here :)
--Ying
--
All rights reversed