Date: Tue, 12 May 2009 12:28:05 +0200 From: =?UTF-8?Q?Nikola_Kne=C5=BEevi=C4=87?= <laladelausanne@gmail.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Failing to get dc-misses with pmc Message-ID: <2580F282-ABE0-448B-AB10-16CB9A3EC16D@gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2580F282-ABE0-448B-AB10-16CB9A3EC16D>
