Multi Channel DMA Intel® FPGA IP for PCI Express Design Example User Guide

ID 683517
Date 10/28/2022

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents Set the Boot Parameters

Follow the below step to modify the default hugepages setting in grub files:

  1. Edit /etc/default/grub file.
    1. Append the highlighted parameters in GRUB_CMDLINE_LINUX line in /etc/default/grub file.
      GRUB_CMDLINE_LINUX="\ rhgb default_hugepagesz=1G hugepagesz=1G\
       hugepages=40 panic=1 iommu=pt
    2. For AMD system, MSIX mode add the following to the GRUB file iommu=soft.
  2. Generate GRUB configuration files:
    To check whether the boot system is legacy or EFI based, use the following file.
    $ls -al /sys/firmware/efi
    If this file is present, then the boot system is EFI based; otherwise, legacy:
    • If it is a legacy system, execute the following command:
      $ grub2-mkconfig -o /boot/grub2/grub.cfg
    • If it is an EFI based system, execute the following command:
      $ grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
  3. Reboot the system.
  4. Verify the above changes:
    $ cat /proc/cmdline