proxmox 1.9 openvz containers cpuinfo changed?

RRJ

Member
Apr 14, 2010
245
0
16
Estonia, Tallinn
Hello,

just noticed, that after upgrade to 1.9, there is some changes in openvz system resource management?
before upgrade there always been CPUs: 1 for every single openvz client and the client could see all the cores [FONT=verdana, sans-serif]available[/FONT] on the host machine. so if i
have 16 cores total on the host and the CPUs count for openvz client was 1, the client could see all the 16 cores anyway and it seemed right to me and OpenVZ manual. as there CPU count
means the resource multiplier. but now, after the upgrade, there seems to be a bug or some change? now my openvz clients see only 1 available cpu for them if CPUs is set 1.

Could You please explain me, how does this change the system working and what does now the CPUs number means for openvz clients? thats very urgent, because i'm not sure
that i can set it 16 for every openvz client if CPUs count still is resource multiplier...
 
OpenVZ Cpu limitations works only with stable OpenVZ kernels. (2.6.18 and 2.6.32-6). So if you used 2.6.32-4 before, the cpu settings have no effect, means you have always all cpu power inside your container.

so if you have 16 cpu on the host you need to assign 16 cpu for the container to get 16 cpus in the containers. now you have much better control about cpu usage.
 

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!