From: Randy Broman <rbroman@bayarea.net>
To: kvm@vger.kernel.org
Cc: "David S. Ahern" <daahern@cisco.com>, avi@redhat.com
Subject: Re: KVM performance
Date: Sun, 16 Nov 2008 14:08:02 -0800 [thread overview]
Message-ID: <492099C2.9050502@bayarea.net> (raw)
In-Reply-To: <49202D9A.8050408@redhat.com>
After I submitted the initial question, I downloaded the latest kernel
2.6.27.6, and compiled
with the following options, some of which are new since my previous
kernel 2.6.24-21.
CONFIG_PARAVIRT_GUEST=y
CONFIG_XEN_SAVE_RESTORE=y
CONFIG_VMI=y
CONFIG_KVM_CLOCK=y
CONFIG_KVM_GUEST=y
# CONFIG_LGUEST_GUEST is not set
CONFIG_PARAVIRT=y
CONFIG_PARAVIRT_CLOCK=y
Using my existing kvm-62 and the following invocation:
$ aoss kvm -m 1024 -cdrom /dev/cdrom -boot c -net
nic,macaddr=00:d0:13:b0:2d:32,model=rtl8139 -net tap -soundhw all
-localtime /home/rbroman/windows.img
CPU usage went down and performance was much better (no skips), for my
video/audio feeds.
I then downloaded, compiled, installed kvm-79, and invoked using the
following options
$ aoss ~/kvm-79/kvm -m 1024 --cdrom /dev/cdrom --mac=00:d0:13:b0:2d:32
--nictype=rtl8139 --smp=2 /home/rbroman/windows.img
Note I'm using the new kvm in the compile directory, and I've confirmed
that the kvm and kvm-intel
modules from the kvm-79 compile are what's loaded. Some of the options
from the kvm-62 invocation
are missing - because they give errors - I understand that the command
syntax/options have changed,
and I've checked ~/kvm-79/kvm --help for the new syntax, but I can't
figure out how to invoke the
remaining options. One of the missing options seems to be the tap
network, and the kvm-79 WinXP
guest now has no networking.
I also tried the "-vga vmware" option below, as well as -vga=vmware and
various other permutations,
and I can't get that to work either.
Can someone help me resolve the above? Are there any README's, HowTo's
or other documentation
on compiling, installing and using kvm-79?
Thanks, Randy
Avi Kivity wrote:
> Randy Broman wrote:
>>
>> -I've tried both the default Cirrus adapter and the "-std-vga"
>> option. Which is better?
>
> Cirrus is generally better, but supports fewer resolutions.
>
>> I saw reference to another VMware-based adapter, but I can't figure
>> out how to implement
>> it - would that be better?
>>
>
> -vga vmware (with the new syntax needed by kvm-79); it should be
> better, but is less will tested. I'm not at all sure the Windows
> driver will like it.
>
>> -I notice we're up to kvm-79 vs my kvm-62. Should I move to the newer
>> version?
>
> Yes.
>
>> Do I
>> have to custom-compile my kernel to do so
>
> No.
>
next prev parent reply other threads:[~2008-11-16 22:08 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-14 18:35 KVM performance Randy Broman
2008-11-14 18:58 ` David S. Ahern
2008-11-16 14:26 ` Avi Kivity
2008-11-16 22:08 ` Randy Broman [this message]
2008-11-17 14:50 ` Brian Jackson
2008-11-20 11:08 ` Avi Kivity
-- strict thread matches above, loose matches on Subject: below --
2009-04-03 11:32 BRAUN, Stefanie
2009-04-06 11:45 ` Avi Kivity
2009-04-06 12:13 ` Hauke Hoffmann
2007-01-27 0:21 Tim Chen
[not found] ` <1169857267.30807.44.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2007-01-27 3:11 ` Fabian Deutsch
2007-01-27 8:34 ` Avi Kivity
[not found] ` <45BB0E85.9060303-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-01-27 12:48 ` Rusty Russell
[not found] ` <1169902138.32208.25.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2007-01-28 9:40 ` Avi Kivity
[not found] ` <45BC6F98.908-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-01-30 12:52 ` Rusty Russell
[not found] ` <1170161536.17669.10.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2007-01-30 12:56 ` Avi Kivity
[not found] ` <45BF4082.3010803-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-01-31 1:54 ` Rusty Russell
2007-01-30 15:11 ` Anthony Liguori
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=492099C2.9050502@bayarea.net \
--to=rbroman@bayarea.net \
--cc=avi@redhat.com \
--cc=daahern@cisco.com \
--cc=kvm@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.