From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 17 19:07:03 2015 Return-Path: Delivered-To: freebsd-hackers@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 147DAB3C for ; Wed, 17 Jun 2015 19:07:03 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-ie0-x233.google.com (mail-ie0-x233.google.com [IPv6:2607:f8b0:4001:c03::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CFAF7B8E for ; Wed, 17 Jun 2015 19:07:02 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: by iebgx4 with SMTP id gx4so40319544ieb.0 for ; Wed, 17 Jun 2015 12:07:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2fIFKWWQ2RPeUZiqnQkhTNGAjPMluSCcqd95OPnvg0E=; b=pi1htNjKa/Or2/tX8g3NMLYbrYwmZpOsbgtRNcg2Y1lD6m14Rf+wFY0wZjhZ3keza0 /AFEz0BvCTgi0B718RsUWtlNUMgbW5uQe7PKi9a+mhCksKzIo4qrhSH2V0/al8Tut6bV L0y5cMIAEUhNKYht1sXppPIfFCnoY4W5z23XDc232K8w/GXdrIHtR8o3Mmv2nOXC6h0H p4G+ebtzX95ejm8xCWpXIV39afnMrY8FwA2TqJNl0KVuIQVutbx9bbOJ0gdSe+hUcvZd 5jV3V1cONLGD2mlENrvHQLdFFdsagUePpXe+oNJwyR+CFP30hvOlIUdcEN+8Lh17z0Zc zhZQ== MIME-Version: 1.0 X-Received: by 10.50.39.105 with SMTP id o9mr37670434igk.39.1434568022181; Wed, 17 Jun 2015 12:07:02 -0700 (PDT) Received: by 10.107.165.16 with HTTP; Wed, 17 Jun 2015 12:07:02 -0700 (PDT) In-Reply-To: References: Date: Wed, 17 Jun 2015 15:07:02 -0400 Message-ID: Subject: Re: PMCSTAT Event for counting L1-DCache Hit / Misses From: Ryan Stone To: Sai Prajeeth Cc: "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 19:07:03 -0000 On Mon, Jun 15, 2015 at 1:48 PM, Sai Prajeeth wrote: > Hi, > > I am not able to find the event that counts the L1 Data cache hits and > misses in pmccontrol -L. Can anyone tell me what the events are so that i > can get the counts using pmcstat ?\ > > Thanks! > This is specific to your processor model (not just amd64 or armv7, but the model name like "Sandy Bridge" or "Intel E5-2600"). What processor model do you have? It's printed to dmesg and /var/log/messages during boot.