A General SIMD-based Approach to Accelerating Compression Algorithms

Wayne Xin Zhao, Xudong Zhang, Daniel Lemire, Dongdong Shan, Jian-Yun Nie +2 more
2/6/2015
45 citations
cs.IR

Official code: fast-pack/FastPFOR (979 stars, C++, Apache-2.0, last commit 2026-10-04).

Abstract

Compression algorithms are important for data oriented tasks, especially in the era of Big Data. Modern processors equipped with powerful SIMD instruction sets, provide us an opportunity for achieving better compression performance.

Show full abstract

Previous research has shown that SIMD-based optimizations can multiply decoding speeds. Following these pioneering studies, we propose a general approach to accelerate compression algorithms. By instantiating the approach, we have developed several novel integer compression algorithms, called Group-Simple, Group-Scheme, Group-AFOR, and Group-PFD, and implemented their corresponding vectorized versions. We evaluate the proposed algorithms on two public TREC datasets, a Wikipedia dataset and a Twitter dataset. With competitive compression ratios and encoding speeds, our SIMD-based algorithms outperform state-of-the-art non-vectorized algorithms with respect to decoding speeds.

View on arXivView PDF

Code Implementations(1)

fast-pack/FastPFOROfficial100%
Apache-2.0

The FastPFOR C++ library: Fast integer compression

979136C++, CJun 26, 20121 months agoApache-2.0
compression-schemessimd-compressionsorted-lists

Similar Papers

Cite this paper

@article{zhao2015general,
  title  = {A General SIMD-based Approach to Accelerating Compression Algorithms},
  author = {Wayne Xin Zhao and Xudong Zhang and Daniel Lemire and Dongdong Shan and Jian-Yun Nie and Hongfei Yan and Ji-Rong Wen},
  year   = {2015},
  eprint = {1502.01916},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1502.01916}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1502.01916.svg)](https://codeofpaper.com/paper/1502.01916)

Discussion