[lkml]   [2017]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v7 0/2] perf/core: addressing 4x slowdown during per-process profiling of STREAM benchmark on Intel Xeon Phi

This patch set v7 moves event groups into rb trees and implements
skipping to the current CPU's list on hrtimer interrupt.

Events allocated for the same CPU are still kept in a linked list
of the event directly attached to the tree because it is unclear
how to implement fast iteration thru events allocated for
the same CPU when they are all attached to a tree employing
additional 64bit index as a secondary treee key.

The patch set addresses feeback captured previously. Specifically
API with a callback in signature is replaced by a macro what reduced
the size of adapting changes.

Patches in the set are expected to be applied one after another in
the mentioned order and they are logically split into two parts
to simplify the review process.

For more background details and feedback of the patch set please
refer to v6 and older.


Alexey Budankov (2):
perf/core: use rb trees for pinned/flexible groups
perf/core: add mux switch to skip to the current CPU's events list on mux interrupt

include/linux/perf_event.h | 19 +-
kernel/events/core.c | 463 ++++++++++++++++++++++++++++++++++-----------
2 files changed, 364 insertions(+), 118 deletions(-)

 \ /
  Last update: 2017-08-18 07:18    [W:0.216 / U:2.372 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site