OpenVZ Forum


Home » General » Discussions » Hugepages from withing a container
Hugepages from withing a container [message #43814] Mon, 17 October 2011 18:04
iluxa is currently offline  iluxa
Messages: 1
Registered: October 2011
Junior Member
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
Previous Topic: Openvz vlans
Next Topic: New HOWTO about setting up OpenVZ
Goto Forum:
  


Current Time: Sun Nov 03 16:09:05 GMT 2024

Total time taken to generate the page: 0.06616 seconds