linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Latency values in perf mem report
@ 2015-08-05 14:54 Milan Radulovic
  2015-08-05 20:02 ` Vince Weaver
  0 siblings, 1 reply; 3+ messages in thread
From: Milan Radulovic @ 2015-08-05 14:54 UTC (permalink / raw)
  To: linux-perf-users

Hello all,

I measured load latency using perf mem rec and I have some doubts regarding
the results.
It is a 2 socket machine, with 2x Intel E5-2620 (2x 6 cores) at 2.3 GHz.
I sampled the application which runs on all 12 cores for half an hour.
When I print out the results with perf mem rep I get a very broad range of
latencies for certain events. Specifically, Local RAM hits have latencies
from ~20 cycles up to ~2000 cycles.
It is similar for Remote RAM hits (which happen rarely).
First, I used 200 samples/second, but it is the same when I use 50
samples/second.

Is there some useful advice how could I filter these results?
I guess RAM hits should not have latencies bellow ~200 cycles.

Thanks for your help,
Milan

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

* Re: Latency values in perf mem report
  2015-08-05 14:54 Latency values in perf mem report Milan Radulovic
@ 2015-08-05 20:02 ` Vince Weaver
  2015-08-11 15:16   ` Milan Radulovic
  0 siblings, 1 reply; 3+ messages in thread
From: Vince Weaver @ 2015-08-05 20:02 UTC (permalink / raw)
  To: Milan Radulovic; +Cc: linux-perf-users

On Wed, 5 Aug 2015, Milan Radulovic wrote:

> I measured load latency using perf mem rec and I have some doubts regarding
> the results.
> It is a 2 socket machine, with 2x Intel E5-2620 (2x 6 cores) at 2.3 GHz.

I'm not sure if it applies, but you might want to take a look at this:
	
https://software.intel.com/en-us/articles/performance-monitoring-on-intel-xeon-processor-e5-family

Vince

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

* Re: Latency values in perf mem report
  2015-08-05 20:02 ` Vince Weaver
@ 2015-08-11 15:16   ` Milan Radulovic
  0 siblings, 0 replies; 3+ messages in thread
From: Milan Radulovic @ 2015-08-11 15:16 UTC (permalink / raw)
  To: linux-perf-users

Vince Weaver <vincent.weaver <at> maine.edu> writes:
>
https://software.intel.com/en-us/articles/
performance-monitoring-on-intel-xeon-processor-e5-family
> 
> Vince

Hello Vince,

I took a look at the document you suggested. 
It seems that the counter which measures
latency on SandyBridge may undercount...
If you apply some of the workarounds which they suggest, I get better results.
There are still some small values but they appear far less.

Thanks for the help!

Best regards,
Milan

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

end of thread, other threads:[~2015-08-11 15:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-05 14:54 Latency values in perf mem report Milan Radulovic
2015-08-05 20:02 ` Vince Weaver
2015-08-11 15:16   ` Milan Radulovic

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