TY - JOUR
T1 - Optimal In/Out TCAM Encodings of Ranges
AU - Rottenstreich, Ori
AU - Keslassy, Isaac
AU - Hassidim, Avinatan
AU - Kaplan, Haim
AU - Porat, Ely
N1 - Publisher Copyright:
© 1993-2012 IEEE.
PY - 2016/2
Y1 - 2016/2
N2 - Hardware-based packet classification has become an essential component in many networking devices. It often relies on ternary content-addressable memories (TCAMs), which compare the packet header against a set of rules. TCAMs are not well suited to encode range rules. Range rules are often encoded by multiple TCAM entries, and little is known about the smallest number of entries that one needs for a specific range. In this paper, we introduce the In/Out TCAM, a new architecture that combines a regular TCAM together with a modified TCAM. This custom architecture enables independent encoding of each rule in a set of rules. We provide the following theoretical results for the new architecture: 1) We give an upper bound on the worst-case expansion of range rules in one and two dimensions. 2) For extremal ranges, which are 89% of the ranges that occur in practice, we provide an efficient algorithm that computes an optimal encoding. 3) We present a closed-form formula for the average expansion of an extremal range.
AB - Hardware-based packet classification has become an essential component in many networking devices. It often relies on ternary content-addressable memories (TCAMs), which compare the packet header against a set of rules. TCAMs are not well suited to encode range rules. Range rules are often encoded by multiple TCAM entries, and little is known about the smallest number of entries that one needs for a specific range. In this paper, we introduce the In/Out TCAM, a new architecture that combines a regular TCAM together with a modified TCAM. This custom architecture enables independent encoding of each rule in a set of rules. We provide the following theoretical results for the new architecture: 1) We give an upper bound on the worst-case expansion of range rules in one and two dimensions. 2) For extremal ranges, which are 89% of the ranges that occur in practice, we provide an efficient algorithm that computes an optimal encoding. 3) We present a closed-form formula for the average expansion of an extremal range.
KW - Optimal range encoding
KW - packet classification
KW - ternary content-addressable memory (TCAM)
UR - http://www.scopus.com/inward/record.url?scp=84920643352&partnerID=8YFLogxK
U2 - 10.1109/TNET.2014.2382031
DO - 10.1109/TNET.2014.2382031
M3 - מאמר
AN - SCOPUS:84920643352
VL - 24
SP - 555
EP - 568
JO - IEEE/ACM Transactions on Networking
JF - IEEE/ACM Transactions on Networking
SN - 1063-6692
IS - 1
M1 - 7005545
ER -