Cpu limit [openvz]

Old kernel version supports cpu limit, new does not. So why do you change kernel to new version. Virtualisation without limit options is useless ..

regards
 
use CPU UNITS

You can use CPU UNITS as a kind of cpu limit.

It's a relative number, so if you set VM1 to 1000 and VM2 to 100, VM2 will be able to effectively allocate only 1/10th of CPU resources compared to VM1.
I use 1000 as a default, set my priority VM's (like database server) to 2000-3000, and the low priority ones to 200-500.

Two important assumptions:

1. If I understand correctly CPU UNITS does not intervene until there are free cpu cycles, only if all CPU becomes allocated.

2. According to Proxmox staff CPU Units works across the kernel scheduler, meaning it affects OpenVZ and KVM virtual machines as well, respecting each other.

http://www.proxmox.com/forum/showthread.php?p=4647#post4647
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!