Huge memory pages are required for the data storage application to work properly. Configure the data storage computer to enable huge pages.

  1. Create and mount a huge page directory by executing the following commands in the Linux terminal:
    sudo mkdir /mnt/huge
    sudo mount -t hugetlbfs pagesize=1GB /mnt/huge
  2. Configure the computer to automatically allocate huge pages each time the computer boots by executing the following commands in the Linux terminal:
    sudo echo 'nodev /mnt/huge hugetlbfs pagesize=1GB 0 0' | sudo tee -a /etc/fstab
    Note This command appends text to the end of /etc/fstab. NI recommends reviewing /etc/fstab after completing this step to ensure that there is no duplicate or contradicting configurations.
  3. Open the grub configuration file at /etc/default/grub in a text editor. and add the following within the quotation marks of the GRUB_CMDLINE_LINUX_DEFAULT line:
    default_hugepagesz=1G hugepagesz=1G hugepages=32
  4. Save the grub configuration file.
  5. Apply the changes by executing the following command in the Linux terminal:
    sudo update-grub
    Note If any of these settings were previously configured, ensure that you overwrite the existing configuration to avoid creating duplicates.
  6. Reboot the computer to apply the new configuration.