From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manuel Selva Subject: Re: unable to get load latency info Date: Fri, 28 Feb 2014 12:06:15 +0100 Message-ID: <53106DA7.3040807@gmail.com> References: <1393568679.86476.YahooMailNeo@web125402.mail.ne1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f43.google.com ([74.125.83.43]:38253 "EHLO mail-ee0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751224AbaB1LGS (ORCPT ); Fri, 28 Feb 2014 06:06:18 -0500 Received: by mail-ee0-f43.google.com with SMTP id e53so1950920eek.16 for ; Fri, 28 Feb 2014 03:06:17 -0800 (PST) In-Reply-To: <1393568679.86476.YahooMailNeo@web125402.mail.ne1.yahoo.com> Sender: linux-perf-users-owner@vger.kernel.org List-ID: To: Muthusamy , "linux-perf-users@vger.kernel.org" You must also take care of the fact that PEBS load Latency Measurement has been introduced in kernel 3.10 http://web.eece.maine.edu/~vweaver/projects/perf_events/features.html http://comments.gmane.org/gmane.linux.kernel/1428651 Manu On 02/28/2014 07:24 AM, Muthusamy wrote: > Hi, > > I am trying to get the memory load latency info using perf, but I am always getting 0. > Can you please help me in understanding what I am missing. Below are the details > > [root@rafa tmp]# ./perf --version > perf version 3.12.11 > [root@rafa tmp]# ./perf stat -e r100b pwd ### (I have tried with other data intensive programs too) > /tmp/cms/tmp > > Performance counter stats for 'pwd': > > 0 r100b > > 0.000846849 seconds time elapsed > > [root@rafa tmp]# uname -a > Linux rafa 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64 x86_64 x86_64 GNU/Linux > > [root@rafa tmp]# cat /proc/cpuinfo > processor: 0 > vendor_id: GenuineIntel > cpu family: 6 > model: 26 > model name: Intel(R) Xeon(R) CPU X5550 @ 2.67GHz > stepping > : 5 > cpu MHz: 1600.000 > cache size: 8192 KB > physical id: 0 > siblings: 1 > core id: 0 > cpu cores: 1 > apicid: 0 > initial apicid: 0 > fpu: yes > fpu_exception: yes > cpuid level: 11 > wp: yes > flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi flexpriority ept vpid > bogomips: 5333.09 > clflush size: 64 > cache_alignment: 64 > address sizes: 40 bits physical, 48 bits virtual > power management: > > processor: 1 > vendor_id > : GenuineIntel > cpu family: 6 > model: 26 > model name: Intel(R) Xeon(R) CPU X5550 @ 2.67GHz > stepping: 5 > cpu MHz: 1600.000 > cache size: 8192 KB > physical id > : 1 > siblings: 1 > core id: 0 > cpu cores: 1 > apicid: 16 > initial apicid: 16 > fpu: yes > fpu_exception: yes > cpuid level: 11 > wp: yes > flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi flexpriority ept vpid > bogomips: 5332.56 > clflush size: 64 > cache_alignment: 64 > address sizes: 40 bits physical, 48 bits virtual > power management: > > [root@rafa tmp]# > > Let me know if any other details are also required and steps on how to get them. > > Thanks, > Muthusamy C > -- > To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > >