DocumentCode :
623800
Title :
On finding an optimal TCAM encoding scheme for packet classification
Author :
Rottenstreich, Ori ; Keslassy, Isaac ; Hassidim, Avinatan ; Kaplan, Haim ; Porat, Ely
fYear :
2013
fDate :
14-19 April 2013
Firstpage :
2049
Lastpage :
2057
Abstract :
Hardware-based packet classification has become an essential component in many networking devices. It often relies on TCAMs (ternary content-addressable memories), which need to compare the packet header against a set of rules. But efficiently encoding these rules is not an easy task. In particular, the most complicated rules are range rules, which usually require multiple TCAM entries to encode them. However, little is known on the optimal encoding of such non-trivial rules. In this work, we take steps towards finding an optimal encoding scheme for every possible range rule. We first present an optimal encoding for all possible generalized extremal rules. Such rules represent 89% of all non-trivial rules in a typical real-life classification database. We also suggest a new method of simply calculating the optimal expansion of an extremal range, and present a closed-form formula of the average optimal expansion over all extremal ranges. Next, we present new bounds on the worst-case expansion of general classification rules, both in one-dimensional and two-dimensional ranges. Last, we introduce a new TCAM architecture that can leverage these results by providing a guaranteed expansion on the tough rules, while dealing with simpler rules using a regular TCAM. We conclude by verifying our theoretical results in experiments with synthetic and real-life classification databases.
Keywords :
computer networks; content-addressable storage; encoding; telecommunication equipment; average optimal expansion; closed form formula; general classification rule; generalized extremal rule; hardware based packet classification; nontrivial rule; optimal TCAM encoding scheme; optimal encoding; packet header; real life classification database; ternary content addressable memory; worst case expansion; Educational institutions; Encoding; Heuristic algorithms; Indexes; Ports (Computers); Reflective binary codes;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
INFOCOM, 2013 Proceedings IEEE
Conference_Location :
Turin
ISSN :
0743-166X
Print_ISBN :
978-1-4673-5944-3
Type :
conf
DOI :
10.1109/INFCOM.2013.6567006
Filename :
6567006
Link To Document :
بازگشت