Re: [PATCH 2/2 v2] perf bench futex: add NUMA support

From: Davidlohr Bueso
Date: Wed Oct 19 2016 - 14:16:32 EST


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