lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 24 Jul 2015 20:57:43 +0000
From:	"Liang, Kan" <kan.liang@...el.com>
To:	Stephane Eranian <eranian@...gle.com>
CC:	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	"mingo@...hat.com" <mingo@...hat.com>,
	Arnaldo Carvalho de Melo <acme@...nel.org>,
	"ak@...ux.intel.com" <ak@...ux.intel.com>,
	LKML <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 1/1] perf/x86: Add Intel power cstate PMUs support

> > + *     MSR_PKG_C6_RESIDENCY:  Package C6 Residency Counter.
> > + *                            perf code: 0x06
> > + *                            Available model: NHM,WSM,SNB,IVB,HSW,BDW
> > + *                            Scope: Package (physical package)
> > + *     MSR_PKG_C7_RESIDENCY:  Package C7 Residency Counter.
> > + *                            perf code: 0x07
> > + *                            Available model: NHM,WSM,SNB,IVB,HSW,BDW
> > + *                            Scope: Package (physical package)
> > + *     MSR_PKG_C8_RESIDENCY:  Package C8 Residency Counter.
> > + *                            perf code: 0x08
> > + *                            Available model: HSW ULT only
> > + *                            Scope: Package (physical package)
> > + *     MSR_PKG_C9_RESIDENCY:  Package C9 Residency Counter.
> > + *                            perf code: 0x09
> > + *                            Available model: HSW ULT only
> > + *                            Scope: Package (physical package)
> > + *     MSR_PKG_C10_RESIDENCY: Package C10 Residency Counter.
> > + *                            perf code: 0x0a
> > + *                            Available model: HSW ULT only
> > + *                            Scope: Package (physical package)
> > + *     MSR_SLM_PKG_C6_RESIDENCY: Package C6 Residency Counter for
> SLM.
> > + *                            perf code: 0x0b
> > + *                            Available model: SLM,AMT
> > + *                            Scope: Package (physical package)
> > + *
> > + */
> > +
> Why would the user (and the tools) have to change the event code to
> measure,  let's say C6 residency, between SLM (0xb) and and BDW (0x6)?
> Are they not measuring the same thing?
> 

Yes, they are measuring the same thing, but with different MSR.
I will make their event code consistent and special handle PKG_C6
in event_init in next version.


Thanks,
Kan

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ