From owner-freebsd-questions@FreeBSD.ORG Tue May 12 10:50:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B690106566B for ; Tue, 12 May 2009 10:50:59 +0000 (UTC) (envelope-from laladelausanne@gmail.com) Received: from mail-ew0-f207.google.com (mail-ew0-f207.google.com [209.85.219.207]) by mx1.freebsd.org (Postfix) with ESMTP id CE1958FC15 for ; Tue, 12 May 2009 10:50:58 +0000 (UTC) (envelope-from laladelausanne@gmail.com) Received: by ewy3 with SMTP id 3so4068303ewy.43 for ; Tue, 12 May 2009 03:50:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=8RS+Eu3mmBLcWHCPUnNJ+7N1JyylsdzzC0b+S0bu49w=; b=MR485bZuDvscuwCpwJQMz5oPosSHHv7B33+a+9W9HWj8tvU4FCke4xQHkLdFyDEkrT b9m9zeZLHb96w4pjpWvPSp8Z4It1X/rUYyC5fiROwh14VMUGiLR1KNzOpyOx8YO0AOF8 23GmcPaENvGIkutEgSJ/yzMUTPU2FCjxiSwXM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=OOKePsCNI1PkEm7KWaIZRQIeAIN/vkX/LVUpAarGZ4+AAjZ2rDoo5Xev/y78atzeXM QMumsxIZQxfaUMu2+AXB1GUMidmizlrrRb9fZwwaXNrnFbPffwduFHI6Ci7bnpFClpyS su+OUZdcm5/wmJ2/kTJV1xD/ruM0miU0iruqo= Received: by 10.210.127.13 with SMTP id z13mr328883ebc.83.1242124086664; Tue, 12 May 2009 03:28:06 -0700 (PDT) Received: from nslpc5.epfl.ch (nslpc5.epfl.ch [128.178.149.20]) by mx.google.com with ESMTPS id 28sm3480170eyg.24.2009.05.12.03.28.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 12 May 2009 03:28:06 -0700 (PDT) Message-Id: <2580F282-ABE0-448B-AB10-16CB9A3EC16D@gmail.com> From: =?UTF-8?Q?Nikola_Kne=C5=BEevi=C4=87?= To: FreeBSD Questions Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 12 May 2009 12:28:05 +0200 X-Mailer: Apple Mail (2.930.3) Subject: Failing to get dc-misses with pmc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 May 2009 10:50:59 -0000 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 > AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 4 usable memory = 8570097664 (8173 MB) avail memory = 8243294208 (7861 MB) ACPI APIC Table: What am I doing wrong? Thanks, Nikola