Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3338356yba; Tue, 23 Apr 2019 01:55:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqx8mkLdXV5hbWQwDpbl4LLK0N1cTWCOlOqdHfxgnC1+H7izrJ7Xy5KDA3C6O6p3YrkyQ0dV X-Received: by 2002:aa7:8282:: with SMTP id s2mr25364164pfm.7.1556009706986; Tue, 23 Apr 2019 01:55:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556009706; cv=none; d=google.com; s=arc-20160816; b=H+AtcwtBO4gFVjm5uuYe/YITvPfzRwEgVetu7f7+9BamT73BJUU5xKHKzSXgdAG+F4 duwmv4DJEScB++0DjfJgZwq9yL3nWnDAWYuF2qx5pDJ870cXqgfJeppvrhYPX/QhV/cz 7COgk+bQwqHHFVrhsftylfdesASb9aArPivuh0MYeDnqekC2gUr0a2NZ5h2DWMvwrRBt gPPVvSTiXc/H5aKJMeL6E3hf//HJlzdHlNhGYBg+w6aRBUbfDMGLMfB0o3V/nfkxuCqC QReLDE7oPDf1FW/MIMY5XvzF/czsc8oHjZh2GHUrEhBLjigxllSl+3yJ65vmFQp4r6kc A24w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=l21441oHLnK9oVeQ4gnC65uBIN32WtWZE/gHPIisLWw=; b=skpgTCg2A1BVjVJG+gtbx6zZHIYuRu4uMOv1xhMj+hQUflsQ5edOkgYeKix6D/cPdO 41h0L65u7JlaW10+YgoC2SkLEbxkGs5d0bVg+T1+FSGsZD293wdhfvVXkhKQDsJ13UqW KadocjPRtU90jTcwd7YTc+9JTq5DN4BoK0XzX21rHglL2YSg145LMGm5+76ahMlZZn+Y iTQ+sPYUIYqDuMYzkv6CHfPTbKxSu4FC99rxX8bzLYDL0R0vV2VNJ1l49ab2oKsuGubg UgY+JlHifqP2VTkKfc4E43BWLxgUBPfYKyItLVSxk5kXTI1wsoL1gQxNH1Dl93wMLhar sOhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=kgA5DLjm; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g31si15768856plg.154.2019.04.23.01.54.52; Tue, 23 Apr 2019 01:55:06 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=kgA5DLjm; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726665AbfDWIwx (ORCPT + 99 others); Tue, 23 Apr 2019 04:52:53 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:45346 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725888AbfDWIwx (ORCPT ); Tue, 23 Apr 2019 04:52:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=l21441oHLnK9oVeQ4gnC65uBIN32WtWZE/gHPIisLWw=; b=kgA5DLjmKDrcmj1FrTMFaqf1XB E/x9JKVM34KNwPxbgHhdKrN/iVMK9XkeF/7yoFA9QGsy6Ck4ud3zKMSGh6auPpU8SXPpG4zkvcdST KsiL+a3hpVGT1nnQQqMDBDq8eTyxW0im9mkmxBZ4QzDVtr2rvPWinHPRaBjawhI12NLWWPJXSfHil Pwix2KdGI9smoDmdhoBDJKDK9kzvaAFfdKM4utX9OJ9pXtOJtu5mm9P50ve0kHBwN8V3AWv7S67Oy PhxYcROSzP7UT2Z1x32CD6L+jTYLrAqrVUQdITivscU2LbSInG//SPRToWzsKbqrn63VbfsCBLwpN yApA1c7w==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hIrAY-0002WP-HT; Tue, 23 Apr 2019 08:52:50 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 0683F29B47DCB; Tue, 23 Apr 2019 10:52:49 +0200 (CEST) Date: Tue, 23 Apr 2019 10:52:48 +0200 From: Peter Zijlstra To: =?utf-8?B?546L6LSH?= Cc: hannes@cmpxchg.org, mhocko@kernel.org, vdavydov.dev@gmail.com, Ingo Molnar , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [RFC PATCH 2/5] numa: append per-node execution info in memory.numa_stat Message-ID: <20190423085248.GE11158@hirez.programming.kicks-ass.net> References: <209d247e-c1b2-3235-2722-dd7c1f896483@linux.alibaba.com> <7be82809-79d3-f6a1-dfe8-dd14d2b35219@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7be82809-79d3-f6a1-dfe8-dd14d2b35219@linux.alibaba.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.