public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Rusty Russell <rusty-8n+1lVoiYb80n/F98K4Iww@public.gmane.org>
To: kvm-devel <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: [ANNOUNCE] virtbench w/ kvm support
Date: Mon, 23 Apr 2007 15:23:15 +1000	[thread overview]
Message-ID: <1177305795.17026.56.camel@localhost.localdomain> (raw)

Hi all,

	I've been toying around with a benchmark suite for virtualization, and
I've just added kvm support.  You can download the source tarball
straight from the mercurial repo:

	http://ozlabs.org/~rusty/virtbench/
	http://ozlabs.org/~rusty/virtbench/?archive/tip.tar.bz2

README excerpt below.

Feedback and patches welcome!
Rusty.

Virtbench - Simple Benchmarking for Virtualization
	http://ozlabs.org/~rusty/virtbench

Virtbench is a set of (mainly micro-) benchmarks designed to assist
coders optimize their hypervisors.  Note that it won't tell you how
well a virtualization solution will perform in a real world situation.


Requirements:
	sudo
	/dev/net/tun: try "modprobe tun"
	The networks 192.168.19.0 and 192.168.12.0 free to be used.


Quickstart:
	# Build the code and root filesystems (will use sudo)
	make
	# Set the guest kernel location and maybe more
	vi ./SETTINGS
	# Run the benchmark (local mode)
	sudo ./virtbench local
	# Run the benchmark (kvm mode)
	sudo ./virtbench kvm


More information:

(Note that virtbench is very much a work in progress)

Virtbench spawns 4 virtual machines running the virtbench client, then
runs various tests on them.  It supports various backends, and you can
create a new directory to add new ones (see below):

	- local (simply run each client as a normal process)
	- lguest
	- kvm
	- qemu

Since most hypervisors require root privileges, virtbench is usually
run as root.

All benchmarks are measured as time taken to do some task, so smaller
is better.  Currently virtbench has 14 microbenchmarks and 4
inter-guest benchmarks, but you can write new ones (see below).

Options which might be useful:
	--ifname=<if>: use an interface other than "eth0" to get server IP.
	--rough: don't run benchmarks as many times.
	--distribution: show distribution details for results.
	--csv=<file>: record complete results to file
	--help: usage and list of benchmark names
	[benchnames]: run this/these benchmarks



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

             reply	other threads:[~2007-04-23  5:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-23  5:23 Rusty Russell [this message]
     [not found] ` <1177305795.17026.56.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2007-04-23 12:49   ` [ANNOUNCE] virtbench w/ kvm support Avi Kivity
     [not found]     ` <462CAB5E.9080301-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-04-24  0:12       ` Rusty Russell

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=1177305795.17026.56.camel@localhost.localdomain \
    --to=rusty-8n+1lvoiyb80n/f98k4iww@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox