I’ve installed an ubuntu distro and wanted to test out hugepages support. I’ve tried getting the kernel from the ubuntu distro to enable hugepages unsuccessfully. This probably means I’ll need to perform a kernel configuration, rebuild, and installation. Is that the most direct way to get hugepages working or is there another means to pull that off? Is there another ubuntu kernel I should consider installing or using? Thanks in advance.
quick update, I’ve been able to identify hugepages is turned on. I’ve set the page size to 1GB manually by editing the grub file. I’ve re-run the grub tool that updates the kernel configuration files in /boot.
When the machine reboots the kernel’s (my boot process bounces from the microSD to an internal Samsung SSD) hugepage size is set to 2MB. I’ve performed a grep over /boot and /etc and it looks like everything is configured correctly to 1GB. Is there something I could be missing that is impacting my ability to set the hugepage size?