9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "ron minnich" <rminnich@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: [9fans] qemu, kvm, xen
Date: Fri,  6 Apr 2007 07:36:14 -0700	[thread overview]
Message-ID: <13426df10704060736h13f60a16y658fd770561444e0@mail.gmail.com> (raw)

I decided to try out the new kvm hypervisor. It is built into the
linux 2.6.20 kernel, and is far simpler to run and setup than xen. In
fact, it is quite nice: if you know how to run qemu, you know how to
run kvm: they have modified qemu so that you use the same command
line, tools, etc. If kvm is not present, qemu runs as always; if kvm
is present, the modified qemu starts up kvm with the target system as
a guest.

First problem I hit with kvm was an emulation problem, so you do need
to modify your plan9.ini to set
*norealmode=1
The far jump in again16bit causes kvm to crash and burn (look for the
"EA", etc. at the end of again16bit).

Well, never mind that, the numbers will show it does not (yet) really
matter. The test system here is a Thinkpad T60 with Core Duo (NOT Core
2). 1 GB memory. It's fast.

The plan 9 systems I booted were, for qemu and kvm, a terminal; and
for xen, a cpu server. I.e. the xen Plan 9 system is doing a bit more
work, as it starts up more servers, but does not start up rio.

boot:
qemu, 60 seconds
kvm, 100 seconds (yes, indeed, kvm did indeed boot more slowly than
plain old qemu)
xen, 6 seconds (it's nice)

build a pccpuf kernel:
qemu, 100 seconds
kvm, 80 seconds
xen, 12 seconds

So, the choice for speed is still xen. THX will remain xen-based for now.

thanks

ron


             reply	other threads:[~2007-04-06 14:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-06 14:36 ron minnich [this message]
2007-04-06 14:46 ` Anthony Sorace
2007-04-06 14:52 ` Eric Van Hensbergen
2007-04-06 16:29   ` ron minnich
2007-04-06 16:32 ` Paweł Lasek

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=13426df10704060736h13f60a16y658fd770561444e0@mail.gmail.com \
    --to=rminnich@gmail.com \
    --cc=9fans@cse.psu.edu \
    /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).