Lune

NSDI2026顶会

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 B+B^+-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×\times higher than state-of-the-art software-based schemes (PopTrie, CP-Trie, Neurotrie and HBS).

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper12

  1. Sherman: A Write-Optimized Distributed B+Tree Index on Disaggregated MemoryQing Wang, Youyou Lu, Jiwu ShuSIGMOD 2022 · 99 次引用
  2. Orion: Google's Software-Defined Networking Control PlaneAndrew D. Ferguson, Steve D. Gribble, Chi-Yao Hong, Charles Killian 等NSDI 2021 · 95 次引用
  3. AddrMiner: A Comprehensive Global Active IPv6 Address Discovery SystemGuanglei Song, Jiahai Yang, Lin He, Zhiliang Wang 等USENIX ATC 2022 · 55 次引用
  4. IPv6 Hitlists at Scale: Be Careful What You Wish ForErik C. Rye, Dave LevinSIGCOMM 2023 · 38 次引用
  5. Accessing Cloud with Disaggregated Software-Defined RouterHua Shao, Xiaoliang Wang, Yuanwei Lu, Yanbo Yu 等NSDI 2021 · 22 次引用

相关 Paper

  1. SkipTrie: Fast IPv6 Lookup with Sub-Trie SkippingDonghong Jiang, Yanbiao Li, Shi Meng, Yuxuan Chen 等INFOCOM 2026
  2. Trie-Structure-Guided Compression, Allocation, and Mapping for Storage-Efficient IPv6 Lookup PipelinesDonghong Jiang, Zhenhao Yuan, Yanbiao Li, Shi Meng 等SIGCOMM 2026
  3. PtCAM: Scalable High-Speed Name Prefix Lookup using TCAMTian Song, Tianlong Li, Yating YangSIGCOMM 2025 · 3 次引用
  4. FB+-tree: A Memory-Optimized B+-tree with Latch-Free UpdateYuan Chen, Ao Li, Wenhai Li, Lingfeng DengVLDB 2025 · 2 次引用
  5. Boosting FIB Caching Performance with AggregationGaregin Grigoryan, Yaoqing Liu, Minseok KwonHPDC 2020 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖