arrow
Return

Enhancing Stateful Processing in Programmable Data Planes: Model and Improved Architecture

delete2025-01-01
delete0
PRE
AI
Y
Yong Feng
H
Hanyi Zhou
S
Shuxin Liu
Z
Zhikang Chen
H
Haoyu Song
L
Liu, Bin *
DOI:10.1109/TNET.2024.3510638delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Stateful data plane network applications are indispensable but their efficiency is hindered by prevalent network device architectures which utilize a Blocking Scheme to maintain state consistency. The Blocking Scheme results in poor throughput and latency performance due to its frequent halts during packet processing. In response to this issue, we propose an innovative Non-Blocking Scheme and construct a theoretical model based on the G/GI/m queueing model. The new scheme leverages the speculative execution method, avoiding unnecessary blocking by taking advantage of the fact that the state update ratio is usually much smaller than the incoming packet rate. In case of speculation failures, the affected packets are reprocessed to guarantee state consistency. We provide an approximate model for the Blocking Scheme, and show that, even with relaxed approximations, the Blocking Scheme still performs worse than the Non-Blocking Scheme. The superior performance of the Non-Blocking Scheme is further corroborated through rigorous simulations, conducted under both realistic and synthetic traces. Based on our model, we propose an enhanced architecture: SN_RAPID (Sequence Number and unidirectional Reverse path-Augmented PIpeline Dataplane), to support speculative execution. The architecture is simpler than the other architectures supporting stateful network functions. Serving as a design foundation for future iterations, we implement a prototype of SN_RAPID in FPGA which can run at line speed, and also develop a software ASIC emulator. The experiments show the superiority of the improved architecture.
Keywords:
Computer architecture
Pipelines
IP networks
Data models
Data centers
Clocks
Servers
Queueing analysis
Quality of service
Throughput
Data plane
stateful function
non-blocking

Journal

I
IEEE-ACM Transactions on Networking
IF:
3.6
Papers:
4.4K
Citations:
9.5K

Organization

H
huawei technologies
Scholars:
3.3K
Papers: 2.9K
Citations: 1
T
tsinghua university
Scholars:
11.8W
Papers: 10.0W
Citations: 137