Previous page

Next page

Locate page in Contents

Print this page

Configuring CPU Units

CPU units define how much CPU time one virtual machine or Container can receive in comparison with the other virtual machines and Containers on the Hardware Node if all the CPUs of the Hardware Node are fully used. For example, if Container 101 and the MyVM virtual machine are set to receive 1000 CPU units each and Container 102 is configured to get 2000 CPU units, Container 102 will get twice as much CPU time as Containers 101 or the MyVM virtual machine if all the CPUs of the Node are completely loaded.

By default, each virtual machine and Container on the Node gets 1000 CPU units. You can configure the default setting using the prlctl set command. For example, you can run the following commands to allocate 2000 CPU units to Container 101 and the MyVM virtual machine:

# prlctl set 101 --cpuunits 2000

# prlctl set MyVM --cpuunits 2000