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

2016-10-17 Thread Jiri Olsa
On Mon, Oct 17, 2016 at 11:38:21AM -0300, Arnaldo Carvalho de Melo wrote: > Em Sun, Oct 16, 2016 at 09:08:03PM +0200, Sebastian Andrzej Siewior escreveu: > > By default the application uses malloc() and all available CPUs. This > > patch introduces NUMA support which means: > > - memory is

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

2016-10-17 Thread Arnaldo Carvalho de Melo
Em Mon, Oct 17, 2016 at 05:01:23PM +0200, Jiri Olsa escreveu: > On Mon, Oct 17, 2016 at 11:38:21AM -0300, Arnaldo Carvalho de Melo wrote: > > Em Sun, Oct 16, 2016 at 09:08:03PM +0200, Sebastian Andrzej Siewior > > escreveu: > > > By default the application uses malloc() and all available CPUs.

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

2016-10-17 Thread Arnaldo Carvalho de Melo
Em Sun, Oct 16, 2016 at 09:08:03PM +0200, Sebastian Andrzej Siewior escreveu: > 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

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

2016-10-16 Thread Sebastian Andrzej Siewior
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