Encoding Short Ranges in TCAM Without Expansion: Efficient Algorithm and Applications

被引:19
作者
Bremler-Barr, Anat [1 ]
Harchol, Yotam [2 ]
Hay, David [3 ]
Hel-Or, Yacov [1 ]
机构
[1] Interdisciplinary Ctr Herzliya, Sch Comp Sci, IL-46150 Herzliyya, Israel
[2] Univ Calif Berkeley, Elect Engn & Comp Sci Dept, Berkeley, CA 94720 USA
[3] Hebrew Univ Jerusalem, Sch Comp Sci & Engn, IL-91904 Jerusalem, Israel
基金
欧洲研究理事会;
关键词
Computer networks; switching systems; information retrieval; search methods; nearest neighbor search; APPROXIMATE NEAREST-NEIGHBOR; PACKET CLASSIFICATION; SEARCH; SCHEME; TREES; SHAPE;
D O I
10.1109/TNET.2018.2797690
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
We present range encoding with no expansion (RENE)- a novel encoding scheme for short ranges on Ternary content addressable memory (TCAM), which, unlike previous solutions, does not impose row expansion, and uses bits proportionally to the maximal range length. We provide theoretical analysis to show that our encoding is the closest to the lower bound of number of bits used. In addition, we show several applications of our technique in the field of packet classification, and also, how the same technique could be used to efficiently solve other hard problems, such as the nearest-neighbor search problem and its variants. We show that using TCAM, one could solve such problems in much higher rates than previously suggested solutions, and outperform known lower bounds in traditional memory models. We show by experiments that the translation process of RENE on switch hardware induces only a negligible 2.5% latency overhead. Our nearest neighbor implementation on a TCAM device provides search rates that are up to four orders of magnitude higher than previous best prior-art solutions.
引用
收藏
页码:835 / 850
页数:16
相关论文
共 71 条
[61]   On the Code Length of TCAM Coding Schemes [J].
Rottenstreich, Ori ;
Keslassy, Isaac .
2010 IEEE INTERNATIONAL SYMPOSIUM ON INFORMATION THEORY, 2010, :1908-1912
[62]   LabelMe: A database and web-based tool for image annotation [J].
Russell, Bryan C. ;
Torralba, Antonio ;
Murphy, Kevin P. ;
Freeman, William T. .
INTERNATIONAL JOURNAL OF COMPUTER VISION, 2008, 77 (1-3) :157-173
[63]  
Said Seddiki M., 2014, Proceedings of the Third Workshop on Hot Topics in Software Defined Networking, HotSDN'14, P207
[64]  
Samet Hanan, 2006, The Morgan Kaufmann Series in Data Management Systems
[65]  
Shinde R., 2010, Proceedings of the 2010 ACM SIGMOD International Conference on Management of data, SIGMOD'10, P375
[66]   Packet classification using extended TCAMs [J].
Spitznagel, E ;
Taylor, D ;
Turner, J .
11TH IEEE INTERNATIONAL CONFERENCE ON NETWORK PROTOCOLS, PROCEEDINGS, 2003, :120-131
[67]  
Srinivasan V., 1998, Computer Communication Review, V28, P191, DOI 10.1145/285243.285282
[68]  
Tao YF, 2009, ACM SIGMOD/PODS 2009 CONFERENCE, P563
[69]   Fast and scalable packet classification [J].
van Lunteren, J ;
Engbersen, T .
IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS, 2003, 21 (04) :560-571
[70]  
Weber R., 1998, Proceedings of the Twenty-Fourth International Conference on Very-Large Databases, P194