hwpmc with opteron 6128
Andriy Gapon
avg at FreeBSD.org
Thu May 30 15:21:12 UTC 2013
I am trying to do a very basic thing with hwpmc on this CPU:
CPU: AMD Opteron(tm) Processor 6128 (1999.05-MHz K8-class CPU)
hwpmc: SOFT/16/64/0x67<INT,USR,SYS,REA,WRI> TSC/1/64/0x20<REA>
K8/4/48/0x1ff<INT,USR,SYS,EDG,THR,REA,WRI,INV,QUA>
What I am trying is:
$ pmcstat -T -S instructions
What I am getting is just:
PMC: [FR_RETIRED_X86_INSTRUCTIONS] Samples: 0 (0.0%) , 0 unresolved
and nothing else on the screen.
Has anyone had a success with this class of processors?
Should it be supported?
Any ideas/suggestions/hints?
P.S. pmccontrol -L reports a whole bunch of "K8" counters, just a small random
sub-sample:
BU_FILL_INTO_L2
IC_FETCH
IC_MISS
IC_REFILL_FROM_L2
IC_REFILL_FROM_SYSTEM
IC_L1_ITLB_MISS_AND_L2_ITLB_HIT
IC_L1_ITLB_MISS_AND_L2_ITLB_MISS
IC_MICROARCHITECTURAL_RESYNC_BY_SNOOP
IC_INSTRUCTION_FETCH_STALL
IC_RETURN_STACK_HIT
IC_RETURN_STACK_OVERFLOW
FR_RETIRED_X86_INSTRUCTIONS
FR_RETIRED_UOPS
FR_RETIRED_BRANCHES
FR_RETIRED_BRANCHES_MISPREDICTED
FR_RETIRED_TAKEN_BRANCHES
FR_RETIRED_TAKEN_BRANCHES_MISPREDICTED
--
Andriy Gapon
More information about the freebsd-hackers
mailing list