Q's about the new CPU limits
Forum
  1. Forums
  2. General
  3. General Discussion
  1. Ray Baron
  2. Tuesday, 06 May 2014
  3.  Subscribe via email
A couple questions about the 1.4 beta CPU limits
Rate this post:
  1. 06.05.2014 18:05:41
  2. # 1
Ray Baron Accepted Answer
Posts: 30
Joined: 01.04.2013
0
Votes
Undo
I installed lve-utils 1.4 on one of my servers to test.  I like the simplified CPU configuration options but there are a couple of items that are not intuitive.

On the "Edit" page in the CPanel LVE Manager, it still has "Number of cores for LVE (nCPU)".  

Is nCPU now ignored?   Does a setting of zero have any meaning?

This is on a 4-core (E3-1270) CPU, so 8-threads.  When updating a plan with using %CPU the resulting SPEED (as shown on the LVE Manager Settings page) it appears that "100" refers to one thread, so 200 would refer to one core on this processor.  And 100% of available CPU would read 800.  Is this all correct?
  1. 07.05.2014 07:05:06
  2. # 2
Bogdan Accepted Answer
Posts: 709
Joined: 26.06.2013
0
Votes
Undo
Currently nCPU is ignored when you set --speed parameter . The column will be removed from LVEManager in future.

About E3-1270 CPU - yes it appears that maximum will be 800% , however to be sure just count the number of CPUs from /proc/cpuinfo , you may take % maximum for example with following oneliner:
grep processor /proc/cpuinfo | tail -n 1 | awk \'{ print ($3 + 1)*100 }\'
  1. 07.05.2014 09:05:28
  2. # 3
Ray Baron Accepted Answer
Posts: 30
Joined: 01.04.2013
0
Votes
Undo
Perfect!  That does, indeed return '800' for the E3-1270.

Just one quick follow-up.  I am assuming setting the CPU parameter in the CPanel LVE Manager always uses --speed since the only options are %, MHx and GHz?
  • 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.