Abstract
Regular expressions (regexes) play a key role in a wide range of systems including network intrusion detection. FPGA accelerators can provide power savings over CPUs by exploiting MISD parallelism inherent in regex processing. However, FPGA solutions are brittle, requiring hours to reprogram when rulesets change, while real-world security threats evolve rapidly.
We present RXPSC (Regular eXPression Structural Compiler), a compiler designed to compile new regexes to existing regex accelerators. We use input-stream translation to enable fixed FPGA accelerators to accelerate new patterns with minimal overhead and little update delay. Compared to a solution where new regexes run on a CPU, RXPSC reduces CPU load by more than a factor of ten for 84% of unseen regexes in ANMLZoo benchmarks.
We present RXPSC (Regular eXPression Structural Compiler), a compiler designed to compile new regexes to existing regex accelerators. We use input-stream translation to enable fixed FPGA accelerators to accelerate new patterns with minimal overhead and little update delay. Compared to a solution where new regexes run on a CPU, RXPSC reduces CPU load by more than a factor of ten for 84% of unseen regexes in ANMLZoo benchmarks.
Original language | English |
---|---|
Title of host publication | 2021 58th ACM/IEEE Design Automation Conference (DAC) |
Publisher | IEEE |
Pages | 343-348 |
Number of pages | 6 |
ISBN (Electronic) | 978-1-6654-3274-0 |
ISBN (Print) | 978-1-6654-3275-7 |
DOIs | |
Publication status | Published - 13 Nov 2021 |
Event | 58th Design Automation Conference - San Francisco, United States Duration: 5 Dec 2021 → 9 Dec 2021 https://www.dac.com/ |
Publication series
Name | |
---|---|
ISSN (Print) | 0738-100X |
Conference
Conference | 58th Design Automation Conference |
---|---|
Abbreviated title | DAC 2021 |
Country/Territory | United States |
City | San Francisco |
Period | 5/12/21 → 9/12/21 |
Internet address |
Keywords
- regular expressions
- accelerator
- compiler