T-cache: Dependency-free Ternary Rule Cache for Policy-based Forwarding
Ying Wan, Haoyu Song, Yang Xu, Yilun Wang, Tian Pan, Chuwen Zhang, Bin Liu
Abstract
Ternary Content Addressable Memory (TCAM) is widely used by modern routers and switches to support policy-based forwarding. However, the limited TCAM capacity does not scale with the ever-increasing rule table size. Using TCAM just as a rule cache is a plausible solution, but one must resolve several tricky issues including the rule dependency and the associated TCAM updates. In this paper, we propose a new approach which can generate dependency-free rules to cache. By removing the rule dependency, the TCAM update problem also disappears. We provide the complete T-cache system design including slow path processing and cache replacement. Evaluations based on real-world and synthesized rule tables and traces show that T-cache is efficient and robust for network traffic in various scenarios.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Cited by top-tier papers4
- Adaptive Batch Update in TCAM: How Collective Optimization Beats Individual OnesYing Wan, Haoyu Song, Yang Xu, Chuwen Zhang et al.INFOCOM 2021 · 11 citations
- SentinelX: A Lightweight Malicious Traffic Detection System Based on Programmable SwitchesZutao Zhang, Zeyu Luan, Qing Li, Zhuyun Qi et al.INFOCOM 2025 · 4 citations
- CoLUE: Collaborative TCAM Update in SDN SwitchesRuyi Yao, Cong Luo, Hao Mei, Chuhao Chen et al.INFOCOM 2023 · 3 citations
- Side-Channel Attacks on Open vSwitchDaewoo Kim, Sihang LiuUSENIX Security 2026 · 1 citation
Related papers
- HeatCache: A Heat-Predictive TCAM Rule Caching Framework with Dependency-Aware OptimizationLei Guo, Zeyu Luan, Qing Li, Zhuochen Fan et al.INFOCOM 2026
- Efficient and Consistent TCAM UpdatesBohan Zhao, Rui Li, Jin Zhao, Tilman WolfINFOCOM 2020 · 21 citations
- CATCAM: Constant-time Alteration Ternary CAM with Scalable In-Memory ArchitectureDibei Chen, Zhaoshi Li, Tianzhu Xiong, Zhiwei Liu et al.MICRO 2020 · 6 citations
- PtCAM: Scalable High-Speed Name Prefix Lookup using TCAMTian Song, Tianlong Li, Yating YangSIGCOMM 2025 · 3 citations
- A Scalable and Dynamic ACL System for In-Network DefenseChanghun Jung, Sian Kim, Rhongho Jang, David Mohaisen et al.CCS 2022 · 17 citations
