Abstract
Modern cloud-native applications suffer from an "infra-burden," where infrastructure services like service mesh sidecars consume significant CPU and memory resources. HeteroPod is a novel system architecture that offloads these services to Data Processing Units (DPUs) using a specialized cross-PU networking stack. By enabling unmodified commodity applications to span across CPU and DPU boundaries, HeteroPod achieves up to 31.9x better latency and 64x lower resource consumption compared to traditional designs.
Introduction: The "Infra-Burden" Challenge
In Kubernetes environments, applications are typically deployed in "Pods" alongside infrastructure containers—sidecars for networking (e.g., Envoy), monitoring, and security. While essential, these sidecars can consume up to 25% of a node's CPU and 33% of its memory, directly competing with user applications for resources.
Offloading these tasks to DPUs is a promising solution but faces three major hurdles: network namespace coupling within Pods, the performance-resource trade-off of cross-device communication, and the requirement for extensive application modification. HeteroPod addresses these by introducing a novel networking layer that bridges the host CPU and the DPU.
System Design: HeteroPod and Dynamic Splitting
HeteroPod (implemented as HeteroK8s) introduces HeteroNet, a networking layer that bridges the host CPU and the DPU. Unlike prior works that require static code-level splitting, HeteroPod performs a dynamic split at the container level during runtime. This approach preserves Kubernetes semantics and supports unmodified binaries.
Key architectural innovations include:
- hetero-netns (Split Network Namespace): Allows a single Pod's network environment to span two processors using port-based reverse mapping and partially idempotent packet rules to synchronize states like NAT without expensive coordination.
- hetero-socket: A custom stack providing a standard socket API with a "speculative allocation" strategy for high-speed buffer management.
- User-mode NAPI (U-NAPI): An interrupt-driven mechanism that combines the speed of user-mode processing with the efficiency of hardware interrupts, avoiding the high CPU cost of constant polling.
Evaluation and Key Results
The researchers evaluated HeteroPod using industry-standard benchmarks including DeathStarBench, FuncBench, and LMBench, as well as real-world applications like Envoy and Python 3.8.
- Micro-benchmarks: HeteroNet achieved up to 31.9x better latency for small messages and 64x less pinned memory consumption than traditional kernel-bypass designs.
- End-to-End Performance: In Istio-based microservice tests, HeteroK8s improved end-to-end latency by 60% and increased system scalability by 55%.
- Serverless and Control Plane: For FaaS chains, the system achieved 2x lower latency than the state-of-the-art. Offloading the Kubernetes scheduler to the DPU resulted in a 14.4x speedup in startup latency (from 481ms to 33ms).
Discussion and Future Work
HeteroPod demonstrates that offloading infrastructure to "wimpy" DPU cores is highly effective for network-intensive tasks while keeping compute-intensive logic on the host CPU. Current limitations include a dependency on LD_PRELOAD (requiring dynamic linking) and a focus primarily on network-based IPC. Future research will explore thread-level offloading and the energy-saving potential of low-power DPU cores for infrastructure management.
Summary updated