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]
Message-ID: <20130911165018.GJ11427@tassilo.jf.intel.com>
Date:	Wed, 11 Sep 2013 09:50:18 -0700
From:	Andi Kleen <ak@...ux.intel.com>
To:	Stephane Eranian <eranian@...gle.com>
Cc:	linux-kernel@...r.kernel.org, peterz@...radead.org, mingo@...e.hu,
	zheng.z.yan@...el.com, dhsharp@...gle.com
Subject: Re: [PATCH] perf,x86: add constraint for IVB
 CYCLE_ACTIVITY:CYCLES_LDM_PENDING

On Wed, Sep 11, 2013 at 08:22:22AM -0700, Stephane Eranian wrote:
> 
> The IvyBridge event CYCLE_ACTIVITY:CYCLES_LDM_PENDING can only
> be measured on counters 0-3 when HT is off. When HT is on, you
> only have counters 0-3.
> 
> If you program it on the eight counters for 1s on a 3GHz
> IVB laptop running a noploop, you see:
> 
>            2 747 527 CYCLE_ACTIVITY:CYCLES_LDM_PENDING
>            2 747 527 CYCLE_ACTIVITY:CYCLES_LDM_PENDING
>            2 747 527 CYCLE_ACTIVITY:CYCLES_LDM_PENDING
>            2 747 527 CYCLE_ACTIVITY:CYCLES_LDM_PENDING
>        3 280 563 608 CYCLE_ACTIVITY:CYCLES_LDM_PENDING
>        3 280 563 608 CYCLE_ACTIVITY:CYCLES_LDM_PENDING
>        3 280 563 608 CYCLE_ACTIVITY:CYCLES_LDM_PENDING
>        3 280 563 608 CYCLE_ACTIVITY:CYCLES_LDM_PENDING
> 
> Clearly the last 4 values are bogus.

Thanks looks good.

Likely need it on Haswell too?

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ