Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S944311AbcJSSQ3 (ORCPT ); Wed, 19 Oct 2016 14:16:29 -0400 Received: from mx2.suse.de ([195.135.220.15]:35820 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S940997AbcJSSQ2 (ORCPT ); Wed, 19 Oct 2016 14:16:28 -0400 Date: Wed, 19 Oct 2016 11:16:16 -0700 From: Davidlohr Bueso To: Sebastian Andrzej Siewior Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Jiri Olsa , Peter Zijlstra , Ingo Molnar , linux-kernel@vger.kernel.org, Davidlohr Bueso Subject: Re: [PATCH 2/2 v2] perf bench futex: add NUMA support Message-ID: <20161019181616.GC30561@linux-80c1.suse> References: <20161016190803.3392-1-bigeasy@linutronix.de> <20161016190803.3392-2-bigeasy@linutronix.de> <20161017143821.GO12815@kernel.org> <20161017150123.GA18595@krava> <20161017150442.GQ12815@kernel.org> <20161017153331.pkzaij5a3ma5c5s5@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20161017153331.pkzaij5a3ma5c5s5@linutronix.de> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 476 Lines: 13 On Mon, 17 Oct 2016, Sebastian Andrzej Siewior wrote: >By default the application uses malloc() and all available CPUs. This >patch introduces NUMA support which means: >- memory is allocated node local via numa_alloc_local() >- all CPUs of the specified NUMA node are used. This is also true if the > number of threads set is greater than the number of CPUs available on > this node. Can't we just use numactl to bind cpus and memory to be node-local? Thanks, Davidlohr