OpenVZ CPU Cores

There is no option in the web UI or create-system command to set the number of cpu's for a openvz container.

There are three CPU settings: CPUS CPULIMIT CPUUNITS

View: http://openvz.org/Resource_shortage#CPU

Status: 
Closed (fixed)

Comments

I had a look at those docs, and it looks like this feature only limits the amount of CPU a VM can use, not the number of cores it seems. And Cloudmin already supports setting CPU limits at Resources -> Resource Limits.

You have two out of three. The "CPU' config sets how many cpu's are exposed, which you will see via htop.

This will be included in the next release.

Automatically closed -- issue fixed for 2 weeks with no activity.

Why is type_openvz_save_smp hard coded at 5? Can't you give the options for cpu and %?