Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3361072ybx; Fri, 8 Nov 2019 18:48:59 -0800 (PST) X-Google-Smtp-Source: APXvYqymoeNLkC/2OnXH9qIPbsHVbsKzN+FqL4VSUWp0b/DRRUU4/o3QGM2s15TTwYZ9ez8ZoSc2 X-Received: by 2002:a50:8859:: with SMTP id c25mr13956853edc.253.1573267739596; Fri, 08 Nov 2019 18:48:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573267739; cv=none; d=google.com; s=arc-20160816; b=rYxtBwfSBQbJ8vZdkf32VKrReq78Z+J5VAtkHypZrVrjarSysEnJN96fJdLWwdNl4m dcsdMJOLmFVi/TNlR3ib3YtbuvHo44nqHCD8mjbFFotSgudqKbKPdrq3ZEtzT/LnQcFj 1NWo1eBTp8sDPED+1XPXzhZEUJMpKEI+3zW8rMjQvJhDLMZhnHQH1L0H+SL2FQSklT2S eDipx7r/EZJYQVCjDr2Cmm2lmhgt7oq/KUjAqbOuxPojGbAN1siRXZspxkfWVmLPsSIU kqFfm3CRrtGytGWB7PFjxi9JeUZLPAR4QnfZ7pA/IUggcM38p9l2zjWP2++aNL6iCWWH svyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=2C3XSV6uRTRENPSTlpGXt70xHLKEa2hnhwl7RrWo8m8=; b=jYc4g7FJTsd5P1qHBoJDaJzLZG9UeYiB6aLEKuwVHKI45kb/U9S3P2rGcrJcYf23ut UxRGNB8S7FK5O7g6/eBYohJn3jEsQ5SXxNabPyZPA5ZFNcGWkMIcGKaQyDdPVKH1Je5p qpAz3p7MAm53E2ORm2usQfbH0eOaPyTy8kOwnEEXT9QEcNzt5RxkxuGSB1X72da4IrM7 KsgqfqT2rkZ0+iwogjzNbUrQ+EBR0fZuyVwaWwd7rXn1G6/dKMCEbyAWLVt6Obr+tJt4 0+EXnLVD+N7pEIZcbHiXhTIITeXrz9JwLWyXuPliES6Uuhv02/CZu7dFUvx2geLyylHZ N7cw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d34si5878135eda.268.2019.11.08.18.48.36; Fri, 08 Nov 2019 18:48:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726586AbfKICrz (ORCPT + 99 others); Fri, 8 Nov 2019 21:47:55 -0500 Received: from mga04.intel.com ([192.55.52.120]:42457 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726061AbfKICrz (ORCPT ); Fri, 8 Nov 2019 21:47:55 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Nov 2019 18:47:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,283,1569308400"; d="scan'208";a="201515057" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.21]) by fmsmga008.fm.intel.com with ESMTP; 08 Nov 2019 18:47:54 -0800 Received: by tassilo.localdomain (Postfix, from userid 1000) id 44A8A300E00; Fri, 8 Nov 2019 18:47:54 -0800 (PST) Date: Fri, 8 Nov 2019 18:47:54 -0800 From: Andi Kleen To: "liuqi (BA)" Cc: "linux-kernel@vger.kernel.org" , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Jin Yao , Ravi Bangoria , Davidlohr Bueso , Zhangshaokun , huangdaode , linyunsheng , John Garry Subject: Re: [QUESTION]perf stat: comment of miss ratio Message-ID: <20191109024754.GA573472@tassilo.jf.intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Relevant code is checked to make sure that the ratio is calculated by > > L1-dcache-load-misses/L1-dcache-loads, data "7.58%=30249/399189*100%" also > > proves this conclusion. > > So, I'm not sure why we use "of all L1-dcache hits" here to describe miss > ratio, Yes you're right it should be "of all L1-dcache accesses" Please send a patch to fix the string and also check if this isn't wrong with some other ratio too. -Andi