[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200103094853.GM22847@blackbody.suse.cz>
Date: Fri, 3 Jan 2020 10:48:54 +0100
From: Michal Koutný <mkoutny@...e.com>
To: teawater <teawaterz@...ux.alibaba.com>
Cc: Chris Down <chris@...isdown.name>, Hui Zhu <teawater@...il.com>,
Johannes Weiner <hannes@...xchg.org>,
Michal Hocko <mhocko@...nel.org>, vdavydov.dev@...il.com,
akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
cgroups@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [RFC] memcg: Add swappiness to cgroup2
On Thu, Dec 26, 2019 at 02:56:40PM +0800, teawater <teawaterz@...ux.alibaba.com> wrote:
> For example, an application does a lot of file access work in a
> memory-constrained environment.
> [...]
> Both of them are extreme examples.
The examples are quite generic. Do cgroup v2 controls really prevent
handling such workloads appropriately?
Besides that, note that per-cgroup swappiness as used in v1 cannot be
simply transferred into v2 because, it's a concept that doesn't take
into account cgroup hierarchies (how would parent's swappiness affect
children? what would swappiness on inner nodes mean?).
HTH,
Michal
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists