Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3393493yba; Tue, 23 Apr 2019 03:04:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqxvWLwXGknuUtKYgsZw8f5iTsjFJ6BXwS4DsvfFZw4TImKsjfndS/QYVTcpV0vKXp+exSfH X-Received: by 2002:a63:fb01:: with SMTP id o1mr13590874pgh.135.1556013873567; Tue, 23 Apr 2019 03:04:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556013873; cv=none; d=google.com; s=arc-20160816; b=ocKuJ8BeB05FbzCNcUNIxdR9IVtAeRxqlfyg6u7m8zZJokfKio0a6OG25Kf5jH4nuo 9ltGhfKC3q2fiebSqZixSoeO+eWAo36G6J4LaegJ/KMLRbbsmvYdn1lCufDOT5NN7wST +obSLJ+UuPvmxGAS2OeTntRddm6PlmBpYNyR/Zvy6H52DnCkDEVv79U/KHViSPu5WZvH hyGdjEzdp+ueujZb6yYGMF4aDOZI9m36bmtub108h9EjwFGCjCwFyygA/K8U8ykF7wzw AWzM8QlufuRIixHQYQDsiKc5bONr3eED99woXPWWkEXMaq1gYA/kMWq1ydO5YUFdUVLR 1XfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=IOJKiNhiIz6QMuZcHD/rTzeb8CECBL/PkwFKGXOJifs=; b=Runa9DJRoSyNoMxLpoPdPBxZ6BTiXDbQ8z7RrnNmoKBGOBSL3aKGUCZnAKU7MM4pRt LyX+3ZH+bRBy/wGo1w9sTa0XT5adjLEn6S39TRP56JT0hxY1SW7jK5d+L8qf8NCv/nLF 8b34d9nP5dHB+VB86thVHhcR4fyzDoYjb9Pyc5pz456zQi6hkoUpStGCWOE7ZGhuSEjB J7IWxq176KGX+ELJYyNyj6RjC7IJ9LJ+58kZmpKuiqwzJWz9lETjvvRa+9Ip0hpi/S3Z QudyrSJoZjccmr/vm2lSNP2ktox7O6gb90h+M9QVfsU5nlnEy4wqRP9LHXmMYWn8Plah 5m5A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m12si14447122pgc.157.2019.04.23.03.04.17; Tue, 23 Apr 2019 03:04:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727345AbfDWKBS (ORCPT + 99 others); Tue, 23 Apr 2019 06:01:18 -0400 Received: from out30-132.freemail.mail.aliyun.com ([115.124.30.132]:57707 "EHLO out30-132.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727333AbfDWKBR (ORCPT ); Tue, 23 Apr 2019 06:01:17 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R171e4;CH=green;DM=||false|;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04426;MF=yun.wang@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0TQ2QHDj_1556013675; Received: from testdeMacBook-Pro.local(mailfrom:yun.wang@linux.alibaba.com fp:SMTPD_---0TQ2QHDj_1556013675) by smtp.aliyun-inc.com(127.0.0.1); Tue, 23 Apr 2019 18:01:15 +0800 Subject: Re: [RFC PATCH 2/5] numa: append per-node execution info in memory.numa_stat To: Peter Zijlstra Cc: hannes@cmpxchg.org, mhocko@kernel.org, vdavydov.dev@gmail.com, Ingo Molnar , linux-kernel@vger.kernel.org, linux-mm@kvack.org References: <209d247e-c1b2-3235-2722-dd7c1f896483@linux.alibaba.com> <7be82809-79d3-f6a1-dfe8-dd14d2b35219@linux.alibaba.com> <20190423085248.GE11158@hirez.programming.kicks-ass.net> <8c3ad96d-7f3d-d966-6acc-8327023ae3f9@linux.alibaba.com> <20190423094644.GL11158@hirez.programming.kicks-ass.net> From: =?UTF-8?B?546L6LSH?= Message-ID: <9e3c163c-2a89-72d9-ee93-7fea3692b609@linux.alibaba.com> Date: Tue, 23 Apr 2019 18:01:14 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190423094644.GL11158@hirez.programming.kicks-ass.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019/4/23 下午5:46, Peter Zijlstra wrote: > On Tue, Apr 23, 2019 at 05:36:25PM +0800, 王贇 wrote: >> >> >> On 2019/4/23 下午4:52, Peter Zijlstra wrote: >>> On Mon, Apr 22, 2019 at 10:12:20AM +0800, 王贇 wrote: >>>> This patch introduced numa execution information, to imply the numa >>>> efficiency. >>>> >>>> By doing 'cat /sys/fs/cgroup/memory/CGROUP_PATH/memory.numa_stat', we >>>> see new output line heading with 'exectime', like: >>>> >>>> exectime 24399843 27865444 >>>> >>>> which means the tasks of this cgroup executed 24399843 ticks on node 0, >>>> and 27865444 ticks on node 1. >>> >>> I think we stopped reporting time in HZ to userspace a long long time >>> ago. Please don't do that. >> >> Ah I see, let's make it us maybe? > > ms might be best I think. Will be in next version. Regards, Michael Wang >