6.73 (x86 Only) 1 GB Huge Page Support On HVM Fails, 2 MB Pages Are Created Instead

Although the Oracle UEK3 kernel supports huge pages over 1 GB in size, a hardware virtualized guest running Oracle Linux with UEK3 installed may not recognize that 1 GB huge pages are supported, and the following error is displayed in the dmesg log:

hugepagesz: Unsupported page size 1024 M
Initializing cgroup subsys hugetlb
HugeTLB registered 2 MB page size, pre-allocated 2 pages 

Workaround: A workaround has been published by Oracle support at:

https://support.us.oracle.com/oip/faces/secure/km/DocumentDisplay.jspx?id=1670223.1

Bug 17299364