All of lore.kernel.org
 help / color / mirror / Atom feed
From: vj358@nyu.edu (Vipin)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Regarding the basic use of perf top command
Date: Wed, 13 Jul 2011 11:40:03 -0400	[thread overview]
Message-ID: <4E1DBC53.40901@nyu.edu> (raw)
In-Reply-To: <CABW4kEdMKooSpG3uEXyS5n-eJu3LfniBXiPVpxzkpAm728czTA@mail.gmail.com>

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 

  reply	other threads:[~2011-07-13 15:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-13 14:59 Regarding the basic use of perf top command ankur dwivedi
2011-07-13 15:40 ` Vipin [this message]
2011-07-14  7:02   ` ankur dwivedi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E1DBC53.40901@nyu.edu \
    --to=vj358@nyu.edu \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.