Re: [PATCH v3] perf/rapl: support per domain energy unit

2015-06-15 Thread Jacob Pan
On Mon, 15 Jun 2015 13:32:01 -0400 (EDT) Vince Weaver wrote: > On Thu, 26 Mar 2015, Jacob Pan wrote: > > > RAPL energy hardware unit can vary within a single CPU package, e.g. > > HSW server DRAM has a fixed energy unit of 15.3 uJ (2^-16) whereas > > the unit on other domains can be enumerated f

Re: [PATCH v3] perf/rapl: support per domain energy unit

2015-06-15 Thread Vince Weaver
On Thu, 26 Mar 2015, Jacob Pan wrote: > RAPL energy hardware unit can vary within a single CPU package, e.g. > HSW server DRAM has a fixed energy unit of 15.3 uJ (2^-16) whereas > the unit on other domains can be enumerated from power unit MSR. > There might be other variations in the future, this

Re: [PATCH v3] perf/rapl: support per domain energy unit

2015-04-15 Thread Peter Zijlstra
On Wed, Apr 15, 2015 at 09:19:23AM -0700, Jacob Pan wrote: > On Wed, 15 Apr 2015 17:40:59 +0200 > Peter Zijlstra wrote: > > > On Wed, Apr 15, 2015 at 08:08:07AM -0700, Jacob Pan wrote: > > > Any more comments? This is really a bug fix. > > > > I had it queued but it missed the first pull req,

Re: [PATCH v3] perf/rapl: support per domain energy unit

2015-04-15 Thread Jacob Pan
On Wed, 15 Apr 2015 17:40:59 +0200 Peter Zijlstra wrote: > On Wed, Apr 15, 2015 at 08:08:07AM -0700, Jacob Pan wrote: > > Any more comments? This is really a bug fix. > > I had it queued but it missed the first pull req, I'll put it in > /urgent. Thanks, just for my learning the next time, whi

Re: [PATCH v3] perf/rapl: support per domain energy unit

2015-04-15 Thread Peter Zijlstra
On Wed, Apr 15, 2015 at 08:08:07AM -0700, Jacob Pan wrote: > Any more comments? This is really a bug fix. I had it queued but it missed the first pull req, I'll put it in /urgent. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.

Re: [PATCH v3] perf/rapl: support per domain energy unit

2015-04-15 Thread Jacob Pan
On Mon, 6 Apr 2015 10:30:33 -0700 Stephane Eranian wrote: > On Mon, Apr 6, 2015 at 8:21 AM, Jacob Pan > wrote: > > > > On Thu, 26 Mar 2015 14:28:45 -0700 > > Jacob Pan wrote: > > > > > RAPL energy hardware unit can vary within a single CPU package, > > > e.g. HSW server DRAM has a fixed energy

Re: [PATCH v3] perf/rapl: support per domain energy unit

2015-04-06 Thread Stephane Eranian
On Mon, Apr 6, 2015 at 8:21 AM, Jacob Pan wrote: > > On Thu, 26 Mar 2015 14:28:45 -0700 > Jacob Pan wrote: > > > RAPL energy hardware unit can vary within a single CPU package, e.g. > > HSW server DRAM has a fixed energy unit of 15.3 uJ (2^-16) whereas > > the unit on other domains can be enumera

Re: [PATCH v3] perf/rapl: support per domain energy unit

2015-04-06 Thread Jacob Pan
On Thu, 26 Mar 2015 14:28:45 -0700 Jacob Pan wrote: > RAPL energy hardware unit can vary within a single CPU package, e.g. > HSW server DRAM has a fixed energy unit of 15.3 uJ (2^-16) whereas > the unit on other domains can be enumerated from power unit MSR. > There might be other variations in t

[PATCH v3] perf/rapl: support per domain energy unit

2015-03-26 Thread Jacob Pan
RAPL energy hardware unit can vary within a single CPU package, e.g. HSW server DRAM has a fixed energy unit of 15.3 uJ (2^-16) whereas the unit on other domains can be enumerated from power unit MSR. There might be other variations in the future, this patch adds per cpu model quirk to allow specia