计算机科学 > 数据结构与算法
[提交于 2012年9月20日]
标题:Bouma2 - A Quasi-Stateless, Tunable Multiple String-Match Algorithm
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The Bouma2 algorithm attempts to challenge the prevalent "stateful" exact string-match paradigms by suggesting a "quasi-stateless" approach. We claim that using state-machines to solve the multiple exact string-match problem introduces a hidden artificial constraint, namely the Consume-Order Dependency, which results in unnecessary overhead. Bouma2 is not restricted in this sense; we postulate that this allows memory-efficiency and improved performance versus its state-machine equivalents. The heart of the Bouma2 preprocessing problem is formulated as a weighted Integer Linear Programming problem, that can be tuned for memory footprint and performance optimization. Specifically, this allows Bouma2 to be input-sensitive, as tuning can be based on input characteristics. Evaluating Bouma2 against the Aho-Corasick variant of the popular Snort Intrusion Prevention System, we demonstrate double the throughput while using about 10% of the memory.
提交历史
来自:Erez Buchnik[v1] 2012年9月20日 星期四 14:59:48 UTC