User Tools

Site Tools


informatique:virtualbox:vm-tuning

This is an old revision of the document!


VirtualBox VM Tuning

Général

Système

Chipset

  • PIIX3 : “PIIX3 is the default chipset for most guests.”
  • ICH9 : “For some guest OSes such as Mac OS X, the PIIX3 chipset is not well supported. Note that ICH9 support is experimental and not recommended for guest OSes which do not require it.”

TPM

  • None :
  • v1.2 :
  • v2.0 :

Système de pointage (Pointing Device)

https://www.virtualbox.org/manual/ch03.html#settings-motherboard

  • Souris PS/2 : ancien driver
  • Tablette USB : driver récent, à utiliser
  • Tablette USB Multi-Touch : comme Tablette USB, à partir de W8 (“Another setting is USB Multi-Touch Tablet, which is suitable for guests running Windows 8 or later.”)
  • USB MT TouchScreen and TouchPad : ?

“Using the virtual USB tablet has the advantage that movements are reported in absolute coordinates, instead of as relative position changes. This enables Oracle VM VirtualBox to translate mouse events over the VM window into tablet events without having to “capture” the mouse in the guest as described in Section 1.9.2, “Capturing and Releasing Keyboard and Mouse”. This makes using the VM less tedious even if Guest Additions are not installed.”

Fonctions avancées

  • Activer les IO-APIC : ✔ “Enabling the I/O APIC is required, especially for 64-bit Windows guest OSes.”
  • Enable Hardware Clock in UTC Time : “If selected, Oracle VM VirtualBox will report the system time in UTC format to the guest instead of the local (host) time. This affects how the virtual real-time clock (RTC) operates and may be useful for UNIX-like guest OSes, which typically expect the hardware clock to be set to UTC.”
  • Activer EFI (OS spéciaux seulement) : “Enables Extensible Firmware Interface (EFI), which replaces the legacy BIOS and may be useful for certain advanced use cases. See Section 3.14, “Alternative Firmware (EFI)”.”

Onglet ''Processeur''

  • Fonctions avancées :
    • Activer PAE/NX : “Determines whether the PAE and NX capabilities of the host CPU will be exposed to the virtual machine. PAE stands for Physical Address Extension. Normally, if enabled and supported by the OS, then even a 32-bit x86 CPU can access more than 4 GB of RAM. This is made possible by adding another 4 bits to memory addresses, so that with 36 bits, up to 64 GB can be addressed. Some OSes, such as Ubuntu Server, require PAE support from the CPU and cannot be run in a virtual machine without it. ”

“ On Intel CPUs, a hardware feature called Virtual Processor Identifiers (VPIDs) can greatly accelerate context switching by reducing the need for expensive flushing of the processor's Translation Lookaside Buffers (TLBs). To enable these features for a VM, you use the VBoxManage modifyvm –vtx-vpid and VBoxManage modifyvm –large-pages commands. See Section 8.10, “VBoxManage modifyvm”. ”

VBoxManage modifyvm <vm-name> –large-pages=on

Chapter 8. VBoxManage

Onglet ''Accélération''

Interface de paravirtualisation :

  • None :
  • Par défaut :
  • Héritage :
  • Minimale : “Announces the presence of a virtualized environment. Additionally, reports the TSC and APIC frequency to the guest operating system.”
  • Hyper-V : “Presents a Microsoft Hyper-V hypervisor interface which is recognized by Windows 7 and newer operating systems.[…] This provider is recommended for Windows guests.”
  • KVM : “Presents a Linux KVM hypervisor interface which is recognized by Linux kernels version 2.6.25 or later. […]. This provider is recommended for Linux guests.”

10.5. Paravirtualization Providers

“Exposing a paravirtualization provider to the guest operating system does not rely on the choice of host platforms. For example, the Hyper-V paravirtualization provider can be used for VMs to run on any host platform supported by Oracle VM VirtualBox and not just Windows.”

Virtualisation matérielle :

  • Activer la pagination imbriquée : ✔ “If the host CPU supports the nested paging (AMD-V) or EPT (Intel VT-x) features, then you can expect a significant performance increase by enabling nested paging in addition to hardware virtualization. For technical details, see Section 10.6, “Nested Paging and VPIDs”. ”

Affichage

Stockage

Son

Réseau

Ports séries

USB

Dossiers partagés

Interface utilisateur

informatique/virtualbox/vm-tuning.1716121887.txt.gz · Last modified: 2024/05/19 14:31 by didzkovitchz