HybridMesh: A Hardware-software Hybrid Approach for Accelerating Service Mesh Ingress
Myoungsung You (University of Seoul), Jaehyun Nam (Dankook University), Minjae Seo (ETRI), Taejune Park (Chonnam National University), Seungwon Shin (KAIST)
23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 1 · Cloudy with a Chance of Tenants
Overview
Service meshes have become the de facto standard for managing microservices in cloud-native environments, providing vital infrastructural features such as load balancing, security policies, and service discovery via decoupled sidecar and ingress proxies. However, as microservices architectures scale, the ingress gateway—the centralized entry point for all external traffic—frequently emerges as a critical performance bottleneck. Traditional software-based ingress gateways suffer from heavy CPU consumption caused by layer 7 traffic analysis and convoluted, multi-hop packet forwarding paths that cross multiple network namespaces and invoke the TCP/IP stack twice per packet.

Key moments
- 0:00 Introduction and background of service mesh ingress
- 2:00 Performance problems: CPU intensity and forwarding paths
- 5:30 Limitations of existing software and hardware approaches
- 7:00 Introduction to HybridMesh and task disaggregation
- 8:00 NIC stack and node stack architecture details
- 10:00 Hybrid Mesh Tunnel (HMT) and eBPF acceleration
- 11:30 Performance evaluation and throughput comparisons
- 13:00 Cost-effectiveness, power efficiency, and conclusion
HybridMesh: A Hardware-software Hybrid Approach for Accelerating Service Mesh Ingress
Speakers: Myoungsung You (University of Seoul); Jaehyun Nam (Dankook University); Minjae Seo (ETRI); Taejune Park (Chonnam National University); Seungwon Shin (KAIST)
Conference: USENIX NSDI
YouTube: https://www.youtube.com/watch?v=yri05pdgdMw
Overview
Service meshes have become the de facto standard for managing microservices in cloud-native environments, providing vital infrastructural features such as load balancing, security policies, and service discovery via decoupled sidecar and ingress proxies. However, as microservices architectures scale, the ingress gateway—the centralized entry point for all external traffic—frequently emerges as a critical performance bottleneck. Traditional software-based ingress gateways suffer from heavy CPU consumption caused by layer 7 traffic analysis and convoluted, multi-hop packet forwarding paths that cross multiple network namespaces and invoke the TCP/IP stack twice per packet.
To resolve these pressing performance degradations, researchers from the University of Seoul, Dankook University, ETRI, Chonnam National University, and KAIST introduced HybridMesh, a hardware-software hybrid framework designed to accelerate service mesh ingress. Presented at USENIX NSDI, HybridMesh strategically disaggregates ingress gateway tasks based on their computational nature. By offloading compute-intensive operations—such as heavy Layer 7 parsing and complex regular expression matching—to SmartNICs (Smart Network Interface Cards) equipped with hardware accelerators, while retaining control-intensive tasks (like circuit breaking, fault injection, and traffic mirroring) on lightweight host CPU cores, HybridMesh achieves massive throughput improvements without sacrificing functional flexibility.
This work addresses a fundamental tension in modern cloud infrastructure: software-only optimizations (such as eBPF data paths) still starve tenant workloads by consuming valuable CPU cycles, whereas pure hardware offloading approaches (like P4 switches or FPGAs) lack the flexibility to execute complex stateful traffic management rules. HybridMesh demonstrates that a carefully orchestrated hybrid architecture can bypass traditional system bottlenecks while delivering superior cost-effectiveness and power efficiency compared to conventional CPU-bound ingress proxies.
Background
▶ Watch: Introduction and background of service mesh ingress (0:00)
In modern cloud environments, microservices typically communicate using rich Layer 7 protocols like HTTP-based REST APIs. The ingress gateway acts as the frontline dispatcher, intercepting external requests, parsing headers and URIs, and evaluating incoming packets against thousands of user-defined routing policies. Underneath this seemingly benign configuration lies an expensive computational burden: for every single packet, the gateway executes continuous regular expression (regex) matching to determine the correct downstream destination.
Profiling standard software implementations like Istio ingress gateway reveals that traffic analysis and matching alone consume roughly 39% of total CPU cycles. Furthermore, the standard packet forwarding path in a Kubernetes-based environment is notoriously long and complex. The gateway and its endpoint pods typically reside in separate network namespaces. When a packet arrives, it ascends to the ingress gateway, descends back into the root namespace for virtual switch processing, and ascends once more into the destination pod. This creates repeated namespace crossings and forces the kernel to process the TCP/IP stack twice for a single packet.
The performance penalty of these compounding architectural limitations is severe. Even with a single routing policy matching a predefined URI pattern, routing through a conventional software gateway drops throughput by half and doubles latency. As policy scaling increases to 256 rules, throughput collapses by 6.5 times, and latency spikes by 18 times.
Prior attempts to mitigate these issues fall into two divergent categories, both of which exhibit fatal flaws:
- Software-only optimizations: Techniques leveraging eBPF or shared-memory data channels streamline inter-process communication, but the ingress gateway still burns vast numbers of CPU cycles on regex evaluation and header parsing—cycles that should rightfully be allocated to tenant application workloads.
- Hardware offloading: Approaches utilizing P4 switches or FPGA-based SmartNICs lack the generalized flexibility required to execute complex stateful traffic management rules. Conversely, modern System-on-Chip (SoC) NICs integrate general-purpose processing cores (such as ARM or RISC-V), but attempting to run the entire ingress gateway directly on these wimpy cores overloads them with control-intensive tasks like request buffering, error handling, and stateful tracking.
Key Findings
▶ Watch: Limitations of existing software and hardware approaches (5:30)
HybridMesh establishes that neither pure software nor brute-force hardware offloading can independently solve the service mesh ingress bottleneck. Its primary contributions and empirical findings include:
- Task Disaggregation Principle: Separating gateway workloads into compute-intensive and control-intensive tasks enables each component to execute on the processor best suited for its specific operational profile.
- Massive Throughput and Latency Gains: When compared against conventional software solutions like Istio ingress and NGINX ingress, HybridMesh scales gracefully. Utilizing just 4 host CPU cores, HybridMesh outperforms an Istio ingress gateway running on 20 CPU cores by up to 4.4x.
- Policy Scaling Resilience: While software gateways experience exponential performance degradation as routing policies scale, HybridMesh maintains stable performance even when processing 1,024 distinct routing policies, thanks to hardware-accelerated regular expression matching.
- Superior Power and Cost Efficiency: Evaluating hardware-software tradeoffs demonstrates that a hybrid configuration achieves 2.3x better cost-effectiveness and roughly 3x better power efficiency compared to CPU-only deployments, while avoiding the processing bottlenecks associated with "SmartNIC-only" architectures where wimpy ARM cores are overwhelmed by control-plane logic.
Technical Deep Dive
▶ Watch: NIC stack and node stack architecture details (8:00)
The architecture of HybridMesh is built upon a deliberate division of labor, supported by specialized data structures and kernel-bypass mechanisms implemented across a heterogeneous hardware-software stack.
The NIC Stack
The lower-level compute-intensive tasks are offloaded to a SmartNIC layer implemented on an NVIDIA BlueField-2 DPU (Data Processing Unit). Running as a DPDK (Data Plane Development Kit) application on the DPU's ARM cores, the NIC stack performs initial network-level matching, tagging each incoming packet with an access point (an IP and port group assigned to a specific service).
An RSS (Receive Side Scaling) engine distributes these packets across the available ARM cores while preserving connection affinity. Traffic dispatchers running on these cores parse Layer 7 fields and invoke the BlueField-2's dedicated hardware accelerators via the DUCATI API to execute high-speed regular expression matching and cryptographic operations. Once the destination path is resolved, the NIC stack encodes this matching result directly into the packet's Layer 2 header as a 6-byte metadata tag, eliminating the need for downstream proxies to re-evaluate the packet.
The Node Stack
Running on host CPU cores, the node stack manages complex, control-intensive tasks that are ill-suited for SmartNIC execution, including circuit breaking, fault injection, and traffic mirroring.
Without HybridMesh, a proxy like HAProxy must execute expensive Layer 7 parsing and regex evaluations for every incoming packet. With HybridMesh, because the NIC stack has pre-computed these matches and embedded the results in the packet metadata, the node stack only needs to execute lightweight exact-match or prefix-based lookups on the metadata. It then applies the necessary traffic management policies and forwards the packet to its destination.
HybridMesh Tunnel (HMT)
To eliminate the bloated packet forwarding path between the gateway and endpoint pods, HybridMesh introduces the HybridMesh Tunnel (HMT), operating in kernel space via three integrated eBPF programs (XDP, TC, and socket messaging):
- Interface Merging: Connects the NIC stack and node stack directly via a single virtual interface, bypassing virtual switch processing entirely.
- Socket Redirection: Intercepts data when the node stack transmits it to the destination path, copying data directly from the source socket to the destination socket. This completely circumvents redundant kernel network stack processing.
Experimental Setup & Results
▶ Watch: Hybrid Mesh Tunnel (HMT) and eBPF acceleration (10:00)
The evaluation of HybridMesh was conducted on a Kubernetes-based testbed benchmarking microservice ingress performance against baseline implementations.
- Hardware & Software Platform: The NIC stack was deployed on an NVIDIA BlueField-2 DPU running a DPDK-based application utilizing the DUCATI hardware acceleration API. The host-side node stack was built upon HAProxy augmented with a custom HTTP filter designed for metadata-based routing. The HMT data path was implemented using eBPF (XDP, TC, and socket messaging hooks).
- Baselines for Comparison: HybridMesh was evaluated against software-only ingress controllers, specifically Istio Ingress and NGINX Ingress, alongside a theoretical "direct baseline" that bypasses ingress proxy processing entirely.
- Headline Performance Numbers:
- When utilizing just 4 CPU cores, HybridMesh outperformed an Istio Ingress gateway configured with 20 CPU cores by up to 4.4x.
- Under heavy policy loads consisting of 1,024 routing rules, software ingress gateways suffered sharp performance collapses due to scaling CPU overhead, whereas HybridMesh maintained stable, high-throughput execution.
- Cost and Power Efficiency:
- A "SmartNIC-only" configuration (running both NIC and node stacks exclusively on wimpy SmartNIC ARM cores) suffered from severe performance degradation because control-intensive workloads starved compute-intensive queues.
- The balanced SmartNIC Hybrid configuration achieved 2.3x better cost-effectiveness and approximately 3x better power efficiency compared to conventional CPU-only ingress architectures.
Practical Implications
▶ Watch: Cost-effectiveness, power efficiency, and conclusion (13:00)
For infrastructure teams, cluster administrators, and cloud architects operating large-scale service meshes, HybridMesh offers a compelling blueprint for reclaiming compute resources. In multi-tenant cloud environments, dedicating 20 to 40 percent of host CPU capacity solely to proxy-based traffic analysis and regex matching robs revenue-generating tenant applications of vital compute power.
By migrating heavy Layer 7 pattern matching to SmartNIC hardware accelerators and streamlining kernel-space packet paths via eBPF-driven interface merging and socket redirection, organizations can drastically reduce infrastructure footprint. Deploying hybrid architectures translates directly to tangible datacenter savings: fewer physical servers required for ingress routing, lower power consumption profiles, and significantly reduced tail latency under high-density policy loads. However, operators must account for hardware dependencies; realizing these gains requires specific SmartNIC hardware (such as the NVIDIA BlueField-2 DPU) equipped with programmable acceleration engines and compatible DPDK toolchains.
Key Takeaways
- CPU Saturation in Software Gateways: Conventional service mesh ingress gateways spend up to 39% of their CPU cycles performing redundant Layer 7 parsing and complex regular expression matching.
- Limitations of Extreme Approaches: Pure software solutions starve tenant workloads by consuming excessive host CPU cores, while pure hardware offloading architectures lack the flexibility required to support stateful traffic management rules.
- Heterogeneous Task Disaggregation: HybridMesh successfully separates gateway operations, offloading compute-intensive regex parsing to SmartNIC hardware while keeping control-intensive traffic management on lightweight host CPU cores.
- Kernel-Space Acceleration via eBPF: The HybridMesh Tunnel (HMT) eliminates virtual switching overhead and redundant TCP/IP stack processing through interface merging and direct socket redirection.
- Dramatic Efficiency Gains: HybridMesh delivers up to a 4.4x throughput improvement over heavily provisioned software gateways while achieving 2.3x better cost-effectiveness and 3x higher power efficiency.
About the Speaker(s)
Myoungsung You is a researcher at the University of Seoul, presenting this joint academic work conducted in collaboration with researchers from Dankook University, ETRI (Electronics and Telecommunications Research Institute), Chonnam National University, and KAIST (Korea Advanced Institute of Science and Technology).
Reviews
→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)
All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)