Enabling huge pages provides important performance improvements for DPDK workloads by
requiring fewer translations between virtual and physical addresses.
About this task
While
hugepages may be allocated at boot time
or run time, boot time allocation is less susceptible allocation failure due to memory
fragmentation.
Results
The final Grub configuration file will include a
GRUB_CMDLINE_LINUX line, specifying parameters for huge pages and IOMMU, as
in this
example:
GRUB_CMDLINE_LINUX="default_hugepagesz=1G hugepagesz=1G hugepages=32 intel_iommu=on"