Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp137337pxb; Mon, 8 Feb 2021 17:53:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJynylKNJE/wC3w1slEYmqa5WMFCJF6YvGBzbKVkc5i1DW1nrSCoz3+yQ6cJJJUB24FGoiL4 X-Received: by 2002:a17:906:c413:: with SMTP id u19mr19992416ejz.147.1612835612870; Mon, 08 Feb 2021 17:53:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612835612; cv=none; d=google.com; s=arc-20160816; b=Gp6YV2czHqphsII2WjgcEqi2KeulOqLu6mQO5W92/PltjdPFPpXH4XolS9i8rm8cmE 3FqqO5wGwolTdhLivZSmOdNttif095fXpHdmONNWMasUcUCEVe0Xd+nOjdHs915x4V/B QQy1jEUvgXTudTFZoVIMG3kDqsSxsGZITwmUMbTXDbuBwbiCXEC6ofnJvBrJn9d9lGwE Cs/MnCc1UZpk6UJh9aO5zeKkuQyzCfO8ovE/lnCgkDpx6FpI/RzSqDfn7Cn41BGhFCus a12Lk19IX+Z22tpDnQ4VEtPzVgYawboUCm0Wu2AaSX8z8WFFXX2THPsLDZ/9WDhu0XwR 9ekg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject:dkim-signature; bh=8sv6X8syVHw1MIFVnsFs4iqBtg0ahotEAO2Dby5NCpU=; b=o0j86THDOOO3nli6BpLDp4kAaB6Ua+MvkPCVi4XkV7SogRlcJSseQE/bCOyObArIFX 9HOPn5JSl27Mf+UOHCvv6gqDG4JJ4mYfdF6YoLlJzQGokc6F1xFeS/sr8GDE4oJdnww0 ILchhYB9WoHQxdC6LJTTNQgZDcX70voAcxlavMlacqYLrMr9ufWPpKwunizDu1MH+wmo Gjd3EnYKAhGvJgNRrKWOeA+LTgIOaW+JJ1ocL5FXv3waOdMrfm4bkBIIbbsfbPwyW+HW acMJLIDEQjUlrADcry9HgP9EpGp54ZuqIUC9ewHTtEcq6Eu9VuaVbtz7giyHQSmrUMmp F4cQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20150623.gappssmtp.com header.s=20150623 header.b=iYuo4Ld9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dp16si7464444ejc.520.2021.02.08.17.53.10; Mon, 08 Feb 2021 17:53:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance-com.20150623.gappssmtp.com header.s=20150623 header.b=iYuo4Ld9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229975AbhBIBuV (ORCPT + 99 others); Mon, 8 Feb 2021 20:50:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229721AbhBIBuU (ORCPT ); Mon, 8 Feb 2021 20:50:20 -0500 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7CD2C061786 for ; Mon, 8 Feb 2021 17:49:40 -0800 (PST) Received: by mail-pj1-x102d.google.com with SMTP id q72so668337pjq.2 for ; Mon, 08 Feb 2021 17:49:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=8sv6X8syVHw1MIFVnsFs4iqBtg0ahotEAO2Dby5NCpU=; b=iYuo4Ld9rJKpnWlst5Klip3cA0uIYA463UoQfUlm/ElZXIEuJ9xOYyWIQPmO05T52D lsdTx4V2qLKSR6bZWN1CqWototlMMdjJ7LRHfAg45/+FgGaCKErnR6JUzNOTe7K5GlY8 oWCx4rAEEpbyUCqcc+dOclWiENK6Fjg4dxZ0rXZY9Tbipsy4umONf/gn0LSrRR3gSh2c 8S1k1JrOc4bGdIhSFHduHa0rGtFeNA0LPy+Mmqu6DGzoCKrdGDmy7ZzIdhSr9VK4y9o7 p1pbEp3aovV2Kq+OF58bEq1L5V/DeZPzQg06pGN5fcf3Rgspbow0oH6i3QfOp0AgRPwJ EXcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=8sv6X8syVHw1MIFVnsFs4iqBtg0ahotEAO2Dby5NCpU=; b=H4a3JRfsLx2I0GwE94yU/Shb2U8beEDA2Ec09HiBn7K+xylGSjlJCG2XtUmSYQkmKV 7RNDmoz098rIVOQ/io/5auw/UtSE+bdYZFIOgDSaHVMVl7kS7MYwjbazlY1frv6ycOMh 685r8bfuMk+QkdQDcU3hy9zg061v1oZTR5oxGXsOWmrNXFIGJnV5gy+R30jYcRbtHOYJ uAhft31b2Vn0dTn5RtYPMiVXyC6o4Fwir+MT4WWhyMm83ft9nV2GjsNx/NSs9wndpbVB JAyDWO50qY1P2M2SiUJe4qtxQGMSyGpSfLB1SyXbw5J5yBW3o8UH2oHzTcM/z2kiuIDy XeLw== X-Gm-Message-State: AOAM530qki/3rBet90JcSJ37qvCF5LFjgRb4x554bwJ7t6NZiG92pURX gJVGkWzwywo9K16YZEKKGj8vGg== X-Received: by 2002:a17:90a:c789:: with SMTP id gn9mr1662640pjb.101.1612835380312; Mon, 08 Feb 2021 17:49:40 -0800 (PST) Received: from [10.255.96.22] ([139.177.225.229]) by smtp.gmail.com with ESMTPSA id y2sm488470pjw.36.2021.02.08.17.49.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Feb 2021 17:49:39 -0800 (PST) Subject: Re: [External] Re: [PATCH] psi: Add PSI_CPU_FULL state To: Johannes Weiner Cc: mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, rostedt@goodmis.org, dietmar.eggemann@arm.com, linux-kernel@vger.kernel.org, songmuchun@bytedance.com References: <20210207072402.67532-1-zhouchengming@bytedance.com> From: Chengming Zhou Message-ID: <2cb984f3-fb8b-df26-31a2-8a091213d87e@bytedance.com> Date: Tue, 9 Feb 2021 09:49:34 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 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 >> Signed-off-by: Muchun Song >> Signed-off-by: Chengming Zhou > Acked-by: Johannes Weiner > > 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