OpenVZ Forum


Home » General » Support » cpulimit - core / CPU?
cpulimit - core / CPU? [message #52117] Wed, 08 July 2015 09:46 Go to next message
hkendusers is currently offline  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 #52120 is a reply to message #52117] Mon, 13 July 2015 06:37 Go to previous messageGo to next message
hkendusers is currently offline  hkendusers
Messages: 12
Registered: June 2010
Junior Member
can anyone help to clarify it?
Re: cpulimit - core / CPU? [message #52126 is a reply to message #52117] Tue, 21 July 2015 01:34 Go to previous message
samip537 is currently offline  samip537
Messages: 2
Registered: July 2015
Junior Member
hkendusers wrote on Wed, 08 July 2015 12:46
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?


My guess whould be that it's 400% as 4 threads.
Previous Topic: ploop image size
Next Topic: Debug numtcpsock growing without bounds
Goto Forum:
  


Current Time: Sun May 05 19:25:20 GMT 2024

Total time taken to generate the page: 0.01913 seconds