[Users] setting memory allocation
Kir Kolyshkin
kir at openvz.org
Thu May 3 05:06:03 EDT 2007
Markus Hardiyanto wrote:
> # RAM is 4k pages, so 131072*4k = 512M
> vzctl set 1 --save --vmguarpages 131072
> vzctl set 1 --save --oomguarpages 131072
> vzctl set 1 --save --privvmpages 131072:196608
>
> i thought all the numbers in beancounters was in bytes.. so why you divided it with 4k?
>
Those UBC params that end in -pages are measured in pages.
For more details, see
http://wiki.openvz.org/UBC_parameter_units
http://wiki.openvz.org/Memory_page
More information about the Users
mailing list