LZ4
Faster decoding on large stock LZ4 files, direct random access, and early compression gains.
Against stock and the alternatives
Same machine for every bar. Longer is faster.
What it is
LZ4 is chosen wherever compression must stay out of the way—inside databases, filesystems, and games. Even when stock LZ4 is already fast, large archives and random lookups still leave performance on the table.
What we did
We accelerated decoding of large stock LZ4 files (16 MiB and above) to 40–70% faster than stock with identical output. For random access reads into large files, our tools run hundreds to thousands of times faster: more than 500× on 100 MB files and over 7,500× on 1 GiB files.
On the compression side, our early results for compression with identical output reach 5–10× faster than stock on a server; at the fast compression level, Talarea reaches about 7× stock versus about 4× for LZ4’s built-in multithreading.
Results
| Workload | Setting | vs. stock |
|---|---|---|
| Decoding large stock files | 16 MiB+ files, identical output | 40–70% faster |
| Random access reads | 100 MB to 1 GiB large files | 500–7,500×+ |
| Compression (early results) | Server, identical output (fast level: about 7× vs. about 4× for LZ4’s built-in multithreading) | 5–10× |
The 5–10× compression figures (including about 7× vs. about 4× for LZ4’s built-in multithreading at the fast level) are early results; decoding speedups apply to large stock LZ4 files of 16 MiB or more.
See this work live
Want to see side-by-side runs on your own hardware or data? Request a live demo with our engineering team.