Uber uses NCU to redefine CPU allocation and narrow utilization gaps on heterogeneous servers
Uber's engineering team described the Normalized Compute Unit (NCU) introduced on its stateful orchestration platform Odin. Each server type gets a performance coefficient, with older-generation hardware set at a baseline of 100 and some newer servers close to 190, and a workload's CPU demand is then converted into a corresponding number of physical cores. Odin manages about 5 million CPU cores across on-premise data centers and public cloud, spanning multiple generations of x86 and ARM hardware, where single-thread performance between the fastest and slowest cores differs by nearly a factor of two. The approach is already used for about 1.4 million cores in Odin's autoscaling workloads. Uber reports that Kafka's CPU utilization gap across server types fell from about 8 percentage points to about 3, and total CPU allocation dropped by about 8%, with the savings coming mainly from faster hardware. Performance coefficients are first set in hardware admission tests and then corrected with production workload data, because coefficients differ by technology stack.
Kubernetes represents CPU requests as cores or millicores, and deliberately treats one CPU unit as a fixed amount of CPU time, without distinguishing between generations of the underlying processor. This abstraction makes it easy to define portable workloads, but it cannot express the relative performance of different servers. Stateless services can use load balancing to send traffic to faster machines, but stateful systems cannot: a request must land on the server holding a particular shard, and a shortage of resources cannot be solved by migrating it.
For teams running large-scale stateful services, this means requesting resources by core count systematically overestimates the capacity of slow machines and underestimates that of fast ones. Following Uber's approach requires first measuring a performance coefficient for each hardware type and continuously correcting it with production data, then reworking scheduling and autoscaling logic so that quotas are measured in compute power rather than core count. The cost is introducing a conversion layer tied to hardware, which means cross-cluster migration and capacity planning both need to be recalibrated.