Hi,<br><br>The links provided gives description about the perf tool. As i mentioned before, i was interested in the significance of the following:<br><br>1. irqs/sec<br>
      2. samples<br>
      3. pcnt<br><br>A brief explanation will suffice, as i am also looking into the code of perf top.<br><br>Thanks<br>Ankur<br><br><br><br><div class="gmail_quote">On Wed, Jul 13, 2011 at 9:10 PM, Vipin <span dir="ltr">&lt;<a href="mailto:vj358@nyu.edu">vj358@nyu.edu</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><u></u>

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

</blockquote></div><br><br clear="all"><br>-- <br>Thanks<br><br><span style="color:rgb(0, 0, 153)">Ankur Dwivedi</span><br><span style="color:rgb(0, 0, 153)">Cavium Networks Inc</span><br style="color:rgb(0, 0, 153)"><span style="color:rgb(0, 0, 153)">Office Number - +1 650 623 3643</span><br>

<br>