linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Meaning of weight and source fields in perf mem samples
@ 2015-09-02  6:22 Daniel Ortiz
  2015-09-02 19:21 ` Andi Kleen
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Ortiz @ 2015-09-02  6:22 UTC (permalink / raw)
  To: linux-perf-users

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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-02 19:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-02  6:22 Meaning of weight and source fields in perf mem samples Daniel Ortiz
2015-09-02 19:21 ` Andi Kleen

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).