Confirming some CPU settings.
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Frank Doud
  2. 30.06.2011
  3.  Subscribe via email
Hi,

Just want to confirm.
CPU=20%
Core=2
The above LVE can consume 20% of 2 cores for a total of 40% or 10% less then 1/2 core.

CPU=37%
Core=3
The above LVE can consume 37% of 3 cores for a total of 111% or rounded off to a total of 1core +11%

The above thoughts used the below as a guide of sorts:
https://helpdesk.cloudlinux.com/index.php?/Knowledgebase/Article/View/63/3/i-have-cpu-limits-set-at-25-but-graphslveinfo-shows-only-x-limit

Correct yes?no?maybe?

Thanks
Frank
Rate this post:
  1. 30.06.2011 07:06:03
  2. # 1
Igor Seletskiy Accepted Answer
Posts: 1201
Joined: 09.02.2010
0
Votes
Undo
Please, read that article again.
It is 20% of all CPU capacity or 2 cores, which ever is smaller

Or 37% of all CPU capacity or 3 cores -- which ever is smaller.
  1. 30.06.2011 13:06:47
  2. # 2
Frank Doud Accepted Answer
Posts: 41
Joined: 21.08.2010
0
Votes
Undo
This might be were my confusion lays.

If you have 8 cores available and you assign TWO cores to the LVE, the absolute most each core can consume is 25% (2cores x 100) / 8 (total cores) for each core.

I would translate like this:
CPU=25%
Core=2

The above LVE can consume 50% of 2 cores for a total of 50% or 1/2 core.

My translation should have read:
The above LVE can consume 25% of all cpu (in this case 25% of 8 cores) or 2 total cores whatever is smaller.

If the above is correct. Then I believe i got it!!!

Thanks for answering all of our questions about the usage settings.

Frank
  1. 30.06.2011 14:06:59
  2. # 3
Igor Seletskiy Accepted Answer
Posts: 1201
Joined: 09.02.2010
0
Votes
Undo
> My translation should have read:
> The above LVE can consume 25% of all cpu (in this case 25% of 8 cores) or 2 total cores whatever is smaller.

This is correct.
  1. 30.06.2011 20:06:20
  2. # 4
Frank Doud Accepted Answer
Posts: 41
Joined: 21.08.2010
0
Votes
Undo
Due to set-up of server.

If I say this:
CPU=12.5%
Core=2

The above LVE can consume 12.5% of all cpu (in this case 12.5% of 8 cores) or 2 total cores whatever is smaller. With that in thought the LVE could never reach 2Core because it would hit the CPU% limit first. Therefore we could also look at it as allowing the LVE to use a total of 1 Core.

Is that logic correct?
  1. 30.06.2011 20:06:31
  2. # 5
Igor Seletskiy Accepted Answer
Posts: 1201
Joined: 09.02.2010
0
Votes
Undo
Correct.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.