Michal Hocko: memcg topics and other MM stuff

July 10, 2013

Participants: Michal Hocko, Balbir Singh,

Jan Kara.

People tagged: Tejun Heo.

Michal Hocko, memory cgroups maintainer, proposes memcg discussions surrounding lowlimit/reclaim_threshold knobs to provide memory guarantees for cgroups and cgroup hierarchies. Tejun Heo objected to this functionality being provided via the existing soft_limit knob, so it would be good to discuss viable alternatives.

Michal would also like to discuss the dirty-page accounting (which appears to be well on its way to mainline) and the possibility of dirty-page throttling (which does not). He would also like to discuss userspace control of OOM handling, including the possibility of reusing oom_control, which is favored by Google. Other options include allowing kernel modules to handle OOM conditions or to allow a scripted interface.

Balbir Singh argues that VM overcommit should precede dirty-page throttling, and suggests that once VM overcommit is in place, the existing per-block-device throttlers should be made cgroup-aware.