This formula calculates the percentage of memory used out of the memory allocated for workloads on the node:
CPU usage (millicores)
CPU utilization (% of capacity) = ------------------------------------------------------------ x 100
CPU capacity (cores) x 1,000
CPU utilization as a percentage of allocatable CPU
This formula measures the CPU usage as a percentage of the CPU resources that are allocatable to workloads on the node:
CPU usage (millicores)
CPU utilization (% of allocatable CPU) = ------------------------------------------------------------- x 100
Allocatable CPU (cores) x 1,000
Example
Assume a node has a capacity of eight cores, has seven allocatable cores, and uses 2,000 millicores:
- CPU utilization (% of capacity) = (2,000/8,000) x 100 = 25%
- CPU utilization (% of allocatable CPU) = (2,000/7,000) x 100 = 28.57%