Re: hwpmc overflow

2011-09-28 Thread Anton Yuzhaninov
On Wed, 28 Sep 2011 01:44:42, George Neville-Neil wrote: GNN> If you count them individually do you still get the overflows? That is, if you run GNN> the same workload but only count instructions, then run it again with the next counter, GNN> etc. I am wondering if something is wrong because of

Re: hwpmc overflow

2011-09-27 Thread George Neville-Neil
On Sep 21, 2011, at 01:48 , Anton Yuzhaninov wrote: > On Wed, 21 Sep 2011 09:27:33 +0800, Adrian Chadd wrote: > AC> Is this an AMD class CPU? > AC> > AC> The way the counters work on some platforms is that they count _up_ to > AC> an overflow value, trigger the overflow interrupt, and PMC then i

Re: hwpmc overflow

2011-09-21 Thread Anton Yuzhaninov
On Wed, 21 Sep 2011 09:27:33 +0800, Adrian Chadd wrote: AC> Is this an AMD class CPU? AC> AC> The way the counters work on some platforms is that they count _up_ to AC> an overflow value, trigger the overflow interrupt, and PMC then is AC> supposed to calculate what the original value was. AC> It

Re: hwpmc overflow

2011-09-20 Thread Adrian Chadd
Is this an AMD class CPU? The way the counters work on some platforms is that they count _up_ to an overflow value, trigger the overflow interrupt, and PMC then is supposed to calculate what the original value was. It sounds like maybe that isn't working correctly for a certain class of counters?

Re: hwpmc overflow

2011-09-20 Thread Anton Yuzhaninov
On Tue, 20 Sep 2011 16:12:57 + (UTC), Anton Yuzhaninov wrote: AY> pmcstat -C -w1 -d -p AY> INSTR_RETIRED_ANY -p DTLB_MISSES.ANY -p MEM_LOAD_RETIRED.DTLB_MISS -p AY> ITLB_MISSES.ANY -p MEM_LOAD_RETIRED.L3_MISS AY> AY> With -C values should monotonous increase, but in output I see AY> overflous.

hwpmc overflow

2011-09-20 Thread Anton Yuzhaninov
It seems to be, that hwpmc counters overflow is not properly handled. I want to count TLB misses and run: pmcstat -C -w1 -d -p INSTR_RETIRED_ANY -p DTLB_MISSES.ANY -p MEM_LOAD_RETIRED.DTLB_MISS -p ITLB_MISSES.ANY -p MEM_LOAD_RETIRED.L3_MISS With -C values should monotonous increase, but in outpu