Seminars

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

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

Abstract

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.

About the presenter

Gianni Antichi
Politecnico di Milano

Gianni Antichi

Associate ProfessorPolitecnico di Milano; Senior Lecturer at Queen Mary University of London

  • Politecnico di Milano
  • Queen Mary University of London
  • University of Cambridge
  • University of Pisa

Gianni Antichi is an Associate Professor at the Dipartimento di Elettronica, Informazione e Bioingegneria of Politecnico di Milano (Italy) and Senior Lecturer at the School of Electronic Engineering and Computer Science of Queen Mary University of London (United Kingdom). His research sits at the intersection of networks and systems, with a focus on hardware/software co-design to improve the performance and efficiency of datacenter networks. He received a PhD in Information Engineering from the University of Pisa (Italy). His awards include the Best Paper Award at ACM SIGCOMM 2017, the ACM SOSR Systems Award 2019, the ACM EuroSys 2025 Best student paper award and the USENIX NSDI 2026 best paper.