The FastLanes Compression Layout: Decoding >100 Billion Integers per Second with Scalar Code
摘要
The open-source FastLanes project aims to improve big data formats, such as Parquet, ORC and columnar database formats, in multiple ways. In this paper, we significantly accelerate decoding of all common Light-Weight Compression (LWC) schemes: DICT, FOR, DELTA and RLE through better data-parallelism. We do so by re-designing the compression layout using two main ideas: (i) generalizing the value interleaving technique in the basic operation of bit-(un)packing by targeting a virtual 1024-bits SIMD register, (ii) reordering the tuples in all columns of a table in the same Unified Transposed Layout that puts tuple chunks in a common "04261537" order (explained in the paper); allowing for maximum independent work for all possible basic SIMD lane widths: 8, 16, 32, and 64 bits.
We address the software development, maintenance and future-proofness challenges of increasing hardware diversity, by defining a virtual 1024-bits instruction set that consists of simple operators supported by all SIMD dialects; and also, importantly, by scalar code. The interleaved and tuple-reordered layout actually makes scalar decoding faster, extracting more data-parallelism from today's wide-issue CPUs. Importantly, the scalar version can be fully auto-vectorized by modern compilers, eliminating technical debt in software caused by platform-specific SIMD intrinsics. Micro-benchmarks on Intel, AMD, Apple and AWS CPUs show that FastLanes accelerates decoding by factors (decoding >40 values per CPU cycle). FastLanes can make queries faster, as compressing the data reduces bandwidth needs, while decoding is almost free.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 20 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- An Empirical Evaluation of Columnar Storage Formats 引用了 Tile-based Lightweight Integer Compression in GPU
- The FastLanes File Format 引用了 An Empirical Evaluation of Columnar Storage Formats
- The FastLanes File Format 引用了 ALP: Adaptive Lossless floating-Point Compression
- The FastLanes File Format 引用了 Tile-based Lightweight Integer Compression in GPU
- F3: The Open-Source Data File Format for the Future 引用了 An Empirical Evaluation of Columnar Storage Formats
- Beyond Compression: A Comprehensive Evaluation of Lossless Floating-Point Compression 引用了 ALP: Adaptive Lossless floating-Point Compression
- Beyond Compression: A Comprehensive Evaluation of Lossless Floating-Point Compression 引用了 Tile-based Lightweight Integer Compression in GPU
引用它的顶会 Paper20
- An Empirical Evaluation of Columnar Storage FormatsXinyu Zeng, Yulong Hui, Jiahong Shen, Andrew Pavlo 等VLDB 2024 · 59 次引用
- ALP: Adaptive Lossless floating-Point CompressionAzim Afroozeh, Leonardo Kuffó, Peter BonczSIGMOD 2024 · 33 次引用
- F3: The Open-Source Data File Format for the FutureXinyu Zeng, Ruijun Meng, Martin Prammer, Wes McKinney 等SIGMOD 2026 · 10 次引用
- The FastLanes File FormatAzim Afroozeh, Peter BonczVLDB 2025 · 9 次引用
- Beyond Compression: A Comprehensive Evaluation of Lossless Floating-Point CompressionKaisei Hishida, Chunwei Liu, John Paparrizos, Aaron J. ElmoreVLDB 2025 · 8 次引用
它引用的 Paper1
相关 Paper
- BtrBlocks: Efficient Columnar Compression for Data LakesMaximilian Kuschewski, David Sauerwein, Adnan Alhomssi, Viktor LeisSIGMOD 2023 · 47 次引用
- GPU Acceleration of SQL Analytics on Compressed DataZezhou Huang, Krystian Sakowski, Hans Lehnert, Wei Cui 等VLDB 2026 · 1 次引用
- Selection Pushdown in Column Stores using Bit Manipulation InstructionsYinan Li, Jianan Lu, Badrish ChandramouliSIGMOD 2023 · 15 次引用
- L3: A GPU-Native Co-Designed Data Format for Learned Lossless Lightweight CompressionYouyang Xia, Feng Zhang, Junda Pan, Yihao Liu 等SIGMOD 2026 · 1 次引用
- LeCo: Lightweight Compression via Learning Serial CorrelationsYihao Liu, Xinyu Zeng, Huanchen ZhangSIGMOD 2024 · 17 次引用
