cpulimit - core / CPU? [message #52117] |
Wed, 08 July 2015 09:46 |
hkendusers
Messages: 12 Registered: June 2010
|
Junior Member |
|
|
Hi all,
while I man vzctl, the manual shows below:
--cpulimit num[%]
Limit of CPU usage for the container, in per cent. Note if the computer has 2 CPUs, it has total of 200% CPU time. Default CPU limit is 0 (no CPU limit).
In https ://openvz.org/Resource_shortage#cpulimit , it specifies "In a quad-core server, setting cpulimit to 100 permits a container to consume one entire core (and not 100% of the server)."
If a computer has a ONE i3-3220 that is 2 cores 4 threads CPU, so whether it has 200% cpulimit? Or according to "man vzctl" it is still 100% cpulimit because it is 1 CPU?
|
|
|
|
Re: cpulimit - core / CPU? [message #52126 is a reply to message #52117] |
Tue, 21 July 2015 01:34 |
samip537
Messages: 2 Registered: July 2015
|
Junior Member |
|
|
hkendusers wrote on Wed, 08 July 2015 12:46Hi all,
while I man vzctl, the manual shows below:
--cpulimit num[%]
Limit of CPU usage for the container, in per cent. Note if the computer has 2 CPUs, it has total of 200% CPU time. Default CPU limit is 0 (no CPU limit).
In https ://openvz.org/Resource_shortage#cpulimit , it specifies "In a quad-core server, setting cpulimit to 100 permits a container to consume one entire core (and not 100% of the server)."
If a computer has a ONE i3-3220 that is 2 cores 4 threads CPU, so whether it has 200% cpulimit? Or according to "man vzctl" it is still 100% cpulimit because it is 1 CPU?
My guess whould be that it's 400% as 4 threads.
|
|
|