CPU Limitation - help needed

BigWeb

Active Member
Jul 6, 2017
23
2
43
Europe
Hi ,

In help section , it says that cpulimit is floating point value 0 to 1 , however in settings panel the number is integer and chnages 1 to infinity.

My question is - what should i actually add there for a proper configuration ? And if Floating 0..1 is correct, maybe input should be corrected not allowing to ad more than 1 ?

Thanks

cpu_settings.jpg
 
it only says it is a floating point number, not between 0 and 1

so any floating point value is ok e.g. 4.7
the arrows only go to the next integer, but you can manually enter a floating point number
you have to use '.' as decimal point if the user interface is set to English
 
Oh, ok i see now .

Can you point me if following configurations are possible and correct :

1. Cores: 4 , Cpulimit:0.5 (would assign 0.5 of ONE core only, but would spread it to 4cores inside VPS) ?
2. Cores:1, Cpulimit: 4 (would assign power of 4 physical Cores , but would only show 1 CORE inside VPS) ?

Also if i wish assigning full 4 cores to VPS should i do:
Cores 4, Cpulimit: 4 ? (Not Cores:4, Cpulimit:1)

Is this correct ?
Thanks
 
1. Cores: 4 , Cpulimit:0.5 (would assign 0.5 of ONE core only, but would spread it to 4cores inside VPS) ?
yes

2. Cores:1, Cpulimit: 4 (would assign power of 4 physical Cores , but would only show 1 CORE inside VPS) ?
no, you still get only one core, since the container will get pinned to a specific core

Also if i wish assigning full 4 cores to VPS should i do:
Cores 4, Cpulimit: 4 ? (Not Cores:4, Cpulimit:1)
yes but the cpulimit 4 is superfluous in this case, so you can omit it


to summarize:

cores pins the container to as much real cores as you define
cpulimit limits the overall cpu time to that of the number you define
 

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!