OpenVZ Forum


Home » General » Support » Memory Allocation
Re: Memory Allocation [message #35245 is a reply to message #35244] Wed, 11 March 2009 20:32 Go to previous messageGo to previous message
techdruid is currently offline  techdruid
Messages: 3
Registered: March 2009
Junior Member
It would appear that my mistake here is that I was setting the meminfo value too high. I was assuming this was bytes and not pages.

Correct command for 256MB RAM is...
# vzctl set <veid> --meminfo pages:65536 --save

It would seem to me that this page below is incorrect though. It explains that for 248MB of RAM, you should set privvmpages to 262,144 / 292,912 . However, this results in over 1GB of total RAM on the container. Shouldn't this example be closer to 65536?

http://wiki.openvz.org/UBC_configuration_examples_table

Or am I missing something?

Richard

[Updated on: Wed, 11 March 2009 20:33]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: veth support
Next Topic: vzctl 3.0.29.3 issues
Goto Forum:
  


Current Time: Sun Oct 13 14:54:10 GMT 2024

Total time taken to generate the page: 0.07340 seconds