[pve-devel] [PATCH 1/2] add hugepages option
Dietmar Maurer
dietmar at proxmox.com
Fri May 13 07:29:39 CEST 2016
> a simple
>
> echo x >
> /sys/devices/system/node/nodeX/hugepages/hugepages-1048576kB/nr_hugepages
> echo x >
> /sys/devices/system/node/nodeX/hugepages/hugepages-2048kB/nr_hugepages
>
> is enough (need to be done for each numa node)
>
> freehuges can be checked
>
> cat
> /sys/devices/system/node/node0/hugepages/hugepages-1048576kB/free_hugepages
> cat /sys/devices/system/node/node0/hugepages/hugepages-2048kB/free_hugepages
>
>
> Like this, user can if he want reserved hugepages at boot (sysctl or kernel
> options in grub).
> And if he don't define hugepages or define not enough hugepages
> (free_hugepages counter),
> we can try to allocate them for him.
Yes, that sounds reasonable to me. It would be great if we can get that working
without the need to configure something (grub.conf, fstab, ...)
More information about the pve-devel
mailing list