CATCAM: Constant-time Alteration Ternary CAM with Scalable In-Memory Architecture
Dibei Chen, Zhaoshi Li, Tianzhu Xiong, Zhiwei Liu, Jun Yang, Shouyi Yin, Shaojun Wei, Leibo Liu
Abstract
TCAM (Ternary Content-Addressable Memory) is the essential component for high-speed packet classification in modern hardware switches. However, due to its relatively slow update process, recent advances in Software-Defined Network (SDN) regard them as the bottleneck to the agile deployment of network services. Rule installation in commodity switches suffers from non-deterministic delays, ranging from a few milliseconds to nearly half a second. The crux of the problem is that TCAM prioritizes rules based on physical addresses. Corresponding entries have to be reallocated according to the priority of an incoming rule, such that the insertion delay grows linearly with the number of existing rules in a TCAM. In this paper, we present Constant-time Alteration Ternary CAM (CATCAM) that can accomplish both lookup queries and update requests for packet classification in a few nanoseconds. The key to fast update is to decouple rule priorities from physical addresses. We propose a matrix-based priority encoding scheme that records the priority relation between rules and can be implemented in 8T SRAM arrays with the emerging Processing In-Memory (PIM) technique. CATCAM also comes with a hierarchical architecture to scale out, its interval-based scheduling scheme guarantees deterministic update performance in all scenarios. CATCAM is developed under full-custom design in the 28 nm process. Evaluation across benchmark workloads shows that CATCAM provides at least three orders of magnitude speedup over state-of-the-art TCAM update algorithms and offers equivalent search capability to conventional TCAM while incurring 0.3% power and 20% area overhead.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers1
Ask how each one uses itBuilds on1
Related papers
- Efficient and Consistent TCAM UpdatesBohan Zhao, Rui Li, Jin Zhao, Tilman WolfINFOCOM 2020 · 21 citations
- HeatCache: A Heat-Predictive TCAM Rule Caching Framework with Dependency-Aware OptimizationLei Guo, Zeyu Luan, Qing Li, Zhuochen Fan et al.INFOCOM 2026
- PtCAM: Scalable High-Speed Name Prefix Lookup using TCAMTian Song, Tianlong Li, Yating YangSIGCOMM 2025 · 3 citations
- T-cache: Dependency-free Ternary Rule Cache for Policy-based ForwardingYing Wan, Haoyu Song, Yang Xu, Yilun Wang et al.INFOCOM 2020 · 23 citations
- CoLUE: Collaborative TCAM Update in SDN SwitchesRuyi Yao, Cong Luo, Hao Mei, Chuhao Chen et al.INFOCOM 2023 · 3 citations
