Lune

MICRO2020Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. PlanB: Efficient Software IPv6 Lookup with Linearized B+-TreeZhihao Zhang, Lanzheng Liu, Chen Chen, Huiba Li et al.NSDI 2026 · 1 citation

Builds on1

  1. Hyper-Ap: Enhancing Associative Processing Through A Full-Stack OptimizationYue Zha, Jing LiISCA 2020 · 31 citations

Related papers

  1. Efficient and Consistent TCAM UpdatesBohan Zhao, Rui Li, Jin Zhao, Tilman WolfINFOCOM 2020 · 21 citations
  2. HeatCache: A Heat-Predictive TCAM Rule Caching Framework with Dependency-Aware OptimizationLei Guo, Zeyu Luan, Qing Li, Zhuochen Fan et al.INFOCOM 2026
  3. PtCAM: Scalable High-Speed Name Prefix Lookup using TCAMTian Song, Tianlong Li, Yating YangSIGCOMM 2025 · 3 citations
  4. T-cache: Dependency-free Ternary Rule Cache for Policy-based ForwardingYing Wan, Haoyu Song, Yang Xu, Yilun Wang et al.INFOCOM 2020 · 23 citations
  5. CoLUE: Collaborative TCAM Update in SDN SwitchesRuyi Yao, Cong Luo, Hao Mei, Chuhao Chen et al.INFOCOM 2023 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines