Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
97 tokens/sec
GPT-4o
53 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
5 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

State-Compute Replication: Parallelizing High-Speed Stateful Packet Processing (2309.14647v2)

Published 26 Sep 2023 in cs.NI

Abstract: With the slowdown of Moore's law, CPU-oriented packet processing in software will be significantly outpaced by emerging line speeds of network interface cards (NICs). Single-core packet-processing throughput has saturated. We consider the problem of high-speed packet processing with multiple CPU cores. The key challenge is state--memory that multiple packets must read and update. The prevailing method to scale throughput with multiple cores involves state sharding, processing all packets that update the same state, i.e., flow, at the same core. However, given the heavy-tailed nature of realistic flow size distributions, this method will be untenable in the near future, since total throughput is severely limited by single core performance. This paper introduces state-compute replication, a principle to scale the throughput of a single stateful flow across multiple cores using replication. Our design leverages a packet history sequencer running on a NIC or top-of-the-rack switch to enable multiple cores to update state without explicit synchronization. Our experiments with realistic data center and wide-area Internet traces shows that state-compute replication can scale total packet-processing throughput linearly with cores, deterministically and independent of flow size distributions, across a range of realistic packet-processing programs.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (9)
  1. Qiongwen Xu (2 papers)
  2. Sebastiano Miano (2 papers)
  3. Xiangyu Gao (31 papers)
  4. Tao Wang (700 papers)
  5. Songyuan Zhang (10 papers)
  6. Anirudh Sivaraman (16 papers)
  7. Gianni Antichi (17 papers)
  8. Srinivas Narayana (10 papers)
  9. Adithya Murugadass (1 paper)

Summary

We haven't generated a summary for this paper yet.