arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1512.09228cs.DC
收藏

基于Rabin指纹的多核同步确定有限自动机的高效构造

Efficient Construction of Simultaneous Deterministic Finite Automata on Multicores Using Rabin Fingerprints

Minyoung Jung, Bernd Burgstaller, Johann Blieberger

摘要:

在本文中,我们提出了几个优化的SFA构造算法,这大大减少了内存中的足迹和所需的处理步骤,以构建一个SFA。我们引入指纹作为一种空间和时间有效的方式来表示SFA状态。为了计算指纹,我们应用Barrett归约算法,并使用最近添加到x86指令集架构来加速它。我们利用指纹引入哈希进一步优化。我们的并行SFA构造算法是非阻塞的,并利用了粗,中,细粒度的并行性的防御级,数据级和任务级。我们适应静态的工作负载分布和对齐的SFA数据结构与多核存储层次结构的限制,以增加存储器访问的本地性和促进硬件预取。我们在PROSITE蛋白质数据库上进行了多达702个FA状态的FA实验,以评估我们提出的优化方法的性能和有效性。在4 CPU(64核)AMD Opteron 6378系统和2 CPU(28核,每个核2个超线程)Intel Xeon E5-2697 v3系统上进行了评估。在AMD系统上观察到的顺序基线算法的加速比高达118541倍,在Intel系统上为2113968倍。

英文摘要:

In this paper, we propose several optimizations for the SFA construction algorithm, which greatly reduce the in-memory footprint and the processing steps required to construct an SFA. We introduce fingerprints as a space- and time-efficient way to represent SFA states. To compute fingerprints, we apply the Barrett reduction algorithm and accelerate it using recent additions to the x86 instruction set architecture. We exploit fingerprints to introduce hashing for further optimizations. Our parallel SFA construction algorithm is nonblocking and utilizes instruction-level, data-level, and task-level parallelism of coarse-, medium- and fine-grained granularity. We adapt static workload distributions and align the SFA data-structures with the constraints of multicore memory hierarchies, to increase the locality of memory accesses and facilitate HW prefetching. We conduct experiments on the PROSITE protein database for FAs of up to 702 FA states to evaluate performance and effectiveness of our proposed optimizations. Evaluations have been conducted on a 4 CPU (64 cores) AMD Opteron 6378 system and a 2 CPU (28 cores, 2 hyperthreads per core) Intel Xeon E5-2697 v3 system. The observed speedups over the sequential baseline algorithm are up to 118541x on the AMD system and 2113968x on the Intel system.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑