Hi, Guys,
Could anyone let me know if there is any way of utilizing Huge Pages from withing a container?
This is how it looks from the HN for me:
[root@hn ~]# sysctl -w vm.nr_hugepages=1024
vm.nr_hugepages = 1024
[root@dale ~]# hugeadm --pool-list
Size Minimum Current Maximum Default
2097152 1024 1024 1024 *
and from the container:
container:~ # sysctl vm.nr_hugepages
vm.nr_hugepages = 1024
container:~ # hugeadm --pool-list
hugeadm:ERROR: kernel does not support huge pages
In both cases:
[root@hn ~]# uname -a
Linux hn 2.6.32-042stab039.3 #1 SMP Tue Oct 11 16:17:15 MSD 2011 x86_64 x86_64 x86_64 GNU/Linux
container:~ # uname -a
Linux ct 2.6.32-042stab039.3 #1 SMP Tue Oct 11 16:17:15 MSD 2011 x86_64 x86_64 x86_64 GNU/Linux
[root@hn ~]# vzctl --version
vzctl version 3.0.29.3
Thanks in advance,
iluxa