SIMD优化的排序数据搜索
SIMD-Optimized Search Over Sorted Data
摘要:
应用程序通常需要对排序数据执行快速的单线程搜索算法,这在表查找操作中很常见。我们探索各种搜索算法,大量的搜索候选人在一个相对较小的数组的有序分布的排序数据。其中包括一个创新的基于散列的搜索,它利用浮点表示法按指数对数据进行二进制处理。可以被优化以利用SIMD向量指令的算法是特别感兴趣的。然后,我们进行了一个案例研究,应用我们的结果和分析算法的性能与EOSPAC包。EOSPAC是一个表查找库,用于操作和内插SENSOR状态方程数据。我们的调查结果在一对夫妇的算法具有更好的性能,最好的情况下,8倍的加速比原来的EOSPAC狩猎和定位实现。我们的技术是推广到其他实例的搜索算法寻求获得性能提升矢量化。
英文摘要:
Applications often require a fast, single-threaded search algorithm over sorted data, typical in table-lookup operations. We explore various search algorithms for a large number of search candidates over a relatively small array of logarithmically-distributed sorted data. These include an innovative hash-based search that takes advantage of floating point representation to bin data by the exponent. Algorithms that can be optimized to take advantage of SIMD vector instructions are of particular interest. We then conduct a case study applying our results and analyzing algorithmic performance with the EOSPAC package. EOSPAC is a table look-up library for manipulation and interpolation of SESAME equation-of-state data. Our investigation results in a couple of algorithms with better performance with a best case 8x speedup over the original EOSPAC Hunt-and-Locate implementation. Our techniques are generalizable to other instances of search algorithms seeking to get a performance boost from vectorization.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。