Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1952256ybv; Sun, 23 Feb 2020 19:14:19 -0800 (PST) X-Google-Smtp-Source: APXvYqz7TaTZb1+pPE4ilRQdGlp3gBwYpf0IKG/LgGMzQ5zxJiV2qvWWAQ1zVp0/deDLSZiwnuQY X-Received: by 2002:a05:6830:1198:: with SMTP id u24mr37359641otq.215.1582514059100; Sun, 23 Feb 2020 19:14:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582514059; cv=none; d=google.com; s=arc-20160816; b=ZnBYVgohEwwdfy6Io5Qv/v4OzRFZA6NrL+NwvcsrwSXHkMxt5OE9MZLrPlZ8JnMf8m M4tmmuLdaxaRrmkEuBx10wKeXfjBHJmU7ItFgqHqkQqyWCwVz4we/QFeRCVLkdDcNoBb yxPQwb8ZaRc00Afm+G8IepU0aokF2yriXfToPGkeDePMaLejFZZRlDlaPLgKAsBboSS9 bQp2AJ8nNjWMM+Rb6Y0lPsI5WTI2E2SRhow9op0sYqwBa+pvRUnO1ei7gw8VgNnuIRJn 3vMgcWonDaSNwok8KPF0pGfPIjJFZDzeq5xqMrkR826JBD2Dx304hn3B1PoSwqCq+qHH WKgg== 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=cQ66zZtJ6s5ziuCTeF7Mtnl6XzqmdN0UpdM14/cAk2M=; b=V73ngRBblRV3//1zRCbHfjULkXv/Xbcgruq7cZXk6qnJ0H6n2lqShlNgFE9Gf+/U89 2oJ4F20qPIYAk5mnBAUUO2xOUlhX7Q3aVHMS5+wnaqES+/fHNtbXRxx4y7zy4ELCJ6Aj gKdp7+ZCaHKbIyo8D2JT+oIZSfEDQXFDHBPXGC1I/wh/p3knzv14XdLoHY0/7YFM/vMj Dzj41sNUg1oZuQzydCeU+eea67LZQa0/7Uak436x7F2Bu7b2C6EB4jP/Be/qYiXlOzRg D0vtmNYz1P3T8kDPeBlp4r6bcDMlgmL7G3TdjAblia+gdvyOpxKfxOx8vJkcRp3aPK2a BFmg== 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 v25si4135927oiv.144.2020.02.23.19.14.06; Sun, 23 Feb 2020 19:14:19 -0800 (PST) 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 S1727226AbgBXDN6 (ORCPT + 99 others); Sun, 23 Feb 2020 22:13:58 -0500 Received: from out30-45.freemail.mail.aliyun.com ([115.124.30.45]:51963 "EHLO out30-45.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727156AbgBXDN6 (ORCPT ); Sun, 23 Feb 2020 22:13:58 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R831e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04426;MF=yun.wang@linux.alibaba.com;NM=1;PH=DS;RN=18;SR=0;TI=SMTPD_---0TqhetfV_1582514031; Received: from testdeMacBook-Pro.local(mailfrom:yun.wang@linux.alibaba.com fp:SMTPD_---0TqhetfV_1582514031) by smtp.aliyun-inc.com(127.0.0.1); Mon, 24 Feb 2020 11:13:53 +0800 Subject: Re: [PATCH RESEND v8 1/2] sched/numa: introduce per-cgroup NUMA locality info To: Peter Zijlstra , Mel Gorman Cc: Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Luis Chamberlain , Kees Cook , Iurii Zaikin , Michal Koutn? , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, "Paul E. McKenney" , Randy Dunlap , Jonathan Corbet References: <20200214151048.GL14914@hirez.programming.kicks-ass.net> <20200217115810.GA3420@suse.de> <881deb50-163e-442a-41ec-b375cc445e4d@linux.alibaba.com> <20200217141616.GB3420@suse.de> <114519ab-4e9e-996a-67b8-4f5fcecba72a@linux.alibaba.com> <20200221142010.GT3420@suse.de> <20200221154706.GI18400@hirez.programming.kicks-ass.net> From: =?UTF-8?B?546L6LSH?= Message-ID: <9b3fc96e-d705-1b30-da3d-e85ad5549da3@linux.alibaba.com> Date: Mon, 24 Feb 2020 11:13:51 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200221154706.GI18400@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 2020/2/21 下午11:47, Peter Zijlstra wrote: > On Fri, Feb 21, 2020 at 02:20:10PM +0000, Mel Gorman wrote: >> I fully acknowledge that this may have value for sysadmins and may be a >> good enough reason to merge it for environments that typically build and >> configure their own kernels. I doubt that general distributions would >> enable it but that's a guess. > > OTOH, many sysadmins seem to 'rely' on BPF scripts and other such fancy > things these days. > > ( of course, we have the open question on what happens when we break > one of those BPF 'important' scripts ... ) > > My main reservation with this patch is that it exposes, to userspace, an > ABI that is very hard to interpret and subject to implementation > details. > > So while it can be disabled; people who have it enabled might suddenly > complain when we change the meaning/interpretation/whatever of these > magic numbers. > > Michael; you seem to have ignored the tracepoint / BPF angle earlier in > this discussion; that is not something that could/would work for you? At very beginning I think these fancy stuff may consume too much resources them selves, so just as you said, ignored the possibility :-P But now I understand there is a big gap here, which require a much more general way to evaluate the NUMA platform, I'll try to follow this way see if there are any practical approach instead~ Regards, Michael Wang >