After reboot, verify that the configuration has been successfully updated.
About this task
Enter the following command to verify that the configuration has been successfully
The output of this command should include the IOMMU and hugepage configuration parameters.An output example:
BOOT_IMAGE=/boot/vmlinuz-3.10.0-1160.el7.x86_64 root=/dev/sda6 intel_iommu=on default_hugepagesz=1G hugepagesz=1G hugepages=32
Confirm that IOMMU is enabled.
If there is no output from one of these commands, you will need to remedy this before moving on.
- Enter the following command for AMD-based machines
dmesg | grep AMD-Vi
- Enter the following command for Intel-based machines
dmesg | grep -i IOMMU
- Verify that your hardware supports VT-d and that it has been enabled in the BIOS
- Verify that the motherboard chipset supports IOMMU
- Check dmesg for errors suggesting that the BIOS is broken
- Enter the following command for AMD-based machines :
Verify the number of actual allocated huge pages by entering the following
cat /proc/meminfo | grep HugeAn output example:
AnonHugePages: 157696 kB ShmemHugePages: 0 kB HugePages_Total: 32 HugePages_Free: 32 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 1048576 kBNote: By default, memory in a dual-socket system will be allocated from each NUMA node.Enter the following command to display the per-node distribution of huge pages.
cat /sys/devices/system/node/node*/meminfo | grep Huge