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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 104F3ECAAD6 for ; Fri, 26 Aug 2022 09:51:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343863AbiHZJvG (ORCPT ); Fri, 26 Aug 2022 05:51:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245408AbiHZJvA (ORCPT ); Fri, 26 Aug 2022 05:51:00 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50117B1E5; Fri, 26 Aug 2022 02:50:58 -0700 (PDT) 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. >