Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to benchmark of few XEN-constallations:

  • PV DomU
  • HVM DomU with PV network and disk drivers
  • HVM DomU with emulated IDE and PV network

The base will be the same VM with the same disk/cpu/os/network setup based on the same original PV clone.

I am especially interested in specific VM numbers:

  • For CPU: Ability to switch process context (cs per second?)
  • For Memory: Pure RAM-memory throughput read/write
  • For Disk: latency of read/write operations
  • For Network: Ability to handle many small packets at the same time

Is there a good (free) linux tool to test these? Is there a specific benchmark covering virtual machines?

I am NOT interested in

  • CPU speed benchmark (calculations)
  • Disk transfer rate
  • Network bandwidth utilization
share|improve this question

While you could test all of those independently I would recommend the Phoronix Test Suite.

From the Site:
The Phoronix Test Suite is the most comprehensive testing and benchmarking platform available that provides an extensible framework for which new tests can be easily added. The software is designed to effectively carry out both qualitative and quantitative benchmarks in a clean, reproducible, and easy-to-use manner.

The Phoronix Test Suite can be adapted to run on platforms ranging from smartphones and personal computers to multi-core workstations and cloud computing infrastructures. (VM: essentially cloud)

Extensible Architecture: The Phoronix Test Suite ships with more than 130 test profiles and 60 test suites. These tests range from battery power consumption monitoring for mobile devices to multi-threaded ray-tracing benchmarks and span the CPU, graphics, system memory, disk storage, and motherboard components. If there is a test though not currently covered by the Phoronix Test Suite, new tests can be quickly added via its extensible architecture (see documentation) with each profile just being comprised of XML files and a few simple scripts.

Note: I have never used the product only been told about it recently from a friend who did. He had some MySQL specific tests that he wanted to do that (according to him) no benchmark could do. He knew what to do for the test and was able to use their framework to integrate the tests he wanted.

Phoronix Test Suite: Home Page
Phoronix Test Suite: Features

share|improve this answer

For the CPU context switching part you may want to take a look at xenanalyze:




share|improve this answer
Looks like a mighty tool. Have you found any download-link for it? – Nils Apr 2 '12 at 14:47
xenbits.xen.org/ext/xenalyze – Todd Deshane May 9 '12 at 14:09
And then - browse and download each single file? Is there no tgz of it all? – Nils May 9 '12 at 20:28
hg clone xenbits.xen.org/ext/xenalyze – Todd Deshane May 19 '12 at 22:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.