The virtual infrastructure supports backing VNF-C Guest OS memory with 1 GB Huge Pages for memory intensive and large memory VNF-Cs. VNF-Cs enabled with Huge Pages can benefit from reduced frequency of CPU cache miss and page fault, which can significantly improve the VNF-Cs performance.

To use 1 GB Huge Pages to back VNF-C guest operating system memory, set sched.mem.lpage.enable1GPage = TRUE to the VM. For more details, see the VMware vSphere 6.7 documentation.

Before you enable Huge Pages:

  • Ensure that the VM has the full memory reservation so that all the vRAM can be pre-allocated at the time of power-on.

  • Consider the resource availability for other workloads in the cluster and for cluster operations such as HA and DRS.

To set Huge Pages, follow these steps:

  1. In the vSphere Web Client, power-off the VM.

  2. Right click the VM and select Edit Settings.

  3. Click VM Options and select Advanced.

  4. Scroll down to Configuration Parameters and select Edit Settings.

  5. Click Add Configuration Params and enter sched.mem.lpage.enable1GPage = TRUE.

Summary of Recommendations:

  • Set sched.mem.lpage.enable1GPage = True to enable Huge Pages.