This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Announcement: xenalyze trace analysis tool released
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ASQPhz8SqYxvmSJ16oLOs/T3qXKwBJK0rFhN4xBzxYM=; b=hkXh7U9+so7/KDkrHrMj42iRQbm7vrFZ+kDe/Yi92nO30z2ZW1mxU9s5X5ZRiYrhQE B4SNMW0ZzvNKnlZO03f94Hl8+Xe9GikJesg6Y2Qs8iG+UyxRRmg/MMhY8LbDmbkq9/Af P8tKgQFJfZa9igoDNa/TGfIjpwqq/4VFUgnLU=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

Mercurial repository is available at

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.

 -George Dunlap

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>