Revisiting Multiple Pattern Matching Algorithms for Multi-Core Architecture

被引:6
作者
Tan, Guang-Ming [1 ]
Liu, Ping [2 ]
Bu, Dong-Bo [2 ]
Liu, Yan-Bing [2 ]
机构
[1] Chinese Acad Sci, Inst Comp Technol, Key Lab Comp Syst & Architecture, Beijing 100190, Peoples R China
[2] Chinese Acad Sci, Inst Comp Technol, Key Lab Network Technol, Beijing 100190, Peoples R China
基金
中国国家自然科学基金;
关键词
parallel algorithm; multi-core; multiple pattern matching;
D O I
10.1007/s11390-011-0185-0
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Due to the huge size of patterns to be searched, multiple pattern searching remains a challenge to several newly-arising applications like network intrusion detection. In this paper, we present an attempt to design efficient multiple pattern searching algorithms on multi-core architectures. We observe an important feature which indicates that the multiple pattern matching time mainly depends on the number and minimal length of patterns. The multi-core algorithm proposed in this paper leverages this feature to decompose pattern set so that the parallel execution time is minimized. We formulate the problem as an optimal decomposition and scheduling of a pattern set, then propose a heuristic algorithm, which takes advantage of dynamic programming and greedy algorithmic techniques, to solve the optimization problem. Experimental results suggest that our decomposition approach can increase the searching speed by more than 200% on a 4-core AMD Barcelona system.
引用
收藏
页码:866 / 874
页数:9
相关论文
共 19 条
[1]   EFFICIENT STRING MATCHING - AID TO BIBLIOGRAPHIC SEARCH [J].
AHO, AV ;
CORASICK, MJ .
COMMUNICATIONS OF THE ACM, 1975, 18 (06) :333-340
[2]  
[Anonymous], 1994, FAST ALGORITHM MULTI
[3]  
[Anonymous], 2001, 9 ANN IEEE S FIELD P, DOI DOI 10.1109/FCCM.2001.22
[4]  
[Anonymous], 1976, Computer and job-shop scheduling theory
[5]  
Antonatos S, 2004, 2004 INTERNATIONAL SYMPOSIUM ON APPLICATIONS AND THE INTERNET, PROCEEDINGS, P208
[6]   A CAM-based keyword match processor architecture [J].
Bu, Long ;
Chandy, John A. .
MICROELECTRONICS JOURNAL, 2006, 37 (08) :828-836
[7]  
Chang C, 1992, P 3 ANN S COMB PATT, P88
[8]  
Commentz-Walter B., 1979, Automata, Languages and Programming, P118
[9]  
Cormen T.H., 2002, INTRO ALGORITHMS, V2nd
[10]  
Gonzalo N, 2002, FLEXIBLE PATTERN MAT