Infrastructure
Uber Replaces CPU Cores with Performance-Aware Metrics for Diverse Server Fleets
Uber's orchestration platform now accounts for processor differences across its heterogeneous hardware to allocate compute resources more fairly.
InfoQ
Uber has rolled out a new resource allocation system that moves beyond treating CPU cores as interchangeable units. The company introduced Normalized Compute Units (NCUs)—a performance-aware metric that recognizes how much computational work different processors can actually deliver.
The system runs within Uber's Odin stateful orchestration platform, which oversees roughly 5 million CPU cores spread across on-premises data centers and cloud providers. With such a vast fleet spanning multiple hardware generations and architectures, Uber discovered a critical problem: a single physical core can deliver vastly different levels of performance depending on the processor it belongs to.
The Performance Gap Problem#
Measurements across Uber's infrastructure revealed that single-threaded performance can swing by almost 100% between the slowest and fastest processors. This variation creates a dilemma for resource scheduling. Allocating based on the slowest available hardware wastes capacity on modern machines. Conversely, sizing for average performance leaves workloads underpowered when they end up on older servers—a particularly dangerous trade-off for stateful systems that cannot easily shift work elsewhere.
Consider a Kafka cluster where a leader node consumes ten times more CPU than its replicas. If that leader migrates from a new, fast server to an older one, its resource consumption can spike dramatically, even though the workload itself hasn't changed.
How NCUs Work#
Odin assigns each server type a performance multiplier, benchmarked against a baseline older generation (set at 100). Newer hardware can reach factors above 180. Rather than promise identical core counts across hardware types, the system translates a workload's compute requirement into however many cores that specific server needs to deliver equivalent computational capacity.
The performance factors start with synthetic benchmarks during hardware qualification, then get continuously refined using real production data. Uber found that performance characteristics vary significantly by workload type—Kafka, for instance, shows distinct performance profiles across ARM, legacy on-premises gear, and newer x86 systems.
Why Stateful Workloads Matter#
Stateless services can absorb hardware heterogeneity through load balancing: requests route to less-loaded or faster machines. Stateful workloads lack that flexibility. A request may need to reach the server holding a particular data shard, so rebalancing elsewhere doesn't address the underlying resource shortage.

