SORING: A Software Approach for Ordered Parallelism
summary
SORING is a software-only ordered-queue built on DPDK ring semantics that preserves per-flow packet order across multiple processing stages and is upstream in dpdk.org starting from release 253. It exposes rte_ring-like init/get_memsize and data-path APIs (enqueue/ acquire/ release with a 32-bit f-token), avoids tail spinning by finalizing from multiple points, and supports multi-thread and multi-process models. In L3-forward and an ACL appliance it matches ring performance on even traffic, improves throughput up to ~3x on elephant-flow workloads with a hybrid mode, and costs ~5–20% vs RTC on evenly distributed traffic.
AI-written summary · about
chapters (12)
- 0:00Introduction to SORING
- 2:08Motivation for SORING
- 3:33What is SORING
- 6:06SORING API overview
- 8:38Internal design of SORING
- 12:35Benchmarking SORING
- 16:55Performance analysis
- 19:24Current status and future
- 20:47Real-world use case with ACL
- 24:47Refactoring for hybrid mode
- 26:55Performance results
- 29:45Acknowledgments and Q&A
