Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1502086
| From | Arnaldo Carvalho de Melo <acme@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] perf bench futex: add NUMA support |
| Date | 2016-10-17 17:10 +0200 |
| Message-ID | <sthI6-55T-37@gated-at.bofh.it> (permalink) |
| References | <ssYYN-1qy-13@gated-at.bofh.it> <ssYYO-1qy-17@gated-at.bofh.it> <sthf4-4Gc-31@gated-at.bofh.it> <sthI6-55T-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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. 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. > > > > > > Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> > > > --- > > > tools/perf/bench/Build | 4 ++ > > > tools/perf/bench/futex-hash.c | 87 ++++++++++++++++++++++++++++++++++++++----- > > > 2 files changed, 81 insertions(+), 10 deletions(-) > > > > > > diff --git a/tools/perf/bench/Build b/tools/perf/bench/Build > > > index 60bf11943047..9e6e518d7d62 100644 > > > --- a/tools/perf/bench/Build > > > +++ b/tools/perf/bench/Build > > > @@ -1,3 +1,7 @@ > > > +ifdef CONFIG_NUMA > > > +CFLAGS_futex-hash.o += -DCONFIG_NUMA=1 > > > +endif > > > > Jiri, do we really need this? I.e. aren't the CONFIG_FOO defines > > available to tools? > > not directly ATM.. it's prepared for the .config customary setting feature > > meanwhile we set HAVE_* defines, like for CONFIG_NUMA we have: > -DHAVE_LIBNUMA_SUPPORT > > you can check it in Makefile.config So, Andrzej, can you use that instead? I merged the first patch already. - Arnaldo
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/2] perf bench futex: cache align the worer struct Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-10-16 21:10 +0200
[PATCH 2/2] perf bench futex: add NUMA support Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-10-16 21:10 +0200
Re: [PATCH 2/2] perf bench futex: add NUMA support Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-10-17 16:40 +0200
Re: [PATCH 2/2] perf bench futex: add NUMA support Jiri Olsa <jolsa@redhat.com> - 2016-10-17 17:10 +0200
Re: [PATCH 2/2] perf bench futex: add NUMA support Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-10-17 17:10 +0200
[PATCH 2/2 v2] perf bench futex: add NUMA support Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-10-17 17:40 +0200
Re: [PATCH 2/2 v2] perf bench futex: add NUMA support Davidlohr Bueso <dave@stgolabs.net> - 2016-10-19 20:20 +0200
Re: [PATCH 2/2 v2] perf bench futex: add NUMA support Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-10-19 20:40 +0200
Re: [PATCH 2/2 v2] perf bench futex: add NUMA support Davidlohr Bueso <dave@stgolabs.net> - 2016-10-21 04:40 +0200
Re: [PATCH 2/2 v2] perf bench futex: add NUMA support Davidlohr Bueso <dave@stgolabs.net> - 2016-10-21 05:10 +0200
Re: [PATCH 1/2] perf bench futex: cache align the worer struct Davidlohr Bueso <dave@stgolabs.net> - 2016-10-18 03:20 +0200
Re: [PATCH 1/2] perf bench futex: cache align the worer struct Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-10-19 16:40 +0200
[PATCH] perf/bench-futex: Avoid worker cacheline bouncing Davidlohr Bueso <dave@stgolabs.net> - 2016-10-19 20:10 +0200
Re: [PATCH] perf/bench-futex: Avoid worker cacheline bouncing Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-10-19 20:20 +0200
Re: [PATCH] perf/bench-futex: Avoid worker cacheline bouncing Davidlohr Bueso <dave@stgolabs.net> - 2016-10-19 20:50 +0200
[tip:perf/core] perf bench futex: Cache align the worker struct tip-bot for Sebastian Andrzej Siewior <tipbot@zytor.com> - 2016-10-24 21:10 +0200
csiph-web