Re: [PATCH v2 3/4] perf record: apply affinity masks when reading mmap buffers

2019-01-09 Thread Alexey Budankov
Hi, On 02.01.2019 0:39, Jiri Olsa wrote: > On Mon, Dec 24, 2018 at 03:27:17PM +0300, Alexey Budankov wrote: >> >> Build node cpu masks for mmap data buffers. Apply node cpu >> masks to tool thread every time it references data buffers >> cross node or cross cpu. >> >> Signed-off-by: Alexey

Re: [PATCH v2 3/4] perf record: apply affinity masks when reading mmap buffers

2019-01-09 Thread Alexey Budankov
Hi, On 02.01.2019 0:39, Jiri Olsa wrote: > On Mon, Dec 24, 2018 at 03:27:17PM +0300, Alexey Budankov wrote: > > SNIP > >> diff --git a/tools/perf/util/mmap.c b/tools/perf/util/mmap.c >> index 742fa9a8e498..a2095e4eda4b 100644 >> --- a/tools/perf/util/mmap.c >> +++ b/tools/perf/util/mmap.c >> @@

Re: [PATCH v2 3/4] perf record: apply affinity masks when reading mmap buffers

2019-01-01 Thread Jiri Olsa
On Mon, Dec 24, 2018 at 03:27:17PM +0300, Alexey Budankov wrote: > > Build node cpu masks for mmap data buffers. Apply node cpu > masks to tool thread every time it references data buffers > cross node or cross cpu. > > Signed-off-by: Alexey Budankov > --- > Changes in v2: > - separated AIO

Re: [PATCH v2 3/4] perf record: apply affinity masks when reading mmap buffers

2019-01-01 Thread Jiri Olsa
On Mon, Dec 24, 2018 at 03:27:17PM +0300, Alexey Budankov wrote: SNIP > diff --git a/tools/perf/util/mmap.c b/tools/perf/util/mmap.c > index 742fa9a8e498..a2095e4eda4b 100644 > --- a/tools/perf/util/mmap.c > +++ b/tools/perf/util/mmap.c > @@ -361,6 +361,7 @@ void perf_mmap__munmap(struct

[PATCH v2 3/4] perf record: apply affinity masks when reading mmap buffers

2018-12-24 Thread Alexey Budankov
Build node cpu masks for mmap data buffers. Apply node cpu masks to tool thread every time it references data buffers cross node or cross cpu. Signed-off-by: Alexey Budankov --- Changes in v2: - separated AIO buffers binding to patch 2/4 --- tools/perf/builtin-record.c | 9 +

[PATCH v2 3/4] perf record: apply affinity masks when reading mmap, buffers

2018-12-12 Thread Alexey Budankov
Build node cpu masks for mmap data buffers. Apply node cpu masks to tool thread every time it references data buffers cross node or cross cpu. Signed-off-by: Alexey Budankov --- Changes in v2: - separated AIO buffers binding to patch 2/4 --- tools/perf/builtin-record.c | 9 +