From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752802AbaJBTbX (ORCPT ); Thu, 2 Oct 2014 15:31:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38772 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751983AbaJBTbW (ORCPT ); Thu, 2 Oct 2014 15:31:22 -0400 Message-ID: <542DA767.3000601@redhat.com> Date: Thu, 02 Oct 2014 15:28:39 -0400 From: Rik van Riel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Linus Torvalds , "Kirill A. Shutemov" CC: Sasha Levin , Mel Gorman , Dave Jones , Hugh Dickins , Al Viro , Ingo Molnar , Peter Zijlstra , Aneesh Kumar , Michel Lespinasse , Kirill A Shutemov , Linux Kernel Subject: Re: [PATCH 4/4] mm: numa: Do not mark PTEs pte_numa when splitting huge pages References: <1412256558-9995-1-git-send-email-mgorman@suse.de> <1412256558-9995-5-git-send-email-mgorman@suse.de> <542DA038.9000908@oracle.com> <20141002190734.GA15671@node.dhcp.inet.fi> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/02/2014 03:26 PM, Linus Torvalds wrote: > On Thu, Oct 2, 2014 at 12:07 PM, Kirill A. Shutemov > wrote: >> >> I believe Sasha uses fakenuma in his KVM for that. > > Ok, so the benchmarks won't do anything then. > > I mean, I guess they might show some of the migration overhead, but > they won't show the actual end result in any meaningful manner, since > memory isn't actually NUMA. Both autonuma and "perf bench numa mem" mostly tell us how quickly the kernel manages to locate tasks and their memory on the nodes where they belong, without doing much in the way of NUMA performance measuring. They are more useful as sanity tests than anything else. "Does the kernel still properly place each process on its own node, and how quickly does it do that?"