Re: [PATCH] psi: Add PSI_CPU_FULL state

From: Johannes Weiner
Date: Mon Feb 08 2021 - 14:59:20 EST


On Sun, Feb 07, 2021 at 03:24:02PM +0800, Chengming Zhou wrote:
> The FULL state doesn't exist for the CPU resource at the system level,
> but exist at the cgroup level, means all non-idle tasks in a cgroup are
> delayed on the CPU resource which used by others outside of the cgroup.
>
> Co-developed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
> Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
> Signed-off-by: Chengming Zhou <zhouchengming@xxxxxxxxxxxxx>

Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>

That metric's come up in our production environment recently as well,
it makes a lot of sense.

In addition to outside competition, this also applies to downtimes
enforced by cpu.max - another cgroup usecase that is worth mentioning
in the changelog & code comment.

Thanks