Announcement

Collapse
No announcement yet.

Confused by CPU and NCPU calculation.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Confused by CPU and NCPU calculation.

    Lets say I have a server with 8 cores, and I want to allow a customer to use a maximum of "50% of the servers total CPU resources".

    What should I set the CPU and NCPU values for their account?

    Thanks.

  • #2
    From documentaion http://docs.cloudlinux.com/index.html?cpu_limits.html:

    CPU Limits are set by CPU and NCPU parameters. CPU specifies the % of total CPU of the server available to LVE. NCPU specifies the number of cores available to LVE. The smallest of the two is used to define how much CPU power will be accessible to the customer.

    There is a nice table there that explains a lot, but in your case you have to set CPU = 50% and NCPU = 4 (or 5, or 6, or 100, no matter).

    Comment

    Working...
    X