From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============7401163773278878971==" MIME-Version: 1.0 From: Ingo Molnar To: lkp@lists.01.org Subject: Re: [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression Date: Mon, 15 Aug 2016 07:03:00 +0200 Message-ID: <20160815050300.GA16267@gmail.com> In-Reply-To: List-Id: --===============7401163773278878971== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable * Linus Torvalds wrote: > Make sure you actually use "perf record -e cycles:pp" or something > that uses PEBS to get real profiles using CPU performance counters. Btw., 'perf record -e cycles:pp' is the default now for modern versions of perf tooling (on most x86 systems) - if you do 'perf record' it will just use the most precise profiling mode available on that particular CPU model. If unsure you can check the event that was used, via: triton:~> perf report --stdio 2>&1 | grep '# Samples' # Samples: 27K of event 'cycles:pp' Thanks, Ingo --===============7401163773278878971==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752377AbcHOFDH (ORCPT ); Mon, 15 Aug 2016 01:03:07 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:32973 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750977AbcHOFDG (ORCPT ); Mon, 15 Aug 2016 01:03:06 -0400 Date: Mon, 15 Aug 2016 07:03:00 +0200 From: Ingo Molnar To: Linus Torvalds Cc: Dave Chinner , Tejun Heo , Wu Fengguang , "Kirill A. Shutemov" , Christoph Hellwig , "Huang, Ying" , LKML , Bob Peterson , LKP , Arnaldo Carvalho de Melo , Peter Zijlstra Subject: Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression Message-ID: <20160815050300.GA16267@gmail.com> References: <20160811155721.GA23015@lst.de> <20160812005442.GN19025@dastard> <20160812035645.GQ19025@dastard> <20160815004826.GW19025@dastard> <20160815022808.GX19025@dastard> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Linus Torvalds wrote: > Make sure you actually use "perf record -e cycles:pp" or something > that uses PEBS to get real profiles using CPU performance counters. Btw., 'perf record -e cycles:pp' is the default now for modern versions of perf tooling (on most x86 systems) - if you do 'perf record' it will just use the most precise profiling mode available on that particular CPU model. If unsure you can check the event that was used, via: triton:~> perf report --stdio 2>&1 | grep '# Samples' # Samples: 27K of event 'cycles:pp' Thanks, Ingo