CPU Limits

Navigation:  Limits >

CPU Limits

Previous pageReturn to chapter overviewNext page

[deprecated]

 

This limit is no longer used, and SPEED is used instead

 

CPU limits before lve-utils 1.4

 

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. For example:

1 core,

Cores Per Server

CPU Limit

NCPU Limit

Real limit

1

25%

1

25% of 1 core

2

25%

1

50% of 1 core

2

25%

2

50% of 1 core

4

25%

1

100% of 1 core (full core)

4

25%

2

1 core

4

50%

1

1 core

4

50%

2

2 cores

8

25%

1

1 core

8

25%

2

2 cores

8

50%

2

2 cores

8

50%

3

3 cores

 

When user hits CPU limit, processes within that limit are slowed down. For example, if you set your CPU limit to 10%, and processes inside LVE want to use more then 10% they will be throttled (put to sleep) to make sure they don't use more then 10%. In reality, processes don't get CPU time above the limit, and it happens much more often then 1 second interval, but the end result is that processes are slowed down so that their usage is never above the CPU limit set.