lkml.org 
[lkml]   [2011]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 0/6] perf: x86 RDPMC and RDTSC support
On 12/2/11 2:22 PM, Stephane Eranian wrote:
> Have you tried with inheritance disabled?
> I don't remember if perf stat has it enabled buy default.

Disabling inheritance using the -i switch as in:

(for i in `seq 1 10`; do numactl --cpunodebind 1 perf stat -i -e
instructions ./lat_ctx -P1 -s32k 4; done)

shows numbers closer to baseline, since the threads used for
benchmarking are not counting events.

This suggests that:

jump_label_dec(&perf_task_events);

itself doesn't hurt much.

-Arun


\
 
 \ /
  Last update: 2011-12-05 21:19    [W:0.333 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site