TupleRadar: Accelerating Tuple Space Search in Packet Classification by Learned Index

Longlong Zhu,Jiashuo Yu,Long Huang,Hang Lin,Kaiwei Huang,Zhengyan Zhou,Dong Zhang,Xiang Chen,Chunming Wu
DOI: https://doi.org/10.1109/iwqos61813.2024.10682869
2024-01-01
Abstract:Tuple space search(TSS)-based packet classification is the keystone of network system. Previous studies accelerate TSS by partitioning tuples, combining trees and tuples, and merging tuples. However, they do not scale with the number of rules, resulting in a high memory footprint or update time. In this paper, we propose TupleRadar, a framework for accelerating TSS while ensuring low memory footprint and fast rule updates. Our key idea is to construct learned indexes for tuples, which inherently improve the lookup speed but ensure the advantages of TSS. Specifically, TupleRadar builds orderly hash table-based tuples and then constructs the updatable learned index. It provides a bounded memory footprint of the index structure as well. We have evaluated TupleRadar on multiple scales rule-sets. Experimental results show that TupleRadar outperforms previous solutions, reducing 46.66% lookup time and 61.53% memory footprint on average, by up to 86.70% and 88.95%. It also performs a competitive rule update speed.
What problem does this paper attempt to address?