Submitted by pcfreak30 on Wed, 02/19/2014 - 21:39
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
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Thu, 02/20/2014 - 14:14 Comment #1
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.
Submitted by pcfreak30 on Thu, 02/20/2014 - 14:16 Comment #2
You have two out of three. The "CPU' config sets how many cpu's are exposed, which you will see via htop.
Submitted by JamieCameron on Thu, 02/20/2014 - 15:10 Comment #3
Ok, I was confused because that page only mentioned two settings.
I found some more useful docs at https://openvz.org/User_Guide/Managing_Resources#Configuring_Number_of_C...
Submitted by JamieCameron on Sat, 02/22/2014 - 13:59 Comment #4
This will be included in the next release.
Submitted by Issues on Sat, 03/08/2014 - 14:01 Comment #5
Automatically closed -- issue fixed for 2 weeks with no activity.
Submitted by pcfreak30 on Mon, 02/29/2016 - 02:27 Comment #6
Why is type_openvz_save_smp hard coded at 5? Can't you give the options for cpu and %?
Submitted by pcfreak30 on Mon, 02/29/2016 - 04:46 Comment #7
nvm