[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Announcement: xenalyze trace analysis tool released


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
  • Date: Thu, 13 Aug 2009 16:51:48 +0100
  • Delivery-date: Thu, 13 Aug 2009 08:52:13 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=Cz4m4x3GkMev0iTrp6vx66VVg9vwlakOW2dzmf1jhgITWzekHCNwSFzXUTUymu1NuO CaNjA4lr49ioyy4kELPxTvlMy1gFKcav8aPaYTPPQi3QZY8TQyprPgKCMTfw1j/w/NrZ xl5MNBlx5pmGfCMV/ajbKpdPfU1jfbOJsuiwE=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.