Virtualization Rocks!

How-To Setup Virtual Machines for Best Performance

JD P

http://blog.jdpfu.com - jdp [at] algoloma

Covering Tonight

I Lied - Overview

[1] http://www.virtuatopia.com

Actual HW doesn't matter much. Each clientOS only sees virtual hardware.

VirtualBox

Performance Settings

Most can be changed later, so don't worry too much (*)

vCPU

RAM

Storage

Storage Performance

Installation times where crazy different.
* QCOW vHDD - 50 min
* VDI Fully Allocated vHDD - 12 min
* VDI Sparse - no 3D Accel - 14 min

Login:
* QCOW vHDD - 20 sec
* VDI Fully Allocated vHDD - 12 sec
* Prealloc + 3D accel - 10 sec
* VDI Sparse + 3D Accel - 12 sec
* VDI Sparse - no 3D Accel - 13 sec
* VDI Sparse w/Guest Adds - no 3D Accel - 11 sec
* VDI Sparse w/Guest Adds + 3D Accel - 9 sec

Launch firefox:
* QCOW vHDD - 23 sec
* VDI Fully Allocated vHDD - 8 sec
* Prealloc + 3D accel - 6 sec
* VDI Sparse - no 3D accel - 10 sec
* VDI Sparse w/Guest Adds - no 3D Accel - 10 sec
* VDI Sparse w/Guest Adds + 3D Accel - 7 sec

Network Adapters

Display Integration

Guest Additions

See

for dependency instructions.

Remote Access

virt-manager - KVM and others (Xen, LXC, ...)

Performance Settings

Desktop Integration

Remote Access

Summary

For more details: http://blog.jdpfu.com/2012/09/14/solution-for-slow-ubuntu-in-virtualbox

Questions?

BTW, this entire presenation was performed using a VM running on a private KVM cloud over NX.

Thanks!

Slides at:

Questions?


Questions?


Please send feedback!
Thank you.
[any material that should appear in print but not on the slide]