Type: integer
Default: 0 (0kB)
Min: 0 (0kB)
Max: 2147483647 (2147483647kB)
Unit: KB
Context: postmaster
Restart: true
Since: 14

Controls the size of huge pages, when they are enabled with huge_pages. The default is zero (0). When set to 0, the default huge page size on the system will be used. This parameter can only be set at server start.

Some commonly available page sizes on modern 64 bit server architectures include: 2MB and 1GB (Intel and AMD), 16MB and 16GB (IBM POWER), and 64kB, 2MB, 32MB and 1GB (ARM). For more information about usage and support, see linux-huge-pages.

Non-default settings are currently supported only on Linux.