Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264500AbUFECei (ORCPT ); Fri, 4 Jun 2004 22:34:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264501AbUFECei (ORCPT ); Fri, 4 Jun 2004 22:34:38 -0400 Received: from ozlabs.org ([203.10.76.45]:62189 "EHLO ozlabs.org") by vger.kernel.org with ESMTP id S264500AbUFECeh (ORCPT ); Fri, 4 Jun 2004 22:34:37 -0400 Date: Sat, 5 Jun 2004 12:32:12 +1000 From: Anton Blanchard To: Andi Kleen Cc: Manfred Spraul , akpm@osdl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Use numa policy API for boot time policy Message-ID: <20040605023211.GA16084@krispykreme> References: <20040605034356.1037d299.ak@suse.de> <40C12865.9050803@colorfullife.com> <20040605041813.75e2d22d.ak@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040605041813.75e2d22d.ak@suse.de> User-Agent: Mutt/1.5.6i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 908 Lines: 23 Hi, > That's correct. It will only work for order 0 allocations. > > But it sounds quite bogus anyways to move the complete hash tables > to another node anyways. It would probably be better to use vmalloc() > and a interleaving mapping for it. Then you would get the NUMA bandwidth > benefit even for accessing single tables. I posted some before and after numbers when we merged Manfreds patch, it would be interesting to see the same thing with your patch applied. Im not only worried about NUMA bandwidth but keeping the amount of memory left in all the nodes reasonably even. Allocating all the big hashes on node 0 will decrease that balance. Anton - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/