Re: [RFC] perf_events: support for uncore a.k.a. nest units

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Corey Ashford
Date: Tuesday, March 30, 2010 - 3:12 pm

On 3/30/2010 10:15 AM, Peter Zijlstra wrote:
-- my comments snipped --

This sounds like a good idea.  Right now for the Wire-Speed processor, we have a 
loop that goes through all of the nest PMU's and calls their respective per-pmu 
functions.


Yes, I think it makes a lot of sense, so that there's not some sort of fixed 
association of pmu contexts to cpu contexts, for example.


Definitely.  I don't think it makes sense to have per-task context on 
nest/uncore PMUs.  At least we haven't found any justification for it.


This is necessary I think, because of the access time for some of the PMU's.  I 
wonder though if it should, perhaps optionally, be off-loaded to a high-priority 
task to do the switching so that access latency to the PMU can be controlled.

As I mentioned when we met, some of the Wire-Speed processor nest PMU control 
registers are accessed via SCOM, which is an internal, 200 MHz serial bus.  We 
are being quoted ~525 SCOM bus ticks to do a PMU control register access, which 
comes out to about 2.5 microseconds.  If you figure 5 accesses to rotate the 
events on a PMU, that's a minimum of 12.5 microseconds.


Well, it's not as if this is a trivial task either :)

- Corey

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] perf_events: support for uncore a.k.a. nest units, Corey Ashford, (Tue Jan 19, 12:41 pm)
Re: [RFC] perf_events: support for uncore a.k.a. nest units, stephane eranian, (Thu Jan 21, 1:47 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units, stephane eranian, (Thu Jan 21, 2:16 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units, stephane eranian, (Thu Jan 21, 2:43 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units, Peter Zijlstra, (Thu Jan 28, 12:06 pm)
Re: [RFC] perf_events: support for uncore a.k.a. nest units, Peter Zijlstra, (Tue Mar 30, 10:15 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units, stephane eranian, (Tue Mar 30, 2:28 pm)
Re: [RFC] perf_events: support for uncore a.k.a. nest units, Corey Ashford, (Tue Mar 30, 3:12 pm)
Re: [RFC] perf_events: support for uncore a.k.a. nest units, stephane eranian, (Wed Mar 31, 6:43 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units, stephane eranian, (Wed Mar 31, 7:13 am)
Re: [RFC] perf_events: support for uncore a.k.a. nest units, Maynard Johnson, (Wed Mar 31, 8:49 am)