[ale] VirtualBox v6 vs KVM Performance

Raj Wurttemberg rajaw at c64.us
Mon Dec 31 13:16:41 EST 2018


I think what I'm doing differently is that I want/prefer the KVM NIC in
bridged mode. I found some how-to's but never got it working properly. 

/Raj

-----Original Message-----
From: Horkan Smith <ale at horkan.net> 
Sent: Monday, December 31, 2018 10:49 AM
To: Raj Wurttemberg <rajaw at c64.us>; Atlanta Linux Enthusiasts <ale at ale.org>
Subject: Re: [ale] VirtualBox v6 vs KVM Performance

Hi Raj,

I might be missing what you're trying to do, but I use KVM pretty frequently
while I'm on wifi.  If you're using -net user (the default) the guest just
sees a wired nic w/ a 10.x address that's NAT'ed to whatever internet the
host is using currently.

Whenever I feel the need to crank up a VM'd copy of knoppix, I run this
script:

---cut here----

KNOPISO=/sdata/cdroms/knoppix/KNOPPIX_V7.0.4CD-2012-08-20-EN.iso

#
echo knoppix hsync=300 vsync=300 screen=1680x1050 # kvm \  -monitor stdio \
-boot d \  -cdrom $KNOPISO \  -m 1024 \  -vga std \  -usb \  -usbdevice
tablet \  -net nic,vlan=0 -net user,vlan=0 \
 $*

---cut here----

Different distros and package selections have varied the actual command to
invoke kvm over the years - try 'qemu-system-x86_64 -enable-kvm' if using
'kvm' by itself doesn't work.

There are a *lot* of other networking options for qemu/kvm.  Let me know if
you need something fancier and I'll try to help.

If you're trying to directly control the wifi card from the guest... that's
going to be harder.  I haven't done it, but you might be able to treat the
host's wifi card as an external USB or PCI device and grant control to the
guest that way.

later!
   horkan


On Mon, Dec 31, 2018 at 09:15:34AM -0500, Raj Wurttemberg via Ale wrote:
>I like an really want to use KVM on my laptop (big-beefy Lenovo with 32 
>GB) but I struggle to get KVM to work with the wireless NIC.  After a 
>few hours, I gave up and installed VirtualBox (sigh).
>
>Yes... I know... KVM is really meant for wired "servers".  Maybe I'm 
>missing something obvious.
>
>/Raj
>
>-----Original Message-----
>From: Ale <ale-bounces at ale.org> On Behalf Of DJ-Pfulio via Ale
>Sent: Monday, December 31, 2018 6:25 AM
>To: Atlanta Linux Enthusiasts <ale at ale.org>
>Subject: [ale] VirtualBox v6 vs KVM Performance
>
>The short answer is to use KVM if you care at all about performance.
>https://www.phoronix.com/scan.php?page=article&item=virtualbox-60-kvm
>
>_______________________________________________
>Ale mailing list
>Ale at ale.org
>https://mail.ale.org/mailman/listinfo/ale
>See JOBS, ANNOUNCE and SCHOOLS lists at 
>http://mail.ale.org/mailman/listinfo
>
>_______________________________________________
>Ale mailing list
>Ale at ale.org
>https://mail.ale.org/mailman/listinfo/ale
>See JOBS, ANNOUNCE and SCHOOLS lists at 
>http://mail.ale.org/mailman/listinfo

--
Horkan Smith
678-777-3263 cell, ale at horkan.net



More information about the Ale mailing list