Re: [External] Re: [PATCH] psi: Add PSI_CPU_FULL state
From: Chengming Zhou
Date: Mon Feb 08 2021 - 20:50:34 EST
在 2021/2/9 上午2:18, Johannes Weiner 写道:
> 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.
Thank you, I will add this and send patch-v2.
> Thanks