From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754785AbcHYEb6 (ORCPT ); Thu, 25 Aug 2016 00:31:58 -0400 Received: from mail.skyhub.de ([78.46.96.112]:36056 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752746AbcHYEbR (ORCPT ); Thu, 25 Aug 2016 00:31:17 -0400 Date: Thu, 25 Aug 2016 05:35:14 +0200 From: Borislav Petkov To: Peter Zijlstra Cc: Matt Fleming , linux-kernel@vger.kernel.org, Ingo Molnar Subject: Re: [PATCH v2] perf/x86/amd: Make HW_CACHE_REFERENCES and HW_CACHE_MISSES measure L2 Message-ID: <20160825033514.GA31573@nazgul.tnic> References: <1472044328-21302-1-git-send-email-matt@codeblueprint.co.uk> <20160824145514.GA29210@nazgul.tnic> <20160824182706.GD10153@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20160824182706.GD10153@twins.programming.kicks-ass.net> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (dropping stable@ from CC) On Wed, Aug 24, 2016 at 08:27:06PM +0200, Peter Zijlstra wrote: > They're not meant to be comparable between machines. I wouldn't even > compare the LLC numbers between two different Intel parts. > > These events are meant to profile a workload on the machine you run them > on. Big cache-miss/ref ratios indicate you loose performance because of > the memory subsystem and or data structure layout. Ah ok, then I've misunderstood Matt's justification in the commit message. FWIW: Acked-by: Borislav Petkov Thanks. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --