From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id D897EECAAA3 for ; Fri, 26 Aug 2022 09:51:00 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 722A6940008; Fri, 26 Aug 2022 05:51:00 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6D27C940007; Fri, 26 Aug 2022 05:51:00 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5C134940008; Fri, 26 Aug 2022 05:51:00 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 4E16C940007 for ; Fri, 26 Aug 2022 05:51:00 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 2D818C0549 for ; Fri, 26 Aug 2022 09:51:00 +0000 (UTC) X-FDA: 79841275080.12.AD36FFD Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by imf26.hostedemail.com (Postfix) with ESMTP id 50F6014000B for ; Fri, 26 Aug 2022 09:50:59 +0000 (UTC) Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4MDZkM73dzz19VdR; Fri, 26 Aug 2022 17:47:23 +0800 (CST) Received: from kwepemm600003.china.huawei.com (7.193.23.202) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 26 Aug 2022 17:50:56 +0800 Received: from [10.67.109.150] (10.67.109.150) by kwepemm600003.china.huawei.com (7.193.23.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 26 Aug 2022 17:50:55 +0800 Subject: Re: [RFC 0/2] Introduce cgroup.top interface To: Tejun Heo CC: Zefan Li , Johannes Weiner , Andrew Morton , Michal Hocko , Roman Gushchin , Shakeel Butt , Muchun Song , Xiu Jianfeng , , , References: <20220826011503.103894-1-lujialin4@huawei.com> From: "lujialin (A)" Message-ID: Date: Fri, 26 Aug 2022 17:50:55 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="gbk"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.109.150] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemm600003.china.huawei.com (7.193.23.202) X-CFilter-Loop: Reflected ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1661507459; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=L0M8eB6YYUNM+c5AR35oFKLj6UXqShRrrFHBffF8UaM=; b=Z3sfpgLa0B6+RZ/sYgggdBWtUZWbz54C+vT8IufAs9fiXvHiUn3Dqv3/eJh9dY6uPmEaHg zZf5Bvsjh6hoPF/2qItQmchUeuwLbpIiLc1kmw6/igEieroRIwUasftRdl+3eJWZfZAEGr NKYHe27n7jmfctSQ1ZvvIBe9w17euaI= ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf26.hostedemail.com: domain of lujialin4@huawei.com designates 45.249.212.255 as permitted sender) smtp.mailfrom=lujialin4@huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1661507459; a=rsa-sha256; cv=none; b=DD0rnKx9ogy2CXz9xAkr3qcQx0ZYXlJj6IATFAqIrV0tFBgw9S68M4IPhbeKDMUCwubgre Yz1lnTyNwXnMV8wWgkaJGJpibdNmCJ+sTBoOne9MqGl+Xs4Wd6aw2P2P+00CTfbGz2k4gF F0ZNtuAbHINpaYnYxGPmy6NJ+9L6a2U= Authentication-Results: imf26.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf26.hostedemail.com: domain of lujialin4@huawei.com designates 45.249.212.255 as permitted sender) smtp.mailfrom=lujialin4@huawei.com X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 50F6014000B X-Stat-Signature: o89udxkqpzyz1aejaaux15s6qodsseri X-Rspam-User: X-HE-Tag: 1661507459-995459 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Ok, I got it, thanks ÔÚ 2022/8/26 11:17, Tejun Heo дµÀ: > Hello, > > On Fri, Aug 26, 2022 at 09:15:01AM +0800, Lu Jialin wrote: >> Cgroup is used to organize and manage resource available processes. >> Currently there are no handy tool for gathering reousrce usage >> information for each and every child cgroups, makes it hard to detect >> resource outage and debug resource issues. >> >> To overcome this, we present the cgroup.top interface. Just like the >> top command, user is able to easily gather resource usage information >> , allowing user to detect and respond to resource outage in child >> cgroups > I don't think this is something we want build into the kernel. Maybe what > you want is something similar to below? > > https://github.com/facebookincubator/below > > Thanks. >