Abstract
CAMs are the most popular practical method for implementing packet classification in high performance routers. Their principal drawbacks are high power consumption and inefficient representation of filters with port ranges. A recent paper showed how partitioned TCAMs can be used to implement IP route lookup with dramatically lower power consumption. We extend the ideas in to address the more challenging problem of general packet classification. We describe two extensions to the standard TCAM architecture. The first organizes the TCAM as a two level hierarchy in which an index block is used to enable/disable the querying of the main storage blocks. The second incorporates circuits for range comparisons directly within the TCAM memory array. Extended TCAMs can deliver high performance (100 million lookups per second) for large filter sets (100,000 filters), while reducing power consumption by a factor of ten and improving space efficiency by a factor of three.
References (18)
- Baboescu, F. and G. Varghese. "Scalable packet classifica- tion," Proc. of ACM Sigcomm, 9/2001.
- Baboescu, F., S. Singh, and G. Varghese. "Packet Classifica- tion for Core Routers: Is there an alternative to CAMs?" Proceedings of Infocom, 2003.
- Brodnik, A., S. Carlsson, M. Degemark, S. Pink.. "Small For- warding Tables for Fast Routing Lookups," Proc. ACM SIGCOMM, 1997.
- Buddhikot, M. S. Suri, and M. Waldvogel. "Space decomposi- tion techniques for fast layer-4 switching," Proc. of PHSN, 8/99.
- Feldman, A. and S. Muthukrishnan, "Tradeoffs for packet classification," Proc. of Infocom, 3/2000.
- Gupta, S. Lin, and N. McKeown, "Routing lookups in hard- ware at memory access speeds," Proceedings of Infocom 4/98.
- Gupta, P. and N. McKeown. "Packet Classification on Mul- tiple Fields," Proc. ACM Sigcomm 9/99.
- Gupta, P. and N. McKeown, "Packet classification using hier- archical intelligent cuttings," Proc. of Hot Intercon-nects, 8/99.
- Lakshman, T. and D. Stidialis, "High speed policy-based packet forwarding using efficient multi-dimensional range matching," Proc. of ACM Sigcomm, 9/98.
- Montoye, Robert K., "Apparatus for Storing don't care in a content addressable memory cell," United States Patent #5,319,590, 6/94.
- Narlikar, Girija, Anindya Basu, Francis Zane. "CoolCAMs: Power-Efficient TCAMs for Forwarding Engines," Proc. of In- focom, 5/2003.
- Srinivasan, V. and G. Varghese. "Fast IP Lookups using Con- trolled Prefix Expansion," Proc. ACM Sigmetrics, 6/98.
- Srinivasan, V., G. Varghese, S. Suri, and M. Waldvogel. "Fast and scalable layer 4 switching," Proc. of ACM Sigcomm 9/98.
- Srinivasan, V., S. Suri, and G. Varghese,. "Packet class- ification using tuple space search," Proc. of ACM Sigcomm, 9/99.
- Taylor, David E., John W. Lockwood, Todd Sproull, Jonathan S. Turner, David B. Parlour. "Scalable IP Lookup for Pro- grammable Routers," Proc. of Infocom, 6/02.
- Taylor, David E. and Jonathan Turner. "Towards a Packet Classification Benchmark," Washington University Computer Science Department Technical Report, WUCS-03-42, 5/2003.
- Varghese, George, et. al. "Packet Classification Using Multi- dimensional Cuts," to appear in Proceedings of SIGCOMM, 2003.
- Waldvogel, M. G. Varghese, J. Turner, B. Plattner. "Scalable High-Speed Prefix Matching," ACM Transactions on Com- puter Systems, 2001.