Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1228028pxj; Fri, 21 May 2021 09:12:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzFAzcgJSkjJ7EBqgIDqntnDvTo8BxqBo89ID3Jt1GTG7B1S5ZkfgIkm+qmz4VhmomA6g9 X-Received: by 2002:aa7:db90:: with SMTP id u16mr11839019edt.106.1621613522408; Fri, 21 May 2021 09:12:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621613522; cv=none; d=google.com; s=arc-20160816; b=cjFq6EckVaZmPmYlvg7RcDfahT42RgkcPdmdhdjKPjmdgW5KYdLu/XVf5/7T+m0z0+ yq/h9SVduiNkomnydXIf4yirtxwNWKRBopoNN9fLQxFAKKaSZLhGqw4lEl87vZ0G8h6c g2gqrAVcaiLNePh8UszTct/JnuFaTOhhskpoj6VvaH4QGVexetAStMJwvRq+SgnTMjei C4PRzrk3lhfgAXKwoEwJ+f0UQ/0ccoeAHq/vlr53veWn91XP8mxm46xKDxRJWtJ0hcgE tCDe8Pehu64a9+yZise2M8RT7Aa5fFtviQfzdNLZttU5/o0f7MbaDCYOF+4Kv4NxNbiW YlpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=K7PsYJ63dL59j+Dd8NJqcKhEcRQRpXueEm7j8EFqrA4=; b=TEiYxeXqFCZFYKhZmPXIL/mWNPmxSHYsvLzuqrQb2z3RFeruA/asX0QrL88GXEg8ts TRWhy2dxsoY72X3qbTFv1/YqPEjf2SajB332MpzGxfFCUBRcnBrCRuWlZqzlnlshWNvU QTPX5KySwOiaOzRpvvHQxyxnO+mQCEv1aUk5GlCIqdkmDh7TntaNZPqURlrq9955Yhn/ gzmSGyiMHfdRZ0MUP1sXEOZSC+b3k0G0PePyhTiOTQsx5+Vi62g7liIb4c78cpCvxqfj NNF/r2ANTu7Tvmha2+mOY/WMo13JouQW8vBJHP7ji/wWHQ+zF/xevdVHCo9hwGc/oZOI 0A3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oWjDfk1b; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id by20si5871280ejb.660.2021.05.21.09.11.30; Fri, 21 May 2021 09:12:02 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=oWjDfk1b; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234787AbhETRIE (ORCPT + 99 others); Thu, 20 May 2021 13:08:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231561AbhETRID (ORCPT ); Thu, 20 May 2021 13:08:03 -0400 Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14C6AC061574 for ; Thu, 20 May 2021 10:06:41 -0700 (PDT) Received: by mail-qt1-x831.google.com with SMTP id i19so6784270qtw.9 for ; Thu, 20 May 2021 10:06:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=K7PsYJ63dL59j+Dd8NJqcKhEcRQRpXueEm7j8EFqrA4=; b=oWjDfk1bKNd8MZ91d3wohIdY8MGPtMVO2eb7XVY71Z2cwLmi62OAnCvhLJbXPJNt25 vQsBTcZ4qaCZ3hHgUZw98Eyg/dny4GcAmA/g2AyM26qTFpl6vkmkDynBpCoefdWOzvnr HqiV00s2SZf1E3MIUx5jhtHF9DVN3H4H3V2mL7qZjzTrlyVxawTbqgjND20+D4EWUN54 N3gWfoF8yGeFWSSyX8EjUW2ptN+PaHRxDeKwRvc/oYHdlSr0/B0q0mOI3UBwMa1I7ww5 qvywOXvi08KahlwBAswlM+ZCsDgZ7pYyK221oq3Qy+x5V7AnzKfvOAoIfHPjzdh4dN7a xlBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=K7PsYJ63dL59j+Dd8NJqcKhEcRQRpXueEm7j8EFqrA4=; b=oKsC1ciBvm7i0UmVT0c6K792OLfbhgN3q1382Q9XW01ms6SkRUmdlEisGQ0AptblRB rQs8GVlZN0Tmn3VhmMTQzpYB29qGNKOVvhEqJwi53D9f6WkdiwtOlHJU1eZ74JTZBRqy uYYjFYTXN/mgsZIOss4Giu9R0rGcS6qeIQrcIC5Fp2B1zidRdiSTvi2R5Pg5UitjF9tb FkR582vnyTXVEBvyN+sVcnDIM0SSM3InsIR7jAD1cxhbXCgpqsDfD7Qa7hnR3NLsMt95 fLPLxLqnHgNmby4bPP1mnfnaY7xu/PmUQI5bFik/9IuFvetcJi9J/9xr2PyX/6045vJl M5Sw== X-Gm-Message-State: AOAM531P4IVkqjIJnSwXdII6qoF5eLwEgnfws3RbbkqmE8HCNT/6C6Hq vN2OQZml5iQAYYJRsxY02pw= X-Received: by 2002:ac8:5f90:: with SMTP id j16mr6272151qta.329.1621530395843; Thu, 20 May 2021 10:06:35 -0700 (PDT) Received: from localhost (dhcp-6c-ae-f6-dc-d8-61.cpe.echoes.net. [199.96.183.179]) by smtp.gmail.com with ESMTPSA id z9sm2300517qtf.10.2021.05.20.10.06.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 10:06:35 -0700 (PDT) Sender: Tejun Heo Date: Thu, 20 May 2021 13:06:34 -0400 From: Tejun Heo To: Huaixin Chang Cc: bsegall@google.com, dietmar.eggemann@arm.com, dtcccc@linux.alibaba.com, juri.lelli@redhat.com, khlebnikov@yandex-team.ru, linux-kernel@vger.kernel.org, mgorman@suse.de, mingo@redhat.com, odin@uged.al, odin@ugedal.com, pauld@redhead.com, peterz@infradead.org, pjt@google.com, rostedt@goodmis.org, shanpeic@linux.alibaba.com, vincent.guittot@linaro.org, xiyou.wangcong@gmail.com Subject: Re: [PATCH v5 2/3] sched/fair: Add cfs bandwidth burst statistics Message-ID: References: <20210520123419.8039-1-changhuaixin@linux.alibaba.com> <20210520123419.8039-3-changhuaixin@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210520123419.8039-3-changhuaixin@linux.alibaba.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 20, 2021 at 08:34:18PM +0800, Huaixin Chang wrote: > When using cfs_b and meeting with some throttled periods, users shall > use burst buffer to allow bursty workloads. Apart from configuring some > burst buffer and watch whether throttled periods disappears, some > statistics on burst buffer using are also helpful. Thus expose the > following statistics into cpu.stat file: > > nr_burst: number of periods bandwidth burst occurs nr_bursts > burst_time: cumulative wall-time that any cpus has > used above quota in respective periods burst_usec may be more in line with other fields in that file. Thanks. -- tejun