From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030197Ab2CVASL (ORCPT ); Wed, 21 Mar 2012 20:18:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:15460 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932156Ab2CVASG (ORCPT ); Wed, 21 Mar 2012 20:18:06 -0400 Date: Thu, 22 Mar 2012 01:17:22 +0100 From: Andrea Arcangeli To: Dan Smith Cc: Peter Zijlstra , Linus Torvalds , Andrew Morton , Thomas Gleixner , Ingo Molnar , Paul Turner , Suresh Siddha , Mike Galbraith , "Paul E. McKenney" , Lai Jiangshan , Bharata B Rao , Lee Schermerhorn , Rik van Riel , Johannes Weiner , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [RFC] AutoNUMA alpha6 Message-ID: <20120322001722.GQ24602@redhat.com> References: <20120316144028.036474157@chello.nl> <20120316182511.GJ24602@redhat.com> <87k42edenh.fsf@danplanet.com> <20120321021239.GQ24602@redhat.com> <87fwd2d2kp.fsf@danplanet.com> <20120321124937.GX24602@redhat.com> <87limtboet.fsf@danplanet.com> <20120321225242.GL24602@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120321225242.GL24602@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 21, 2012 at 11:52:42PM +0100, Andrea Arcangeli wrote: > Your three numbers of mainline looked ok, it's still strange that > numa01_same_node is identical to numa01_inverse_bind though. It > shoudln't. same_node uses 1 numa node. inverse uses both nodes but The only reasonable explanation I can imagine for the weird stuff going on with "numa01_inverse" is that maybe it was compiled without -DHARD_BIND? I forgot to specify -DINVERSE_BIND is a noop unless -DHARD_BIND is specified too at the same time. -DINVERSE_BIND alone results in the default build without -D parameters. Now AutoNUMA has a bug and is real inverse bind too, I need to fix that. In the meantime this is possible: echo 0 >/sys/kernel/mm/autonuma/enabled run numa01_inverse echo 1 >/sys/kernel/mm/autonuma/enabled From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx152.postini.com [74.125.245.152]) by kanga.kvack.org (Postfix) with SMTP id 328006B0044 for ; Wed, 21 Mar 2012 20:17:59 -0400 (EDT) Date: Thu, 22 Mar 2012 01:17:22 +0100 From: Andrea Arcangeli Subject: Re: [RFC] AutoNUMA alpha6 Message-ID: <20120322001722.GQ24602@redhat.com> References: <20120316144028.036474157@chello.nl> <20120316182511.GJ24602@redhat.com> <87k42edenh.fsf@danplanet.com> <20120321021239.GQ24602@redhat.com> <87fwd2d2kp.fsf@danplanet.com> <20120321124937.GX24602@redhat.com> <87limtboet.fsf@danplanet.com> <20120321225242.GL24602@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120321225242.GL24602@redhat.com> Sender: owner-linux-mm@kvack.org List-ID: To: Dan Smith Cc: Peter Zijlstra , Linus Torvalds , Andrew Morton , Thomas Gleixner , Ingo Molnar , Paul Turner , Suresh Siddha , Mike Galbraith , "Paul E. McKenney" , Lai Jiangshan , Bharata B Rao , Lee Schermerhorn , Rik van Riel , Johannes Weiner , linux-kernel@vger.kernel.org, linux-mm@kvack.org On Wed, Mar 21, 2012 at 11:52:42PM +0100, Andrea Arcangeli wrote: > Your three numbers of mainline looked ok, it's still strange that > numa01_same_node is identical to numa01_inverse_bind though. It > shoudln't. same_node uses 1 numa node. inverse uses both nodes but The only reasonable explanation I can imagine for the weird stuff going on with "numa01_inverse" is that maybe it was compiled without -DHARD_BIND? I forgot to specify -DINVERSE_BIND is a noop unless -DHARD_BIND is specified too at the same time. -DINVERSE_BIND alone results in the default build without -D parameters. Now AutoNUMA has a bug and is real inverse bind too, I need to fix that. In the meantime this is possible: echo 0 >/sys/kernel/mm/autonuma/enabled run numa01_inverse echo 1 >/sys/kernel/mm/autonuma/enabled -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org