A Multipattern Matching Algorithm Using Sampling and Bit Index Author: Jinhui Chen, Zhongfu Ye, Min Tang Publisher: Computer Systems and Applications,

Slides:



Advertisements
Similar presentations
Multipattern String Matching On A GPU Author: Xinyan Zha, Sartaj Sahni Publisher: 16th IEEE Symposium on Computers and Communications Presenter: Ye-Zhi.
Advertisements

An On-Chip IP Address Lookup Algorithm Author: Xuehong Sun and Yiqiang Q. Zhao Publisher: IEEE TRANSACTIONS ON COMPUTERS, 2005 Presenter: Yu Hao, Tseng.
1 TCAM Razor: A Systematic Approach Towards Minimizing Packet Classifiers in TCAMs Department of Computer Science and Information Engineering National.
Tries Standard Tries Compressed Tries Suffix Tries.
1 A simple fast hybrid pattern- matching algorithm Department of Computer Science and Information Engineering National Cheng Kung University, Taiwan R.O.C.
Modern Information Retrieval
IP Address Lookup for Internet Routers Using Balanced Binary Search with Prefix Vector Author: Hyesook Lim, Hyeong-gee Kim, Changhoon Publisher: IEEE TRANSACTIONS.
1 Compressing Two-Dimensional Routing Tables Author: Subhash Suri, Tuomas Sandholm, Priyank Warkhede. Publisher: ALGO'03 Presenter: Yu-Ping Chiang Date:
1 Compressed Index for Dictionary Matching WK Hon (NTHU), TW Lam (HKU), R Shah (LSU), SL Tam (HKU), JS Vitter (Purdue)
1 Towards Green Routers: Depth- Bounded Multi-Pipeline Architecture for Power-Efficient IP Lookup Author: Weirong Jiang Viktor K. Prasanna Publisher: Performance,
1 Scalable high-throughput SRAM-based architecture for IP-lookup using FPGA Author: Hoang Le; Weirong Jiang; Prasanna, V.K.; Publisher: FPL Field.
Multi-Terabit IP Lookup Using Parallel Bidirectional Pipelines Author: Weirong Jiang, Viktor K. Prasanna Publisher: May 2008 CF '08: Proceedings of the.
Compact State Machines for High Performance Pattern Matching Department of Computer Science and Information Engineering National Cheng Kung University,
Fast Packet Classification Using Bloom filters Author: Sarang Dharmapurikar, Haoyu Song, Jonathan Turner, John Lockwood Publisher: Architecture for networking.
Parallel-Search Trie-based Scheme for Fast IP Lookup
PC-DUOS: Fast TCAM Lookup and Update for Packet Classifiers Author: Tania Banerjee-Mishra, Sartaj Sahni,Gunasekaran Seetharaman Publisher: IEEE Symposium.
1 Regular expression matching with input compression : a hardware design for use within network intrusion detection systems Department of Computer Science.
A Multi Gigabit FPGA-based 5-tuple classification system Author: Antonis Nikitakis, Ioannis Papaefstathiou; Publisher: Communications, ICC '08. IEEE.
1 HEXA: Compact Data Structures or Faster Packet Processing Author: Sailesh Kumar, Jonathan Turner, Patrick Crowley, Michael Mitzenmacher. Publisher: ICNP.
1 Performing packet content inspection by longest prefix matching technology Authors: Nen-Fu Huang, Yen-Ming Chu, Yen-Min Wu and Chia- Wen Ho Publisher:
Fast and Scalable Packet Classification Using Perfect Hash functions Author: Viktor Puš, Jan Korenek Publisher: FPGA’09 Presenter: Yu-Ping Chiang Date:
Indexing and Searching
Fast binary and multiway prefix searches for pachet forwarding Author: Yeim-Kuan Chang Publisher: COMPUTER NETWORKS, Volume 51, Issue 3, pp , February.
A Fast Algorithm for Multi-Pattern Searching Sun Wu, Udi Manber May 1994.
SHOCK: A Worst-Case Ensured Sub-linear Time Pattern Matching Algorithm for Inline Anti-Virus Scanning Author: Nen-Fu Huang, Wen-Yen Tsai Publisher: IEEE.
String Matching. Problem is to find if a pattern P[1..m] occurs within text T[1..n] Simple solution: Naïve String Matching –Match each position in the.
High-Performance Packet Classification on GPU Author: Shijie Zhou, Shreyas G. Singapura and Viktor K. Prasanna Publisher: HPEC 2014 Presenter: Gang Chi.
CSE7701: Research Seminar on Networking
PARALLEL TABLE LOOKUP FOR NEXT GENERATION INTERNET
Leveraging Traffic Repetitions for High- Speed Deep Packet Inspection Author: Anat Bremler-Barr, Shimrit Tzur David, Yotam Harchol, David Hay Publisher:
Optimizing multi-pattern searches for compressed suffix arrays Kalle Karhu Department of Computer Science and Engineering Aalto University, School of Science,
High-Speed Packet Classification Using Binary Search on Length Authors: Hyesook Lim and Ju Hyoung Mun Presenter: Yi-Sheng, Lin ( 林意勝 ) Date: Jan. 14, 2008.
Towards a Billion Routing Lookups per Second in Software  Author: Marko Zec, Luigi, Rizzo Miljenko Mikuc  Publisher: SIGCOMM Computer Communication Review,
Multi-Field Range Encoding for Packet Classification in TCAM Author: Yeim-Kuan Chang, Chun-I Lee and Cheng-Chien Su Publisher: INFOCOM 2011 Presenter:
8.1 Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Paging Physical address space of a process can be noncontiguous Avoids.
EQC16: An Optimized Packet Classification Algorithm For Large Rule-Sets Author: Uday Trivedi, Mohan Lal Jangir Publisher: 2014 International Conference.
Tries1. 2 Outline and Reading Standard tries (§9.2.1) Compressed tries (§9.2.2) Suffix tries (§9.2.3)
IP Address Lookup Masoud Sabaei Assistant professor
SCALABLE PACKET CLASSIFICATION USING INTERPRETING A CROSS-PLATFORM MULTI-CORE SOLUTION Author: Haipeng Cheng, Zheng Chen, Bei Hua and Xinan Tang Publisher/Conf.:
06/12/2015Applied Algorithmics - week41 Non-periodicity and witnesses  Periodicity - continued If string w=w[0..n-1] has periodicity p if w[i]=w[i+p],
A Pattern-Matching Scheme With High Throughput Performance and Low Memory Requirement Author: Tsern-Huei Lee, Nai-Lun Huang Publisher: TRANSACTIONS ON.
Cross-Product Packet Classification in GNIFS based on Non-overlapping Areas and Equivalence Class Author: Mohua Zhang, Ge Li Publisher: AISS 2012 Presenter:
CS 740: Advanced Computer Networks IP Lookup and classification Supplemental material 02/05/2007.
Binary-tree-based high speed packet classification system on FPGA Author: Jingjiao Li*, Yong Chen*, Cholman HO**, Zhenlin Lu* Publisher: 2013 ICOIN Presenter:
An Improved DFA for Fast Regular Expression Matching Author : Domenico Ficara 、 Stefano Giordano 、 Gregorio Procissi Fabio Vitucci 、 Gianni Antichi 、 Andrea.
Author: Weirong Jiang and Viktor K. Prasanna Publisher: The 18th International Conference on Computer Communications and Networks (ICCCN 2009) Presenter:
Evaluating and Optimizing IP Lookup on Many Core Processors Author: Peng He, Hongtao Guan, Gaogang Xie and Kav´e Salamatian Publisher: International Conference.
An Improved Multi-Pattern Matching Algorithm for Large-Scale Pattern Sets Author : Zhan Peng, Yu-Ping Wang and Jin-Feng Xue Conference: IEEE 10th International.
SWM: Simplified Wu-Manber for GPU- based Deep Packet Inspection Author: Lucas Vespa, Ning Weng Publisher: The 2012 International Conference on Security.
Accelerating Multi-Pattern Matching on Compressed HTTP Traffic Dr. Anat Bremler-Barr (IDC) Joint work with Yaron Koral (IDC), Infocom[2009]
Author : Lynn Choi, Hyogon Kim, Sunil Kim, Moon Hae Kim Publisher/Conf : IEEE/ACM TRANSACTIONS ON NETWORKING Speaker : De yu Chen Data :
Packet Classification Using Multi- Iteration RFC Author: Chun-Hui Tsai, Hung-Mao Chu, Pi-Chung Wang Publisher: 2013 IEEE 37th Annual Computer Software.
SCALAR PREFIX SEARCH: A NEW ROUTE LOOKUP ALGORITHM FOR NEXT GENERATION INTERNET Author: Mohammad Behdadfar, Hossein Saidi, Hamid Alaei and Babak Samari.
Hierarchical Hybrid Search Structure for High Performance Packet Classification Authors : O˜guzhan Erdem, Hoang Le, Viktor K. Prasanna Publisher : INFOCOM,
Introduction to Paging. Readings r 4.3 of the text book.
A Multi-dimensional Packet Classification Algorithm Based on Hierarchical All-match B+ Tree Author: Gang Wang, Yaping Lin*, Jinguo Li, Xin Yao Publisher:
Tries 4/16/2018 8:59 AM Presentation for use with the textbook Data Structures and Algorithms in Java, 6th edition, by M. T. Goodrich, R. Tamassia, and.
A Multi-gigabit Rate Deep Packet Inspection Algorithm using TCAM
Tries 07/28/16 11:04 Text Compression
System Programming and administration
Toward Advocacy-Free Evaluation of Packet Classification Algorithms
Challenging Cloning Related Problems with GPU-Based Algorithms
Knuth-Morris-Pratt KMP algorithm. [over binary alphabet]
Storing Information Each memory cell stores a set number of bits (usually 8 bits, or one byte) (byte addressable)
A New String Matching Algorithm Based on Logical Indexing
Knuth-Morris-Pratt Algorithm.
Efficient Huffman Decoding
15-826: Multimedia Databases and Data Mining
Authors: Duo Liu, Bei Hua, Xianghui Hu and Xinan Tang
Packet Classification Using Binary Content Addressable Memory
Presentation transcript:

A Multipattern Matching Algorithm Using Sampling and Bit Index Author: Jinhui Chen, Zhongfu Ye, Min Tang Publisher: Computer Systems and Applications, AICCSA IEEE/ACS International Conference on Presenter: Yu-Ping Chiang Date: 2008/10/01

Outline Basic SBI  Preprocessing Stage  Sampling and Matching Stage  Performance Analysis Variant SBI  For Multiple Pattern  For Bit Pattern Matching  For Less Memory Experimental Result (Avg. Runtime)  Single Pattern  Multiple Pattern  Bit Pattern  Different n and m

Basic SBI 4 T = text n = text length P = pattern m = pattern length ρ = compression ratio(0<ρ ≦ 1) r = pattern numbers i = length of index in bit I = length of index in byte J = jump of sampling T in byte

Preprocessing Stage Store all i-bitstrings as index if may partial matches. O(n/m) O(2^i+J) = O(n/m)

Sampling and Matching Stage Sample T (text) to get corresponding index Expend Partial Matches to Full Matches Avg. running time: O(n/m), if J = O(2^i) n/J*(c+J/(2^i)*1*c’) = O(n/J) = O(n/m), if J = O(2^i)

Performance Analysis Memory space: O(2^i+rm) Run time:  Avg. case: O(n/m), if J = O(2^i) O(n/m)+O(n/m) = O(n/m)  Worst case: O(nm) Worst case at SM stage: O(nm) n/J*(c+(1/1)*J*m) = O(n/J)+n*m = O(nm) →O(n/m)+O(nm) = O(nm)  Best case: O(n/m) Best case at SM stage: O(n/m) n/J*(c+0) = O(n/J) = O(n/m) →O(n/m)+O(n/m) = O(n/m)

Outline Basic SBI  Preprocessing Stage  Sampling and Matching Stage  Performance Analysis Variant SBI  For Multiple Pattern  For Bit Pattern Matching  For Less Memory Experimental Result (Avg. Runtime)  Single Pattern  Multiple Pattern  Bit Pattern  Different n and m

Variant for Multiple Pattern. O(n/m), if rJ=O(2^i) O(2^i+rJ)+n/J*(c+(rJ/2^i)*1*c’) = O(n/m), if rJ=(2^i)

Variant for Bit Pattern Matching J = m-I For p = 0 to 8J-1 do Get i-bitstring of P as idx at bit p Compare T and P bitwisely from idx

Variant for Bit Pattern Matching O(n/m), if 8J = O(2^i) O(2^i+8J)+n/J*(c+(8J/2^i)+1+c’) = O(n/m), if 8J = O(2^i)

Variant for Less Memory Space Only store valid index Binary Search Reduce memory space from O(2^i+rm) to O(rm) Avg. runtime: O(nlog(rm)/m)

Outline Basic SBI  Preprocessing Stage  Sampling and Matching Stage  Performance Analysis Variant SBI  For Multiple Pattern  For Bit Pattern Matching  For Less Memory Experimental Result (Avg. Runtime)  Single Pattern  Multiple Pattern  Bit Pattern  Different n and m

Avg. Runtime of Single Pattern Actual IP packets, size 300MB Pattern length 4 to 40

Avg. Runtime of Multiple Pattern Actual IP packets, size 300MB PLEN = 8 and PLEN = 16

Avg. Runtime of Bit Pattern Actual IP packets, size 300MB Pattern length 4 to 40

Basic SBI for different n and m Encrypted communication data Different number and same length patterns Different length text