From: Daniel Ortiz <daniel.ortiz@tum.de>
To: linux-perf-users@vger.kernel.org
Subject: Meaning of weight and source fields in perf mem samples
Date: Wed, 2 Sep 2015 06:22:40 +0000 (UTC) [thread overview]
Message-ID: <ms64jg$cfo$1@ger.gmane.org> (raw)
Hello everyone
I am using perf on an Intel Sandy Bridge Numa System and I have a question about the samples taken with perf mem record:
What is the meaning of the weight value and source of a sample?
Since the measurement is made using Intel's event CDH, umask 01H (Table 19-7 of the manual),
I would expect this value to be as what is described in the manual:
"The load latency provides software a means to characterize the average load latency to different levels of cache/memory hierarchy ... This field measures the load latency from load's first dispatch of till final data writeback from the memory subsystem. The latency is reported for retired demand load operations and in core cycles (it accounts for re-dispatches)" (18.9.4.2).
But I have not found any source that confirms whether perf is taking
this value or not. Could anyone confirm me if these are the values
that perf is putting on the samples or point me to the place in the
code where it is being done?
next reply other threads:[~2015-09-02 6:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-02 6:22 Daniel Ortiz [this message]
2015-09-02 19:21 ` Meaning of weight and source fields in perf mem samples Andi Kleen
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='ms64jg$cfo$1@ger.gmane.org' \
--to=daniel.ortiz@tum.de \
--cc=linux-perf-users@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).