Previous page

Next page

Locate page in Contents

Print this page

Configuring Legacy Containers

If you upgraded from an earlier version of Parallels Server Bare Metal 5.0, all Containers automatically start using the new memory management scheme after the upgrade. The system automatically calculates the values of RAM and swap from the memory parameters that were applied to a Container. These calculations are performed as follows:

SLM

If a Container uses only SLM parameters:

  • The amount of RAM is set to the value of the slmmemorylimit parameter.
  • The amount of swap is set to 0.
  • The memory allocation limit is set to the value of the slmmemorylimit parameter multiplied by 1.5.

For example, if the slmmemorylimit parameter for Container 101 is set to 1 GB, then the Container will have them set to the following values after the upgrade: RAM = 1 GB, swap = 0, memory allocation limit = 1.5 GB.

UBC

If a Container uses only UBC parameters:

  • The amount of RAM is set to the soft limit of the privvmpages parameter.
  • The amount of swap is set to 0.
  • The memory allocation limit is set to the hard limit of the privvmpages parameter

For example, if the soft limit of privvmpages for Container 101 is set to 65536 pages and the hard limit to 131072, then the Container will have the following parameters: RAM = 256 MB, swap = 0, memory allocation limit = 2.

SLM and UBC

If a Container uses both SLM and UBC parameters:

  • The amount of RAM is set to the value of the slmmemorylimit parameter.
  • The amount of swap is set to 0.
  • The memory allocation limit is set to the value of the slmmemorylimit parameter multiplied by 1.5.

For example, if the slmmemorylimit parameter for Container 101 is set to 1 GB, then the Container will have them set to the following values after the upgrade: RAM = 1 GB, swap = 0, memory allocation limit = 1.5 GB.