From: Ingo Molnar <mingo@elte.hu>
To: Peter Zijlstra <peterz@infradead.org>
Cc: Robert Richter <robert.richter@amd.com>,
Arnaldo Carvalho de Melo <acme@redhat.com>,
Stephane Eranian <eranian@google.com>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 4/4] perf script: Add script to collect and display IBS samples
Date: Fri, 23 Dec 2011 15:40:40 +0100 [thread overview]
Message-ID: <20111223144040.GB2297@elte.hu> (raw)
In-Reply-To: <1324649698.24803.55.camel@twins>
* Peter Zijlstra <peterz@infradead.org> wrote:
> On Fri, 2011-12-23 at 14:53 +0100, Ingo Molnar wrote:
> > * Robert Richter <robert.richter@amd.com> wrote:
> >
> > > > Also, could you quote example output of "perf script report
> > > > ibs"?
> > >
> > > IBS_FETCH sample on cpu6 IBS0: 0x00170003186a186a IBS1: 0x0000000000444780 IBS2:0x000000041af26780
> > > IBS_FETCH sample on cpu6 IBS0: 0x00170003186a186a IBS1: 0x00007f5efb44e3b2 IBS2:0x000000042fcff3b2
> > > IBS_FETCH sample on cpu6 IBS0: 0x01370003186a186a IBS1: 0xffffffff81065273 IBS2:0x0000000001065273
> > > IBS_FETCH sample on cpu6 IBS0: 0x01370003186a186a IBS1: 0xffffffff811a6320 IBS2:0x00000000011a6320
> > > IBS_FETCH sample on cpu6 IBS0: 0x01370003186a186a IBS1: 0xffffffff81065255 IBS2:0x0000000001065255
> > > IBS_FETCH sample on cpu7 IBS0: 0x00170004186a186a IBS1: 0x00007fbf0c687ca0 IBS2:0x000000041d345ca0
> > > IBS_FETCH sample on cpu7 IBS0: 0x00170003186a186a IBS1: 0x000000000043bb80 IBS2:0x000000041c351b80
> > > IBS_FETCH sample on cpu7 IBS0: 0x01370003186a186a IBS1: 0xffffffff813d5790 IBS2:0x00000000013d5790
> > > IBS_FETCH sample on cpu7 IBS0: 0x00030001186a186a IBS1: 0xffffffff8102bd00 IBS2:0x00000000013d5d00
> >
> > That does not look very usable to users. So why should we merge
> > this new ABI in its incomplete form with no complete usecase?
> > Being usable is clearly not outside the scope of a new feature
> > ...
> >
> > Integrating it into perf report should not be *that* hard,
> > you've done most of the hard work already. But without that
> > step we just don't know how complete and usable the whole
> > thing is.
>
> perf annotate like output might make more sense for IBS, maybe
> not decode all the information that's in there, but at least a
> number of the most useful measurements for each type and
> present multiple columns in front of the instructions.
>
> Ingo, the trouble with IBS is that it doesn't measure
> something, its a measure everything together like thing, so
> what particular part of this massive bulk data do you use to
> create your histograms?
My point is that a useful angle to it has to be presented for it
to be useful for upstream.
The bit that looks useful about IBS is skid-free sampling. So as
long as the 'bulk data' contains enough information to do a
'perf record -e instructions:p' work-alike thing it would be
useful, right?
Sadly precise cycles sampling is not possible via IBS, right?
Thanks,
Ingo
[*] Sidenote: i suspect the RIP+1 sampling artifact cannot be
gotten rid of on AMD CPUs, right?
next prev parent reply other threads:[~2011-12-23 14:42 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-15 17:23 [PATCH 0/4] perf tools: Add support for IBS Robert Richter
2011-12-15 17:23 ` [PATCH 1/4] perf tool: Parse general/raw events from sysfs Robert Richter
2011-12-21 16:52 ` Robert Richter
2012-01-02 11:07 ` Stephane Eranian
2011-12-15 17:23 ` [PATCH 2/4] perf tools: Add pmu mappings to header information Robert Richter
2011-12-15 17:23 ` [PATCH 3/4] perf script: Add generic perl handler to process events Robert Richter
2011-12-29 20:56 ` [tip:perf/core] " tip-bot for Robert Richter
2011-12-15 17:23 ` [PATCH 4/4] perf script: Add script to collect and display IBS samples Robert Richter
2011-12-15 19:19 ` David Ahern
2011-12-15 23:47 ` Robert Richter
2011-12-23 10:33 ` Ingo Molnar
2011-12-23 11:19 ` Robert Richter
2011-12-23 13:53 ` Ingo Molnar
2011-12-23 14:14 ` Peter Zijlstra
2011-12-23 14:40 ` Ingo Molnar [this message]
2011-12-23 16:17 ` Robert Richter
2011-12-23 16:39 ` Ingo Molnar
2011-12-23 16:50 ` Robert Richter
2011-12-30 9:55 ` Ingo Molnar
2012-02-02 11:21 ` Robert Richter
2012-03-08 12:19 ` Ingo Molnar
2012-03-09 11:41 ` Robert Richter
2012-03-21 18:13 ` Robert Richter
2012-03-22 7:51 ` Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111223144040.GB2297@elte.hu \
--to=mingo@elte.hu \
--cc=acme@redhat.com \
--cc=eranian@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=robert.richter@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®