Back to Search Start Over

SIMD-Optimized Search Over Sorted Data

Authors :
Mastripolito, Benjamin
Koskelo, Nicholas
Weatherred, Dylan
Pimentel, David A.
Sheppard, Daniel
Graham, Anna Pietarila
Monroe, Laura
Robey, Robert
Source :
J. Comput. Inf. Sci. Eng. Apr 2022, 22(2)
Publication Year :
2021

Abstract

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.

Details

Database :
arXiv
Journal :
J. Comput. Inf. Sci. Eng. Apr 2022, 22(2)
Publication Type :
Report
Accession number :
edsarx.2112.03229
Document Type :
Working Paper
Full Text :
https://doi.org/10.1115/1.4052728