My Oracle Support Banner

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 later
Oracle 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:

Note: For Oracle VM 3.4.x, PVM and Hugepages see Document 2216622.1
Note: Hugepages feature is disabled for PVM guest running UEK4 4.1.12-85.el6uek and 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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.