SIMD compression and the intersection of sorted integers. (14th April 2015)
- Record Type:
- Journal Article
- Title:
- SIMD compression and the intersection of sorted integers. (14th April 2015)
- Main Title:
- SIMD compression and the intersection of sorted integers
- Authors:
- Lemire, Daniel
Boytsov, Leonid
Kurz, Nathan - Abstract:
- Summary: Sorted lists of integers are commonly used in inverted indexes and database systems. They are often compressed in memory. We can use the single‐instruction, multiple data (SIMD) instructions available in common processors to boost the speed of integer compression schemes. Our S4‐BP128‐D4 scheme uses as little as 0.7 CPU cycles per decoded 32‐bit integer while still providing state‐of‐the‐art compression. However, if the subsequent processing of the integers is slow, the effort spent on optimizing decompression speed can be wasted. To show that it does not have to be so, we (1) vectorize and optimize the intersection of posting lists; (2) introduce theSIMD GALLOPING algorithm. We exploit the fact that one SIMD instruction can compare four pairs of 32‐bit integers at once. We experiment with two Text REtrieval Conference (TREC) text collections, GOV2 and ClueWeb09 (category B), using logs from the TREC million‐query track. We show that using only the SIMD instructions ubiquitous in all modern CPUs, our techniques for conjunctive queries can double the speed of a state‐of‐the‐art approach. Copyright © 2015 John Wiley & Sons, Ltd.
- Is Part Of:
- Software, practice & experience. Volume 46:Number 6(2016)
- Journal:
- Software, practice & experience
- Issue:
- Volume 46:Number 6(2016)
- Issue Display:
- Volume 46, Issue 6 (2016)
- Year:
- 2016
- Volume:
- 46
- Issue:
- 6
- Issue Sort Value:
- 2016-0046-0006-0000
- Page Start:
- 723
- Page End:
- 749
- Publication Date:
- 2015-04-14
- Subjects:
- performance -- measurement -- index compression -- vector processing
Computer software -- Periodicals
Computer programming -- Periodicals
Computer programs -- Periodicals
005.3 - Journal URLs:
- http://onlinelibrary.wiley.com/ ↗
- DOI:
- 10.1002/spe.2326 ↗
- Languages:
- English
- ISSNs:
- 0038-0644
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - 8321.453000
British Library DSC - BLDSS-3PM
British Library STI - ELD Digital store - Ingest File:
- 2689.xml