Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2022100ybv; Fri, 21 Feb 2020 07:29:20 -0800 (PST) X-Google-Smtp-Source: APXvYqzmWenHQU9uBy5b7Y69GPmOFa83mJDrFfPHr+hkPIaCV6YAyRKHJCsj3BvlcXOKIrW/VqNM X-Received: by 2002:aca:4a84:: with SMTP id x126mr2271309oia.99.1582298960664; Fri, 21 Feb 2020 07:29:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582298960; cv=none; d=google.com; s=arc-20160816; b=yUOkU6PLxcQMyflbXgZ2mB9hgab01PHAz9nkT4/YeWpg9wjL4M9HQtqqDvoyyU2+ZB 7n8qbbWrg5cGkAtFgLCYNAmGP8wWUxoW46VtwWMuV9f7HSwqUstn4HuLh274yVWjfYCl EDR+4KJqVo5Vwe5meHnnjjNgbDRcNRvquSsmmEGQERrU9rtAhZYhueUDkVxrhiBd9P4C f4hqij1mfLDFG3+9LrZlX6U72fcZ728VavNhwCWpqjyW3kH2XFzqvdeLVjHXW86EF0O4 hbXG9SeC0z9SYaiekU9Ci+bzhIJKTPdap0nKswEmgdlWlnL0S38qb4tjTZypnhX+JSPS i39g== 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=teQadSX0wyV4ftQ41M/03hMOBJ7nffcslPnRS4n1cL0=; b=v/6yy4eHUHz1Ox66/ROLI05dXggznYa9D7fYZ4xOJqGhRYtahwxzKe9N7c3MrMk90M XW/VYPCv+9D7qHOjD7FUFQHDsYhKH5pPwUvLhCX4q8CGHwRnVMUqXtRuxKDfkmqaMSYG ER4N1POAQp5MVzNRZK5BrLXMWY7sj+zTXrhRzqKV9eVnU8Del6PzV2wAm373DVZ52N+F wCNAVmb2bIXjoBmD6UPkvQdyKUTaTxjcYRoJ0B3RVCI9m85cnt/GEDJvEiyBplmafF2H OER6cSwnRwW8M75tP7CLRr9p6rQK2O8b6GJyoo7mylcP4s7tUmNVYsB1+KBgjTjQ46xD wHWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=FO11uySW; 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 t22si1545605otc.167.2020.02.21.07.29.08; Fri, 21 Feb 2020 07:29:20 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=FO11uySW; 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 S1729188AbgBUP2t (ORCPT + 99 others); Fri, 21 Feb 2020 10:28:49 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:37552 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729072AbgBUP2p (ORCPT ); Fri, 21 Feb 2020 10:28:45 -0500 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; bh=teQadSX0wyV4ftQ41M/03hMOBJ7nffcslPnRS4n1cL0=; b=FO11uySWYfI+CHf4sRD/ycCuie nHo0JseQxPLSNhugXNfrjWpNpFYClG0EJ6ZhsJjnA4J8gErKszWCl2gM2wO95J1dA7ORGjeTOGc1r ACXPYJgq/Z/oTLUEJHHzz7Xdsva/ZoWzEWoZzpXzjqmFOpHtcqXLVo1H7eqSwhMds4sMo58AJLwd3 DQxRWRpw/60TICg7PHg/Yvr/nKsTJozL7slseewvBlRg2iJclSKEdCwigvnRCsG6s3/W0LVfgx8Gx I7ZnmxVYGvd9qPsMMO2IjpDbUYh/g62/J/7dywfdJbrXUmeZ4kb5O7zWAqdEeFzLy6xXDrQmkLmQd n1fjTRkQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1j5AE7-0001jI-81; Fri, 21 Feb 2020 15:28:27 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id D4B5D306151; Fri, 21 Feb 2020 16:26:30 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 29990209DB0F7; Fri, 21 Feb 2020 16:28:24 +0100 (CET) Date: Fri, 21 Feb 2020 16:28:24 +0100 From: Peter Zijlstra To: =?utf-8?B?546L6LSH?= Cc: Mel Gorman , 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 Subject: Re: [PATCH RESEND v8 1/2] sched/numa: introduce per-cgroup NUMA locality info Message-ID: <20200221152824.GH18400@hirez.programming.kicks-ass.net> References: <20200214151048.GL14914@hirez.programming.kicks-ass.net> <20200217115810.GA3420@suse.de> <881deb50-163e-442a-41ec-b375cc445e4d@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <881deb50-163e-442a-41ec-b375cc445e4d@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, Feb 17, 2020 at 09:23:52PM +0800, 王贇 wrote: > FYI, by monitoring locality, we found that the kvm vcpu thread is not > covered by NUMA Balancing, whatever how many maximum period passed, the > counters are not increasing, or very slowly, although inside guest we are > copying memory. > > Later we found such task rarely exit to user space to trigger task > work callbacks, and NUMA Balancing scan depends on that, which help us > realize the importance to enable NUMA Balancing inside guest, with the > correct NUMA topo, a big performance risk I'll say :-P That's a bug in KVM, see: https://lkml.kernel.org/r/20190801143657.785902257@linutronix.de https://lkml.kernel.org/r/20190801143657.887648487@linutronix.de ISTR there being newer versions of that patch-set, but I can't seem to find them in a hurry.