[vbox-dev] How to compile linux kernel to work best on VirtualBox

Frank Mehnert frank.mehnert at oracle.com
Fri Aug 26 15:20:39 GMT 2011


On Friday 26 August 2011 17:06:36 Ribhi Kamal wrote:
> Assume that VirtualBox is running on a host (Windows/linux) without any
> support for hardware virtualization (think netbooks).
> 
> Is there anything I can do from a linux guest to improve performance? In
> other words, does it matter how the guest linux kernel was compiled? If so,
> what options can I enable/disable/adjust to improve performance?

Yes. Compile the kernel as non-SMP kernel and switch off as many options
which are responsible for code patching as possible. Enabling SMP support
is one option which uses code patching on recent Linux kernels (to
improve performance on non-SMP systems). Code patching of the guest
kernel always induces additional virtualization overhead.

Kind regards,

Frank
-- 
Dr.-Ing. Frank Mehnert
Senior Manager Software Development Desktop Virtualization, VirtualBox
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany

Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20110826/edb489d1/attachment.sig>


More information about the vbox-dev mailing list