Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754535Ab0KFOod (ORCPT ); Sat, 6 Nov 2010 10:44:33 -0400 Received: from mail-ww0-f44.google.com ([74.125.82.44]:49924 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753113Ab0KFOob (ORCPT ); Sat, 6 Nov 2010 10:44:31 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=B9ULk4JZK/9fGGmWTl79TWjd7kKjDDIyfo3VshEYsAqyiQJ1OavOLv4+QJqigih5Nh 6oR3FZT6mKGYvIVMT2767/T6mn8g3e1F/7w9vFR5v1rU6JZ56AIf9Hsl/WLSUYyyIkk/ Xj5HrHSeQ23AVBp6ovgKBnACGV2I5ANdlgL+4= From: Francis Moreau To: Vince Weaver Cc: Victor Jimenez , Reid Kleckner , Frederic Weisbecker , linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Arnaldo Carvalho de Melo , Stephane Eranian , linux-perf-users@vger.kernel.org Subject: Re: perf tools miscellaneous questions References: Date: Sat, 06 Nov 2010 15:44:24 +0100 In-Reply-To: (Vince Weaver's message of "Fri, 5 Nov 2010 10:02:01 -0400 (EDT)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1456 Lines: 49 Vince Weaver writes: > On Fri, 5 Nov 2010, Francis Moreau wrote: > >> Victor Jimenez writes: >> >> [...] >> >> > If you are measuring last level cache misses, I would recommend you to >> > use a memory intensive application/benchmark instead of /bin/true, as >> > otherwise there can be a significant variation between two runs. >> >> I agree. >> >> But still with intensive application, I got the same results: > > > you're going to need to get your architectural manual for your processor > and use raw events (not the kernel default ones) if you really want to > find out what's going on. A tool like libpfm4 can help change the names > to raw events for you. Ouch that's a bit rude for a man page ;) Specially since 'llc-loads-misses' is and should be self speaking. OK, my cpu is described by: ,---- | vendor_id : GenuineIntel | cpu family : 6 | model : 15 | model name : Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz `---- Could you point out the best architecture manual for it which describe the raw events ? BTW, I'm wondering if event names are coherent across the different architectures supported by Linux. Thanks -- Francis -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/