Specializing the End-Host Stack: a Journey from Software to Hardware

Specializing the End-Host Stack: a Journey from Software to Hardware

11th WSS - Prof. Gianni Antichi

The end-host network stack has become a rich programmable ecosystem, spanning user space, the kernel, and the NIC. Specializing this stack (i.e, moving the right logic to the right layer) is now the primary path to performance. But making the right specialization decisions is hard: it requires understanding a complex interplay of programming models, hardware capabilities, and workload characteristics.

In this talk, I will take you through our journey exploring this space. I will first show why automatically deciding what to offload to the kernel is more difficult than it appears, and what that failure taught us about eBPF as a platform. I will then present our systematic study of eBPF performance, revealing how hook selection, program execution, and working set size each impose hidden costs that compound in unexpected ways.

Building on these insights, I will introduce Beeswax, a runtime system that hides memory latency in eBPF programs through batched execution and prefetch-aware data structures, recovering up to 99% of lost throughput. Finally, I will present Cachepolis, a NIC-OS co-design that gives applications control over how incoming packet data lands in the CPU cache — turning a blunt hardware mechanism into a precise, application-defined policy.

Throughout, I will show how our open-source hardware platform has been the foundation that made this research possible, and invite the audience to build on it.

Report Page