Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp169557rwe; Fri, 26 Aug 2022 02:55:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR6V5aMSIBZlBAvGBPCrSOw/7ZfG0EXwqx8dkBO/dx7U6N4MBeW+TqIlSaw4WR5oymCRun8u X-Received: by 2002:a63:4e56:0:b0:428:ee87:3791 with SMTP id o22-20020a634e56000000b00428ee873791mr2600552pgl.11.1661507741136; Fri, 26 Aug 2022 02:55:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661507741; cv=none; d=google.com; s=arc-20160816; b=Q4Ld2fJMTviz9ntxrQmIpFcpgPre/s3eVFlnTctAJnJvPYvq+pM8wx/ued2xwWIItJ Nl0MsGK0cxi91EzKcd6oHDZEIN8nYyfmUc6J+SoXAOsCPURnJ/+iCxXYYdDQS7rVyZ/S Jl4ZiM30ti17oAL1ph2piW3xmrr/rSWPXww6fp0MvYROlRSGNNUHY3f0KwAuwM15hrRj WjQ+pcuw1ICirbX6NoHGxzpAg7lJf5wyOGU4hBb0qSLXIR/6Al/Cs8/gA2YX6g5TJuYd avFuPAWtcdS1p9cTKyXkGop4xQaXbk+gV2808g8JxRs2hixK7QJBZOxD+nsPEcJMIPWQ Ojvw== 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; bh=L0M8eB6YYUNM+c5AR35oFKLj6UXqShRrrFHBffF8UaM=; b=Voa1McgsEUXoZBl9C8HFTWZzclj2p14Hi+qwEVrCqt4X2zuz6rl6VjddMn7nFlPpZG HUjBE3Tc/tAl2XwdJOBfOe4oofFHTqJMjHYOEyZNb4U0kb754yY37KoRJ+xW1PpKCoiU JFewDMckPu6K4hoGOh2plT6xwahr949Fk+Vea/RnKrXcllZYI+VEP3xroXVEHklOO7MY U+4s+4I62c/gJZ23trJEqqUWG/WlCArIcDCGe0a/D3dVTCV1eeX9X1jO7OIDaEOlAIkH i4rfZoZk9Spx4WfWxLfQO9XNmPu5tPvo++kI/ncxKszMUC+wJsVUVlfuON9qkWxrnuqe yr5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y72-20020a638a4b000000b0042b3b3a63bfsi1302508pgd.467.2022.08.26.02.55.27; Fri, 26 Aug 2022 02:55:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343851AbiHZJvE (ORCPT + 99 others); Fri, 26 Aug 2022 05:51:04 -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 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, PDS_OTHER_BAD_TLD,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_RED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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. >