Decimals
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Chris Houg
  2. 29.06.2011
  3.  Subscribe via email
Can decimals be used? Say for example I want to limit an account to 1/4th CPU on a 16 core system. So, if I understand correctly, that would be 100/16 so 6.25% would be one core so divide that by 4 for approx 1.56% CPU would equal one fourth core. Would 1.6 work or would it need to be 2%?

In the same example, to limit it to 1/4 core, I would set CPU to 1.6% (or 2% as the case may be) and nCPU to 1 so it would only use one core, correct?

I\'m also assuming that I can set up different values for different users?
Rate this post:
  1. 29.06.2011 14:06:59
  2. # 1
Igor Seletskiy Accepted Answer
Posts: 1201
Joined: 09.02.2010
0
Votes
Undo
No decimal point yet, whole numbers :( Something we are thinking about for the future.
  1. 29.06.2011 16:06:05
  2. # 2
Chris Houg Accepted Answer
Posts: 2
Joined: 08.06.2011
0
Votes
Undo
So, the second question, In the same example, to limit it to 1/4 core, I would set CPU to 2% and nCPU to 1 so it would only use one core, 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.