High ratio archiver for Windows and Linux
Sloot is an experimental open source archiver written in Rust. Its goal is the best compression ratio you can get at a speed that is still usable. Compressors like paq8 and cmix use context mixing and neural networks to achieve incredible compression ratios, but they run at a few KB per second on one core, so a folder that 7-Zip packs in a minute would take them days. By compressing smarter, not harder, Sloot achieves similar compression ratios at a useable speed, with a real incremental archive format built around it, plus quality of life features like encryption and recovery records.
There is also a GUI, sloot-gui, that works like a basic file manager.

Archive size vs. time to pack 311 MB of mixed files (378 files). All benchmarks on this page were run on an Intel i7-12700KF (12 cores, 20 threads) with 2666 MHz DDR4 RAM, Windows 11.
sloot paq8px cmix 7-Zip zpaq RAR zip Windows / Linux W L W L W L W L W L W L W L Folders, updates U U U U U Incremental I I I I Deduplication D D Encryption E E E E E Recovery record R R Multithreading C C C C GUI G G G Unpacks zip/PDF/PNG P Neural network (LSTM) N N Free / open source F O F O F O F O F O F O
The program itself, Windows 64-bit, command line only (sloot-gui not included).
Size is the archive size as a percentage of the original. Every sloot archive was extracted and compared with the original files.
Mixed files: 311 MB of text, source code, programs, photos, audio, PDFs and office documents.
| size | compress | decompress | |
|---|---|---|---|
| sloot ultra | 41.2 % | 21 min | 21 min |
| sloot high | 42.8 % | 148 s | 137 s |
| sloot medium | 44.9 % | 73 s | 59 s |
| sloot normal | 47.3 % | 46 s | 39 s |
| sloot fast | 49.9 % | 33 s | 22 s |
| zpaq -m5 | 57.4 % | 187 s | 188 s |
| 7-Zip -mx9 | 59.8 % | 28 s | 2.7 s |
| xz -9e | 60.1 % | 65 s | 2.4 s |
| rar -m5 | 60.5 % | 7.2 s | 0.9 s |
| sloot fastest | 62.5 % | 2.8 s | 0.7 s |
| 7-Zip -mx1 | 62.5 % | 2.0 s | 0.7 s |
| zip -mx9 | 64.2 % | 8.7 s | 1.4 s |
Linux 7.3.4 source: one 1.72 GB tarball.
| size | compress | decompress | |
|---|---|---|---|
| sloot ultra | 4.85 % | 1.5 h | 1.5 h |
| sloot high | 5.79 % | 356 s | 351 s |
| sloot medium | 6.63 % | 150 s | 132 s |
| zpaq -m5 | 6.68 % | 415 s | 414 s |
| xz -9e | 8.94 % | 276 s | 2.5 s |
| sloot normal | 9.00 % | 34 s | 16 s |
| 7-Zip -mx9 | 9.09 % | 185 s | 1.8 s |
| rar -m5 -md1g | 9.83 % | 103 s | 2.1 s |
| zip -mx9 | 14.66 % | 1574 s | 4.4 s |
enwik8: the first 100 MB of English Wikipedia.
| size | compress | decompress | |
|---|---|---|---|
| cmix v21 | 14.62 MB | days | days |
| paq8px | 15.85 MB | days | days |
| sloot ultra | 16.50 MB | 322 s | 322 s |
| sloot high | 17.06 MB | 96 s | 93 s |
| zpaq -m5 | 19.6 MB | 104 s | 105 s |
| 7-Zip PPMd | 23.2 MB | 14 s | 15 s |
| xz -9e | 24.8 MB | 57 s | 0.7 s |
enwik9: the first 1 GB of English Wikipedia.
| size | compress | decompress | |
|---|---|---|---|
| cmix v21 | 107.96 MB | 1 week | 1 week |
| paq8px | 124.70 MB | 3 days | 3 days |
| sloot ultra | 134.36 MB | 54 min | 52 min |
| sloot high | 137.27 MB | 779 s | 768 s |
| zpaq (max) | 142.25 MB | - | - |
| 7-Zip PPMd | 200.35 MB | 122 s | 130 s |
cmix and paq8px figures, and zpaq's on enwik9, are published results, not measured here. A dash means no time is given.
The current version is a beta. Each zip contains sloot (command line) and sloot-gui.
There is nothing to install. Any 64-bit x86 CPU works; CPUs with AVX2 (most made since 2015) run faster.
Note: Sloot's code has been thoroughly tested, but not reviewed by a human, including its encryption implementation. Do not rely on it for any important or sensitive data.
Source code and release notes are on GitHub. To build from source, install Rust and run:
cd sloot && cargo build --release cd sloot-gui && cargo build --release
sloot is released under the Mozilla Public License 2.0. sloot-gui is released under the MIT license.
Most of the speed work in sloot comes from compressing smarter, not harder. Data goes through many steps before it's even compressed:
Only then comes compression: The fast profiles uses PPMd/BWT/LZMA (whichever is best), which replaces repeated strings with pointers to an earlier copy. The slower profiles use context mixing. The data is coded one bit at a time. For each bit, a set of models predicts the probability that it is a 1. Each model looks at a different context: the previous bytes, the current word, the column in a table, the pixels above and to the left, and so on. A mixer, a small neural network, combines these predictions, giving more weight to models that have recently been right. An arithmetic coder then codes the bit using the final probability, so a confident, correctly predicted bit costs much less than one bit to store.
However, this process is slow and single threaded because every bit's prediction depends on the bit before. The obvious move is to cut the file into pieces and give them their own mixers on every core, but then each piece starts out knowing nothing, and it hurts your ratio.
To get around that, Sloot warms up one model up on the first stretch and then hands copies of itself to other workers. When the memory becomes too big to copy, the workers share a frozen "trunk" and write only into small private overlays. They occasionally share what they learn and can search each other's data for matches.
The profiles differ in how many models they run. fast and normal use a few contexts per data type, medium and high use more, and ultra uses about 60 contexts per bit, two mixer layers and a final correction stage (SSE).
Sloot also saves time by working less.