arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.03003cs.NI
收藏

使用 CRAM 透镜将 IP 查找扩展到大型数据库

Scaling IP Lookup to Large Databases using the CRAM Lens

Robert Chang, Pradeep Dogga, Andy Fingerhut, Victor Rios, George Varghese

AI总结:

本文提出 CRAM 透镜框架以解决现代网络芯片上 IP 查找算法的扩展难题,并设计了 RESAIL、BSIC 和 MashUp 三种新方案,使 Tofino-2 的前缀支持规模显著超越纯 TCAM 及现有最先进算法。

摘要:

广域网扩展趋势要求采用新的方法来进行互联网协议(IP)查找,这由 Intel Tofino、AMD Pensando 和 Nvidia BlueField 等现代网络芯片实现,它们提供了大量的三态内容寻址存储器(TCAM)和静态随机存取存储器(SRAM)。然而,由于硬件级别的限制,为这些芯片设计和评估可扩展的算法具有挑战性。为了解决这个问题,我们引入了 CRAM(CAM+RAM)透镜,这是一个结合了用于评估现代网络处理器上算法的形式化模型和一组优化习语的框架。我们通过设计和评估三种新的 IP 查找方案:RESAIL、BSIC 和 MashUp,展示了 CRAM 的有效性。RESAIL 使 Tofino-2 能够扩展到 225 万个 IPv4 前缀——可能足以满足未来十年的需求——而纯 TCAM 方法仅支持 25 万个前缀,仅为当前全球 IPv4 路由表的 27%。类似地,BSIC 在 Tofino-2 上扩展到 39 万个 IPv6 前缀,支持的 IPv6 前缀数量是纯 TCAM 实现的 3.2 倍。相比之下,现有的最先进算法,用于 IPv4 的 SAIL 和用于 IPv6 的 Hi-BST,在 Tofino-2 上扩展到的规模要小得多。

英文摘要:

Wide-area scaling trends require new approaches to Internet Protocol (IP) lookup, enabled by modern networking chips such as Intel Tofino, AMD Pensando, and Nvidia BlueField, which provide substantial ternary content-addressable memory (TCAM) and static random-access memory (SRAM). However, designing and evaluating scalable algorithms for these chips is challenging due to hardware-level constraints. To address this, we introduce the CRAM (CAM+RAM) lens, a framework that combines a formal model for evaluating algorithms on modern network processors with a set of optimization idioms. We demonstrate the effectiveness of CRAM by designing and evaluating three new IP lookup schemes: RESAIL, BSIC, and MashUp. RESAIL enables Tofino-2 to scale to 2.25 million IPv4 prefixes$\unicode{x2014}$likely sufficient for the next decade$\unicode{x2014}$while a pure TCAM approach supports only 250k prefixes, just 27% of the current global IPv4 routing table. Similarly, BSIC scales to 390k IPv6 prefixes on Tofino-2, supporting 3.2 times as many prefixes as a pure TCAM implementation. In contrast, existing state-of-the-art algorithms, SAIL for IPv4 and Hi-BST for IPv6, scale to considerably smaller sizes on Tofino-2.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑