Configuring Linux huge pages support for Ethernet monitoring

The Ethernet Monitoring Unit requires Linux huge pages for memory. Huge pages should be allocated at boot time.

Before you begin

You must have sudo permission on the Ethernet Monitoring Unit (EMU) host. (The ability to perform sudo su is recommended.)

About this task

You should enable the kernel boot option hugepages=$NumberOfPages using the following formula: $NumberOfPages=128*InterfaceCount where InterfaceCount is the number of interfaces that the EMU will be monitoring.


  1. Use the following commands to enable hugepages $ sudo echo "vm.nr_hugepages=128" >> /etc/sysctl.conf $ sudo sysctl -p $ sudo reboot
  2. Use the following command to verify that the change has taken effect: sudo cat /proc/sys/vm/nr_hugepages
    This system displays the number of pages the kernel was able to allocate.