From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757295AbcIPNBc (ORCPT ); Fri, 16 Sep 2016 09:01:32 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:36005 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752877AbcIPNBX (ORCPT ); Fri, 16 Sep 2016 09:01:23 -0400 Date: Fri, 16 Sep 2016 14:01:19 +0100 From: Matt Fleming To: Borislav Petkov Cc: Peter Zijlstra , 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: <20160916130119.GE16797@codeblueprint.co.uk> References: <1472044328-21302-1-git-send-email-matt@codeblueprint.co.uk> <20160824145514.GA29210@nazgul.tnic> <20160824182706.GD10153@twins.programming.kicks-ass.net> <20160825033514.GA31573@nazgul.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160825033514.GA31573@nazgul.tnic> User-Agent: Mutt/1.5.24+41 (02bc14ed1569) (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 25 Aug, at 05:35:14AM, Borislav Petkov wrote: > (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 Ping? Tip folks: are you OK to apply this?