How to Enable HugePages for a Para-Virtualized Machine ( PVM ) on Oracle VM 3.2
(Doc ID 1529373.1)
Last updated on JULY 04, 2023
Applies to:
Oracle Cloud Infrastructure - Version N/A and laterOracle VM - Version 3.2.4 and later
Private Cloud Appliance X5-2 Hardware - Version All Versions to All Versions [Release All Releases]
Linux x86-64
Goal
The goal of this document is to instruct on how to properly configure and enable the HugePages Kernel feature in a Oracle VM 3.2 environment for a PVM (Paravirtualized Virtual Machine). In order to accomplish this, the VM Server (Dom0) requires to be configured properly as well the Virtual Machine (guest or DomU). You can use Hugepages in a HVM (Hardware Virtualized Machine) as usual, with or without having this feature ('superpages') configured.
Requirements:
Oracle VM - Version 3.2.4 and later (earlier versions might work but are not supported)
Guest OS requirements:
- Oracle Linux 5.8, 5.9 with Oracle Unbreakable Enterprise Kernel 2.6.39-100.0.21.el5uek or later
- Oracle Linux 6.3, 6.4 with Oracle Unbreakable Enterprise Kernel 2.6.39-100.0.21.el6uek or later
Kernel changelog shows: * Mon Jan 23 2017 Chuck Anderson <chuck.anderson@oracle.com> [4.1.12-85.el6uek]
- x86/mm/xen: Suppress hugetlbfs in PV guests (Jan Beulich) [Orabug: 25227135] {CVE-2016-3961}
The recommendations is to change the domain type for virtual machines from Paravirtualized (PVM) to Hardware virtualized, with paravirtualized drivers (PVHVM) for those cases.
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
Known Issues |
References |