SIMD IMPLEMENTATION OF THE AHO-CORASICK ALGORITHM USING INTEL AVX2

被引:0
|
作者
Lazhar, Ourlis [1 ]
Djamel, Bellala [2 ]
机构
[1] Univ Batna2, Fac Technol, Dept Ind Engn, Batna, Algeria
[2] Univ Batna2, Dept Comp Sci, Batna, Algeria
来源
关键词
Pattern-matching; Aho-Corasick algorithm; Vectorization; Intel (R) Streaming SIMD Extensions 2.0 (AVX2);
D O I
10.12694/scpe.v20i3.1572
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The Aho-Corasick (AC) algorithm is a multiple pattern exact string-matching algorithm proposed by Alfred V. Aho and Margaret J. Corasick. It is used to locate all occurrences of a finite set of patterns within an input text simultaneously. The AC algorithm is in the heart of many applications including digital forensics such as digital signatures demonstrating the authenticity of a digital message or document, full text search (utility programs such as grept, awk and sed of Unix systems), information retrieval (biological sequence analysis and gene identification), intrusion detection systems (IDS) in computer networks like SNORT, web filtering, spam filters, and anti-malware solutions (virus scanner). In this paper we present a vectorized version of the AC algorithm designed with the use of packed instructions based on the Intel (R) streaming SIMD (Single Instruction Multiple Data) extensions AVX2 (Advanced Vector Extensions 2.0). This paper shows that the vectorized AC algorithm reduces significantly the time matching process comparing to the implementation of the original AC algorithm.
引用
收藏
页码:563 / 576
页数:14
相关论文
共 50 条
  • [41] Accelerating a Geometrical Approximated PCA Algorithm Using AVX2 and CUDA
    Machidon, Alina L.
    Machidon, Octavian M.
    Ciobanu, Catalin B.
    Ogrutan, Petre L.
    REMOTE SENSING, 2020, 12 (12)
  • [42] High Performance Implementation of 2-D Convolution using AVX2
    Amiri, Hossein
    Shahbahrami, Asadollah
    2017 19TH INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE AND DIGITAL SYSTEMS (CADS), 2017, : 24 - 27
  • [43] A Constant-time AVX2 Implementation of a Variant of ROLLO
    Chou T.
    Liou J.-H.
    IACR Transactions on Cryptographic Hardware and Embedded Systems, 2021, 2022 (01): : 152 - 174
  • [44] A Hybrid Parallel Implementation of the Aho-Corasick and Wu-Manber Algorithms Using NVIDIA CUDA and MPI Evaluated on a Biological Sequence Database
    Kouzinopoulos, Charalampos S.
    Assael, John-Alexander M.
    Pyrgiotis, Themistoklis K.
    Margaritis, Konstantinos G.
    INTERNATIONAL JOURNAL ON ARTIFICIAL INTELLIGENCE TOOLS, 2015, 24 (01)
  • [45] Practical Implementation of Lattice QCD Simulation on SIMD Machines with Intel AVX-512
    Kanamori, Issaku
    Matsufuru, Hideo
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2018, PT III, 2018, 10962 : 456 - 471
  • [46] String searching with mismatches using AVX2 and AVX-512 instructions
    Chhabra, Tamanna
    Ghuman, Sukhpal Singh
    Tarhio, Jorma
    INFORMATION PROCESSING LETTERS, 2025, 189
  • [47] Faster Population Counts Using AVX2 Instructions
    Mula, Wojciech
    Kurz, Nathan
    Lemire, Daniel
    COMPUTER JOURNAL, 2018, 61 (01): : 111 - 120
  • [48] High-Speed AVX2 Implementation of AKCN-MLWE
    Yang H.
    Liu Z.
    Huang J.-H.
    Shen S.-Y.
    Zhao Y.-L.
    Liu, Zhe (zhe.liu@nuaa.edu.cn), 1600, Science Press (44): : 2560 - 2572
  • [49] Accelerating Stereo Vision Algorithm using SSE3, AVX2, and CUDA
    Kokhazadeh, M.
    Kokhazad, Z.
    Dehyadegari, M.
    Daneshtalab, M.
    2017 25TH IRANIAN CONFERENCE ON ELECTRICAL ENGINEERING (ICEE), 2017, : 2194 - 2199
  • [50] 基于Intel AVX2的LTE DFT和IDFT快速算法
    曹如球
    信息通信, 2014, (08) : 11 - 12