From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 17 20:31:42 2015 Return-Path: Delivered-To: freebsd-hackers@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B758CA01 for ; Wed, 17 Jun 2015 20:31:42 +0000 (UTC) (envelope-from csprajeeth@gmail.com) Received: from mail-yh0-x236.google.com (mail-yh0-x236.google.com [IPv6:2607:f8b0:4002:c01::236]) (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 742B05FD for ; Wed, 17 Jun 2015 20:31:42 +0000 (UTC) (envelope-from csprajeeth@gmail.com) Received: by yhak3 with SMTP id k3so42338884yha.2 for ; Wed, 17 Jun 2015 13:31:41 -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=DsOGAA4EHRrGxs7rMUxmZQy7D2Gqylyh2lpqAZfHn4w=; b=KTTwV2Nqsj8iQbxsxtM/awLn956smzaLBAZJu5BkqDeqOWzlmav/cjulWB+c+LUfeB 5zlv7Um0WQb08ccsGcyrg2GJQH34M0rJoCypfd/twYFqQzTV2mxdVPkdisLgvMU9YiQi Lrw7IczJGDFCypYn3LXYDsCr7wOnDrFoChtBpog1pROPEuD+2X3ZI537xtPjQxmWsYJu oY/tdwigE2S7H8QBBCHukd9ay0ENNJTY6J6qGgDoveWPQwlDYlbdD4Fo++9W2wgt1Oiu psx0G7b2DKhs9VEmXls0MTySAdYLPjp9BsQgJ6iwKAFQxlXK9W6mXAHmL3LWQc/kWYss q0lQ== MIME-Version: 1.0 X-Received: by 10.129.80.4 with SMTP id e4mr9261481ywb.31.1434573101538; Wed, 17 Jun 2015 13:31:41 -0700 (PDT) Received: by 10.37.194.134 with HTTP; Wed, 17 Jun 2015 13:31:41 -0700 (PDT) In-Reply-To: References: Date: Thu, 18 Jun 2015 02:01:41 +0530 Message-ID: Subject: Re: PMCSTAT Event for counting L1-DCache Hit / Misses From: Sai Prajeeth To: Ryan Stone 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 20:31:42 -0000 Intel Xeon X5650 2660.05-MHz K8-class CPU. Family = 0x6 Model = 0x2c Stepping = 2. Pretty sure its Intel Nehalem architecture. On Thu, Jun 18, 2015 at 12:37 AM, Ryan Stone wrote: > 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. >