Failing to get dc-misses with pmc

Nikola Knežević laladelausanne at gmail.com
Tue May 12 10:50:59 UTC 2009


Hi,

I'm trying to get number of L2 cache misses on a system level via:
  sudo pmcstat -S dc-misses -O /tmp/sample.out

However, I'm getting this error:
pmcstat: ERROR: Cannot allocate system-mode pmc with specification "dc- 
misses": Invalid argument

I'm running 7.1-RELEASE-p3 on:
CPU: Intel(R) Xeon(R) CPU           X5472  @ 3.00GHz (3004.49-MHz K8- 
class CPU)
   Origin = "GenuineIntel"  Id = 0x10676  Stepping = 6
    
Features 
= 
0xbfebfbff 
< 
FPU 
,VME 
,DE 
,PSE 
,TSC 
,MSR 
,PAE 
,MCE 
,CX8 
,APIC 
,SEP 
,MTRR 
,PGE 
,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
    
Features2 
= 
0xce3bd 
<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,<b19>>
   AMD Features=0x20100800<SYSCALL,NX,LM>
   AMD Features2=0x1<LAHF>
   Cores per package: 4
usable memory = 8570097664 (8173 MB)
avail memory  = 8243294208 (7861 MB)
ACPI APIC Table: <INTEL  S5400SF >


What am I doing wrong?

Thanks,
Nikola


More information about the freebsd-questions mailing list