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 条
  • [1] Afek Y., 2013, P 25 ACM S PAR ALG A, P23
  • [2] Near-optimal hashing algorithms for approximate nearest neighbor in high dimensions
    Andoni, Alexandr
    Indyk, Piotr
    [J]. COMMUNICATIONS OF THE ACM, 2008, 51 (01) : 117 - 122
  • [3] [Anonymous], 2007, P 33 INT C VER LARG
  • [4] [Anonymous], OPENFLOW SWITCH SPEC
  • [5] [Anonymous], AS NAMES CIDR REPORT
  • [6] [Anonymous], 2011, Hot-ICE
  • [7] [Anonymous], 2014, RYU SDN CONTROLLER
  • [8] [Anonymous], 2011, WACV
  • [9] [Anonymous], 1990, P 1990 ACM SIGMOD IN, DOI DOI 10.1145/93597.98741
  • [10] Shape indexing using approximate nearest-neighbour search in high-dimensional spaces
    Beis, JS
    Lowe, DG
    [J]. 1997 IEEE COMPUTER SOCIETY CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, PROCEEDINGS, 1997, : 1000 - 1006