On Thu 20-02-20 19:06:04, Kirill A. Shutemov wrote: > On Fri, Feb 14, 2020 at 11:45:41AM +0100, Michal Hocko wrote: > > On Wed 05-02-20 10:34:57, Tim Chen wrote: > > > There is existing infrastructure for memory soft limit per cgroup we > > > can leverage to implement such a scheme. We'll like to find out if this > > > approach makes sense for people working on systems with multiple memory tiers. > > > > Soft limit is dead. > > Michal, could you remind what the deal with soft limit? Why is it dead? because of the very disruptive semantic. Essentially the way how it was grafted into the normal reclaim. It is essentially a priority 0 reclaim round to shrink a hierarchy which is the most in excess before we do a normal reclaim. This can lead to an over reclaim, long stalls etc. There were a lot of discussions on that matter on the mailing list few years back. We have tried to make the semantic more reasonable but failed on that and the result is a new cgroup v2 interface essentially. -- Michal Hocko SUSE Labs