PlanB: Efficient Software IPv6 Lookup with Linearized B+-Tree
Zhihao Zhang, Lanzheng Liu, Chen Chen, Huiba Li, Jiwu Shu, Windsor Hsu, Yiming Zhang
摘要
IP lookup via Longest Prefix Match (LPM) is critical for packet forwarding. Unfortunately, conventional lookup algorithms are inefficient for IPv6 Forwarding Information Bases (FIBs), which are characterized by a set of long prefixes with diverse lengths. We observe that LPM inherently represents a two-dimensional (2D) search problem over both prefix values and prefix lengths, but existing algorithms mostly treat LPM as two separate levels of one-dimensional (1D) searches, causing poor lookup performance and high memory overhead. This paper presents PlanB, a novel scheme for high-speed IPv6 lookup. We transform the 2D LPM into an equivalent 1D search problem over elementary intervals, thereby unifying the search across prefix value and lengths. We then adapt a flat-array-based B-tree structure to the needs of LPM to propose the linearized -tree, based on which we introduce an efficient search algorithm tailored to the properties of the transformed space. To maximize performance, we integrate PlanB with vectorization, batching, branch-free logic, and loop unrolling to fully exploit CPU parallelism. Extensive evaluation shows that PlanB achieves single-core performance of 390 Million Lookups Per Sec (MLPS) with real-world IPv6 FIBs on AMD processor, and scales to full-12-core performance of 3.4 Billion Lookups Per Sec (BLPS). This is 1.6\times$$\sim14 higher than state-of-the-art software-based schemes (PopTrie, CP-Trie, Neurotrie and HBS).
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
它引用的顶会 Paper12
- Sherman: A Write-Optimized Distributed B+Tree Index on Disaggregated MemoryQing Wang, Youyou Lu, Jiwu ShuSIGMOD 2022 · 被引用 99 次
- Orion: Google's Software-Defined Networking Control PlaneAndrew D. Ferguson, Steve D. Gribble, Chi-Yao Hong, Charles Killian 等NSDI 2021 · 被引用 95 次
- AddrMiner: A Comprehensive Global Active IPv6 Address Discovery SystemGuanglei Song, Jiahai Yang, Lin He, Zhiliang Wang 等USENIX ATC 2022 · 被引用 55 次
- IPv6 Hitlists at Scale: Be Careful What You Wish ForErik C. Rye, Dave LevinSIGCOMM 2023 · 被引用 38 次
- Accessing Cloud with Disaggregated Software-Defined RouterHua Shao, Xiaoliang Wang, Yuanwei Lu, Yanbo Yu 等NSDI 2021 · 被引用 22 次
相关 Paper
- SkipTrie: Fast IPv6 Lookup with Sub-Trie SkippingDonghong Jiang, Yanbiao Li, Shi Meng, Yuxuan Chen 等INFOCOM 2026
- Trie-Structure-Guided Compression, Allocation, and Mapping for Storage-Efficient IPv6 Lookup PipelinesDonghong Jiang, Zhenhao Yuan, Yanbiao Li, Shi Meng 等SIGCOMM 2026
- PtCAM: Scalable High-Speed Name Prefix Lookup using TCAMTian Song, Tianlong Li, Yating YangSIGCOMM 2025 · 被引用 3 次
- FB+-tree: A Memory-Optimized B+-tree with Latch-Free UpdateYuan Chen, Ao Li, Wenhai Li, Lingfeng DengVLDB 2025 · 被引用 2 次
- Boosting FIB Caching Performance with AggregationGaregin Grigoryan, Yaoqing Liu, Minseok KwonHPDC 2020 · 被引用 3 次
