Hi guys,
I am evaluating proxmox to use in some servers, and I have a question about the proxmox configuration for openvz.
When creating a new container I set 1gb to memory and 1gb to swap.
But in the guest it does not turn it into all 2gb available memory, as you can see:
[root@centos-ovz ~]# free -m
total used free shared buffers cached
Mem: 1024 27 996 0 0 12
-/+ buffers/cache: 15 1009
Swap: 1024 0 1024
Even if I set the script below:
veid=01
vzctl set ${veid} --vmguarpages 1024M --save
vzctl set ${veid} --oomguarpages 1024M --save
vzctl set ${veid} --privvmpages 1024M:2048M --save
It keeps showing only 1GB on the free -m in the guest OS.
In KVM there is no such problem as we can set guaranted and burstable.
But I want to set a burstable memory for Openvz containers...
to make the guest have 1GB memory guaranteed but 2GB burstable.
Any ideas?
Thank you!
I am evaluating proxmox to use in some servers, and I have a question about the proxmox configuration for openvz.
When creating a new container I set 1gb to memory and 1gb to swap.
But in the guest it does not turn it into all 2gb available memory, as you can see:
[root@centos-ovz ~]# free -m
total used free shared buffers cached
Mem: 1024 27 996 0 0 12
-/+ buffers/cache: 15 1009
Swap: 1024 0 1024
Even if I set the script below:
veid=01
vzctl set ${veid} --vmguarpages 1024M --save
vzctl set ${veid} --oomguarpages 1024M --save
vzctl set ${veid} --privvmpages 1024M:2048M --save
It keeps showing only 1GB on the free -m in the guest OS.
In KVM there is no such problem as we can set guaranted and burstable.
But I want to set a burstable memory for Openvz containers...
to make the guest have 1GB memory guaranteed but 2GB burstable.
Any ideas?
Thank you!