Publication | Closed Access
HARE: Hardware accelerator for regular expressions
45
Citations
27
References
2016
Year
Unknown Venue
EngineeringComputer ArchitectureHardware SystemsString-searching AlgorithmHigh-performance ArchitectureString ProcessingComputing SystemsAsic ImplementationParallel Computing32-Character-wide Hare DesignComputer EngineeringComputer ScienceFpga DesignHardware AcceleratorHardware AccelerationCombinatorial Pattern MatchingFormal MethodsParallel ProgrammingRegular Expressions
Rapidly processing text data is critical for many technical and business applications. Traditional software-based tools for processing large text corpora use memory bandwidth inefficiently due to software overheads and thus fall far short of peak scan rates possible on modern memory systems. Prior hardware designs generally target I/O rather than memory bandwidth. In this paper, we present HARE, a hardware accelerator for matching regular expressions against large in-memory logs. HARE comprises a stall-free hardware pipeline that scans input data at a fixed rate, examining multiple characters from a single input stream in parallel in a single accelerator clock cycle. We describe a 1GHz 32-character-wide HARE design targeting ASIC implementation that processes data at 32 GB/s — matching modern memory bandwidths. This ASIC design outperforms software solutions by as much as two orders of magnitude. We further demonstrate a scaled-down FPGA proof-of-concept that operates at 100MHz with 4-wide parallelism (400 MB/s). Even at this reduced rate, the prototype outperforms grep by 1.5–20x on commonly used regular expressions.
| Year | Citations | |
|---|---|---|
Page 1
Page 1