Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2013 20:19:18 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        freebsd-current@FreeBSD.org, freebsd-hackers <freebsd-hackers@FreeBSD.org>
Subject:   Re: hwpmc with opteron 6128
Message-ID:  <51A78A16.4050705@FreeBSD.org>
In-Reply-To: <51A76E5E.5050206@FreeBSD.org>
References:  <51A76E5E.5050206@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 30/05/2013 18:21 Andriy Gapon said the following:
> 
> 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>

I didn't realize that the system was running in a VM.
Sorry for the noise.

> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51A78A16.4050705>