All of lore.kernel.org
 help / color / mirror / Atom feed
* Regarding the basic use of perf top command
@ 2011-07-13 14:59 ankur dwivedi
  2011-07-13 15:40 ` Vipin
  0 siblings, 1 reply; 3+ messages in thread
From: ankur dwivedi @ 2011-07-13 14:59 UTC (permalink / raw)
  To: kernelnewbies

Hi,

My question is regarding the basic use of perf top command in linux.

The following is the snap shot of running a "*perf top -e cache-misses*"
command from console:

----------------------------------------------------------------------------------------------------------------------------------------------------------------------
   PerfTop:      76* irqs/sec*  kernel:14.5%  exact:  0.0% [1000Hz
cache-misses],  (all, 12 CPUs)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------

             *samples*  *pcnt* function                DSO
             _______ _____ _______________________
____________________________________

               48.00 36.9% get_page_from_freelist
[kernel.kallsyms]
               12.00  9.2% JS_CallTracer
/usr/lib/xulrunner-1.9.2/libmozjs.so
               12.00  9.2% JS_TraceChildren
/usr/lib/xulrunner-1.9.2/libmozjs.so
                8.00  6.2% dso__find_symbol
/usr/bin/perf
                7.00  5.4% native_flush_tlb_single
[kernel.kallsyms]
                6.00  4.6% _int_malloc
/lib/libc-2.12.90.so



What i want to know is the significance of different parameters here which
are the following:
1. irqs/sec
2. samples
3. pcnt

It also shows a value of 1000Hz. what is the meaning of that.

I searched regarding these in the internet, but was unable to find a good
explanation

Thanks
Ankur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110713/026706d3/attachment-0001.html 

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

* Regarding the basic use of perf top command
  2011-07-13 14:59 Regarding the basic use of perf top command ankur dwivedi
@ 2011-07-13 15:40 ` Vipin
  2011-07-14  7:02   ` ankur dwivedi
  0 siblings, 1 reply; 3+ messages in thread
From: Vipin @ 2011-07-13 15:40 UTC (permalink / raw)
  To: kernelnewbies

Hi,

I think this should suffice
https://perf.wiki.kernel.org/index.php/Tutorial#Live_analysis_with_perf_top

Rest of the information is archived here
http://lxr.linux.no/linux+v2.6.39/tools/perf/Documentation/

The value of 1000Hz means the frequency at which the system's timer is 
programmed to interrupt the kernel. It is a kernel configurable option.

Thanks
Vipin
On 07/13/2011 10:59 AM, ankur dwivedi wrote:
> Hi,
>
> My question is regarding the basic use of perf top command in linux.
>
> The following is the snap shot of running a "*perf top -e 
> cache-misses*" command from console:
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>    PerfTop:      76*irqs/sec*  kernel:14.5%  exact:  0.0% [1000Hz 
> cache-misses],  (all, 12 CPUs)
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> *samples* *pcnt* function                DSO
>              _______ _____ _______________________ 
> ____________________________________
>
>                48.00 36.9% get_page_from_freelist  [kernel.kallsyms]
>                12.00  9.2% JS_CallTracer           
> /usr/lib/xulrunner-1.9.2/libmozjs.so
>                12.00  9.2% JS_TraceChildren        
> /usr/lib/xulrunner-1.9.2/libmozjs.so
>                 8.00  6.2% dso__find_symbol        /usr/bin/perf
>                 7.00  5.4% native_flush_tlb_single [kernel.kallsyms]
>                 6.00  4.6% _int_malloc             
> /lib/libc-2.12.90.so <http://libc-2.12.90.so>
>
>
> What i want to know is the significance of different parameters here 
> which are the following:
> 1. irqs/sec
> 2. samples
> 3. pcnt
>
> It also shows a value of 1000Hz. what is the meaning of that.
>
> I searched regarding these in the internet, but was unable to find a 
> good explanation
>
> Thanks
> Ankur
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110713/0bc67100/attachment.html 

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

* Regarding the basic use of perf top command
  2011-07-13 15:40 ` Vipin
@ 2011-07-14  7:02   ` ankur dwivedi
  0 siblings, 0 replies; 3+ messages in thread
From: ankur dwivedi @ 2011-07-14  7:02 UTC (permalink / raw)
  To: kernelnewbies

Hi,

The links provided gives description about the perf tool. As i mentioned
before, i was interested in the significance of the following:

1. irqs/sec
2. samples
3. pcnt

A brief explanation will suffice, as i am also looking into the code of perf
top.

Thanks
Ankur



On Wed, Jul 13, 2011 at 9:10 PM, Vipin <vj358@nyu.edu> wrote:

> **
> Hi,
>
> I think this should suffice
> https://perf.wiki.kernel.org/index.php/Tutorial#Live_analysis_with_perf_top
>
> Rest of the information is archived here
> http://lxr.linux.no/linux+v2.6.39/tools/perf/Documentation/
>
> The value of 1000Hz means the frequency at which the system's timer is
> programmed to interrupt the kernel. It is a kernel configurable option.
>
> Thanks
> Vipin
>
> On 07/13/2011 10:59 AM, ankur dwivedi wrote:
>
> Hi,
>
> My question is regarding the basic use of perf top command in linux.
>
> The following is the snap shot of running a "*perf top -e cache-misses*"
> command from console:
>
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>    PerfTop:      76* irqs/sec*  kernel:14.5%  exact:  0.0% [1000Hz
> cache-misses],  (all, 12 CPUs)
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>              *samples*  *pcnt* function                DSO
>              _______ _____ _______________________
> ____________________________________
>
>                48.00 36.9% get_page_from_freelist
> [kernel.kallsyms]
>                12.00  9.2% JS_CallTracer
> /usr/lib/xulrunner-1.9.2/libmozjs.so
>                12.00  9.2% JS_TraceChildren
> /usr/lib/xulrunner-1.9.2/libmozjs.so
>                 8.00  6.2% dso__find_symbol
> /usr/bin/perf
>                 7.00  5.4% native_flush_tlb_single
> [kernel.kallsyms]
>                 6.00  4.6% _int_malloc             /lib/libc-2.12.90.so
>
>
>
> What i want to know is the significance of different parameters here which
> are the following:
> 1. irqs/sec
> 2. samples
> 3. pcnt
>
> It also shows a value of 1000Hz. what is the meaning of that.
>
> I searched regarding these in the internet, but was unable to find a good
> explanation
>
> Thanks
> Ankur
>
>
>
> _______________________________________________
> Kernelnewbies mailing listKernelnewbies at kernelnewbies.orghttp://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
>


-- 
Thanks

Ankur Dwivedi
Cavium Networks Inc
Office Number - +1 650 623 3643
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110714/2710063e/attachment.html 

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

end of thread, other threads:[~2011-07-14  7:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-13 14:59 Regarding the basic use of perf top command ankur dwivedi
2011-07-13 15:40 ` Vipin
2011-07-14  7:02   ` ankur dwivedi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.