Configuring HugeTLB Pages by Using Kernel Parameters at Boot Time
Use the grubby
command to configure kernel command line options that
the system uses at boot time to set up HugeTLB pages.
The following procedure shows how to set default kernel command line options in the GRUB 2
configuration to specify two pools of HugeTLB pages and a default page size on a system that
handles multiple huge page sizes. In this procedure, the following are requested:
- A default page size of 1 GB.
- One pool with four HugeTLB pages of 1 GB size.
- One pool of 1500 HugeTLB pages of 2 MB size.
Before beginning the following procedure, ensure that you have the administrative privileges required.
For more information about configuring kernel command line options and GRUB 2 see Oracle Linux 10: Managing Kernels and System Boot .