xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: George Dunlap <George.Dunlap@eu.citrix.com>
To: xen-devel@lists.xensource.com
Subject: Announcement: xenalyze trace analysis tool released
Date: Thu, 13 Aug 2009 16:51:48 +0100	[thread overview]
Message-ID: <de76405a0908130851l590ce9ecsc7106efdb84df8f5@mail.gmail.com> (raw)

I am pleased to announce the public availability of xenalyze, a tool
I've developed over the last 2+ years to analyze the output of
xentrace.

Mercurial repository is available at
http://xenbits.xensource.com/ext/xenalyze.hg

Xenalyze is a tool I've developed while doing performance analysis for
XenSource and Citrix.  Features include:
* Orders trace records across physical cpus by tsc.  Attempts to
automatically detect and adjust for tsc skew.
* Tracks domains and vcpus across pcpus, to collect information about
VMs, not processors
* Statistical information about particular events or states generally includes:
 + Total time across the run
 + Percentage of time spent
 + Average number of cycles for an event
 + 5th, 50th, and 95th percentiles of a sample of events
* Statistical data collection includes:
 + Scheduler runstates: running, runnable, blocked, offline
 + Time spent in VMEXITs (i.e., from VMEXIT to VMENTER)
  - Includes time spent doing emulation for specific
  - Optionally includes time spent for particular MMIO / IO addresses
 + Time spent running on physical processors before being migrated
 + Optional tracking of guest cr3 values (generally corresponding to
guest processes)
* "Dump" mode, which will dump a human-readable format of the trace in
the order the events were generated
* Optional "symbol file" which will symbolically interpret guest EIPs
* "Interval" mode, which allows you to graph data over time
" Varous "scatterplot" modes, which allow you to visualize data such
as guest EIP values
* Deals gracefully with lost records.
* Graphical progress bar and completion pop-up for long traces

There is some minimal documentation in a file called xenalyze.html,
and back-patches to work with earlier versions of Xen in the directory
called back-patches/.

Questions, comments and patches welcome.  The tool is doubtless rather
quirky, as I'm both the main developer and user.

Enjoy,
 -George Dunlap

             reply	other threads:[~2009-08-13 15:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-13 15:51 George Dunlap [this message]
2009-08-14  1:26 ` Announcement: xenalyze trace analysis tool released Akio Takebe
2009-08-14 10:19   ` George Dunlap
2010-04-30 22:02     ` Jeremy Fitzhardinge

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=de76405a0908130851l590ce9ecsc7106efdb84df8f5@mail.gmail.com \
    --to=george.dunlap@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /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 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).