[lkml]   [2016]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 01/14] x86/cqm: Intel Resource Monitoring Documentation
     The perf overhead i was thinking atleast was during the context switch which
    > is the more constant overhead (the event creation is just one time).
    > -I was trying to see an alternative where
    > 1.user specifies the continuous monitor with perf-attr in open
    > 2.driver allocates the task/cgroup RMID and stores the RMID in cgroup or
    > task_struct
    > 3.turns off the event. (hence no perf ctx switch overhead? (all the perf
    > hook calls for start/stop/add we dont need any of those -
    > i was still finding out if this route works basically if i turn off the
    > event there is minimal overhead for the event and not start/stop/add calls
    > for the event.)
    > 4.but during switch_to driver writes the RMID MSR, so we still monitor.
    > -> calls the driver -> driver just returns the count by reading the
    > RMID.

    This option breaks user expectations about an event. If an event is
    closed, it's gone.
    It shouldn't leave some state behind.

    Do you have thoughts about adding the one cgroup file to
    the intel_cmt pmu directory?


     \ /
      Last update: 2016-12-27 22:40    [W:2.199 / U:0.788 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site