User Tools

Site Tools


informatique:virtualbox:vm-tuning

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
informatique:virtualbox:vm-tuning [2024/05/19 14:31] didzkovitchzinformatique:virtualbox:vm-tuning [2024/05/19 14:56] (current) didzkovitchz
Line 39: Line 39:
       * ''Activer PAE/NX'' : //"Determines whether the PAE and NX capabilities of the host CPU will be exposed to the virtual machine.       * ''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. "// 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. "//
 +      * ''Activer VT-x/AMD-V imbriqué'' : //"Enables nested virtualization, with passthrough of hardware virtualization functions to the guest VM."//
  
  
Line 45: Line 46:
 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”. "// 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**+**''VBoxManage modifyvm <vm-name> --large-pages=on''**
  
 [[https://www.virtualbox.org/manual/ch08.html#vboxmanage-modifyvm|Chapter 8. VBoxManage]] [[https://www.virtualbox.org/manual/ch08.html#vboxmanage-modifyvm|Chapter 8. VBoxManage]]
Line 52: Line 53:
  
 Interface de paravirtualisation : Interface de paravirtualisation :
-  * ''None'' :  +  * ''None''- 
-  * **''Par défaut''** :  +  * **''Par défaut''** : - 
-  * ''Héritage''+  * ''Héritage''-
   * ''Minimale'' : //"Announces the presence of a virtualized environment. Additionally, reports the TSC and APIC frequency to the guest operating system."//   * ''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."//   * ''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."//
Line 68: Line 69:
 ===== Affichage ===== ===== Affichage =====
  
 +==== Mémoire vidéo ====
 +
 +Mettre le max ?
 +
 +Contrôleur graphique :
 +
 +  * **''VBoxSVGA''** : //"The default graphics controller for new VMs that use Windows 7 or later.
 +This graphics controller improves performance and 3D support when compared to the legacy VBoxVGA option"//
 +  * ''VMSVGA'' : //"Use this graphics controller to emulate a VMware SVGA graphics device. This is the default graphics controller for Linux guests."//
 +
 +Fonctions avancées :
 +  * ''Activer l'accélération 3D'' : (décoché par défaut) ; à activer pour avoir un gain intéressant de perf
  
 ===== Stockage ===== ===== Stockage =====
  
 +Contrôleur
 +  * **''SATA''** : //"The standard interface for SATA controllers is called Advanced Host Controller Interface (AHCI)."//
 +  * ''NMVe'' : //"Non volatile memory express (NVMe) is a standard for connecting non volatile memory (NVM) directly over PCI Express to lift the bandwidth limitation of the previously used SATA protocol for solid-state devices. Unlike other standards the command set is very simple in order to achieve maximum throughput and is not compatible with ATA or SCSI. OSes need to support NVMe devices to make use of them. For example, Windows 8.1 added native NVMe support. For Windows 7, native support was added with an update.
 +The NVMe controller is part of the extension pack.
 +Warning : Booting from drives attached using NVMe is only supported when EFI is used as the BIOS lacks the appropriate driver. "//
 +  * ''virtio-scsi'' : //" Virtual I/O Device SCSI is a standard to connect virtual storage devices like hard disks or optical drives to a VM. Recent Linux and Windows versions support these devices, but Windows needs additional drivers. Currently virtio-scsi controller support is experimental.
 +Warning : The virtio-scsi controller will only be seen by OSes with device support for it. In particular, there is no built-in support in Windows. So Windows will not see such disks unless you install additional drivers. "//
 +
 +''Utiliser le cache E/S de l'hôte'' : j'ai coché pour voir. Détails : [[https://www.virtualbox.org/manual/ch05.html#iocaching|5.7. Host Input/Output Caching]]
 +
 +
 +Disque :
 +  * ''Solid-state Drive'' : //"Solid-state Drive presents a virtual disk to the guest as a solid-state device."//
 +  * ''Branchable à chaud'' : //"Hot-pluggable presents a virtual disk to the guest as a hot-pluggable device."//
  
 ===== Son ===== ===== Son =====
Line 77: Line 104:
 ===== Réseau ===== ===== Réseau =====
  
 +[[https://www.it-connect.fr/comprendre-les-differents-types-de-reseaux-virtualbox/|Comprendre les différents types de réseaux VirtualBox]]
  
 ===== Ports séries ===== ===== Ports séries =====
informatique/virtualbox/vm-tuning.1716121887.txt.gz · Last modified: 2024/05/19 14:31 by didzkovitchz