arrow
返回

Space-Efficient TCAM-Based Classification Using Gray Coding

delete2012-01-01
delete75
PRE
AI
A
Anat Bremler-Barr *
D
Danny Hendler
DOI:10.1109/TC.2010.267delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Ternary content-addressable memories (TCAMs) are increasingly used for high-speed packet classification. TCAMs compare packet headers against all rules in a classification database in parallel and thus provide high throughput unparalleled by software-based solutions. TCAMs are not well-suited, however, for representing rules that contain range fields. Such rules typically have to be represented (or encoded) by multiple TCAM entries. The resulting range expansion can dramatically reduce TCAM utilization. A TCAM range-encoding algorithm A is database-independent if, for all ranges r, it encodes r independently of the database in which it appears; otherwise, we say that A is database-dependent. Typically, when storing a classification database in TCAM, a few dozens of so-called extra bits in each TCAM entry remain unused. These extra bits are used by some (both database-dependent and database-independent) prior algorithms to reduce range expansion. The majority of real-life database ranges are short. We present a novel database-independent algorithm called Short Range Gray Encoding (SRGE) for the efficient representation of short range rules. SRGE encodes range endpoints as binary-reflected Gray codes and then represents the resulting range by a minimal set of ternary strings. To the best of our knowledge, SRGE is the first algorithm that achieves a reduction in range expansion in general, and a significant expansion reduction for short ranges in particular, without resorting to the use of extra bits. The traditional database-independent technique for representing range entries in TCAM is prefix expansion. As we show, SRGE significantly reduces the expansion of short ranges in comparison with prefix expansion. We also prove that the SRGE algorithm's range expansion is at least as good as that of prefix expansion for any range. Real-world classification databases contain a small number of unique long ranges, some of which appear in numerous rules. These long ranges cause high expansion which is not significantly reduced by any database-independent range encoding scheme that we are aware of, including SRGE. We introduce hybrid SRGE, a database-dependent encoding scheme that uses SRGE for reducing the expansion of short ranges and uses extra bits for reducing the expansion caused by long ones. Our comparative analysis establishes that hybrid SRGE utilizes TCAM more efficiently than previously published range-encoding algorithms. This work also makes a more theoretic contribution. Prefix expansion for ranges defined by W-bit endpoints has worst-case expansion ratio of 2W 2. It follows from the work of Schieber et al. [1] that the SRGE algorithm has a slightly better worst-case expansion ratio of 2W -4. We prove that any independent TCAM encoding scheme has worst-case expansion ratio of at least W.
Keyword:
TCAM
packet classification
range encoding
Gray code

期刊

IEEE Transactions on Computers 封面图
IEEE Transactions on Computers
IF:
3.8
论文数:
5.3K
被引数:
9.8K

机构

R
Reichman University
学者数:
1.1K
论文数: 1.2K
被引数: 5
B
ben-gurion university of the negev
学者数:
8.4K
论文数: 5.1K
被引数: 1
引用论文

引用论文

err分享
err收藏
Prevalence of postmicturition urinary incontinence in Japanese men: Comparison with other types of incontinence
err2013-01-10
err0
PREAI
errKoji Yoshimura; Takeo Nakayama; Akihiro Sekine; Fumihiko Matsuda; Shinji Kosugi; Yoshio Sugino; Kenichi Yoshimura; Osamu Ogawa
err分享
err收藏
DPPC-RE: TCAM-based distributed parallel packet classification with range encoding
err2006-08-01
err58
PREAI
errZheng, Kai; Che, Hao; Wang, Zhijun; Liu, Bin; Zhang, Xin
err分享
err收藏
X-ray Structure, Magnetic and Catalytic Properties of a Cyclic Trinuclear CoII/CoIII/CoIII Complex with a μ3-Hydroxy Anion
err2001-06-01
err0
PREAI
errMarta Łukasiewicz; Zbigniew Ciunik; Jarosław Mazurek; Jarosław Sobczak; Aldona Staroń; Stanisław Wołowiec; Józef J. Zio´łkowski
err分享
err收藏
DRES: Dynamic range encoding scheme for TCAM coprocessors
err2008-01-01
err87
PREAI
errChe, Hao; Wang, Zhijun; Zheng, Kai; Liu, Bin
err分享
err收藏
Uranus: The Rings Are Black
err1977-11-04
err0
PREAI
errWilliam M. Sinton
err分享
err收藏
学者 查看更多内容