Hugepage Pool Planner
A hugetlb pool is reserved out of RAM before anyone uses it and cannot be swapped out. Enter the pool you want and see the page counts, the memory it takes, what is left for the rest of the system, and the page-table entries it saves.
HugeTLB pages are a separate pool: pages are pre-allocated, reserved inside the kernel, cannot be used for anything else and cannot be swapped out. A 2 MiB request is rounded up to whole pages because each 2 MiB page is indivisible, and vm.nr_hugepages counts those pages of the default size. 1 GiB pages form their own pool and on x86-64 are normally reserved at boot with default_hugepagesz=1G hugepagesz=1G hugepages=N; boot-time allocation is the reliable way because memory has not fragmented yet. The page-table figures compare the entries the same memory needs with 4 KiB pages against one entry per huge page, at 8 bytes per entry on 4-level x86-64 paging: PMD and PUD structures, the kernel's own bookkeeping and the vmemmap are not counted, so treat the saving as an order of magnitude. Everything runs in the browser with no storage, uploads or network access.