// infrastructure

FINALMKE · Mathematically Improved Kompression Engine · Linux / Win / Android
// Lossless compression engine17 November 2026

M.I.K.E.

Mathematically Improved Kompression Engine

Some data isn't compressed. It's a puzzle waiting to be solved.

MIKE pairs a new idea, the puzzle compressor (patent pending), with the best of classic compression, and autotunes the mix for every block it sees. On 60 real files it removes 65.1% of the bytes. The strongest rival we could find removes 36.6%. Every result restores byte for byte.

65.1%
saved on 60 real files at --power
best rival (zpaq -m5): 36.6%
60 / 60
files where MIKE is smallest at --extreme
against seven rivals at max
0.4 s
to restore all 60 files
at --fast
4 modes
streaming · storage ·
cold storage · deep archive
// Latest results

The biggest gains are where MIKE was weakest.

Every result was restored and compared byte for byte. The ratio is how many times smaller MIKE's output is than the best rival's.

Audio vs FLAC -12
−19%
Stereo audio at --power is 19% smaller than FLAC at its strongest; voice 6–8%. At the default level too.
A folder of 60 mixed files
1.45×
5.36 MB as one folder at --power. zpaq -m5: 7.79 MB. 7-Zip: 8.06 MB.
32 MB web access log
1.26×
860,766 bytes at --power; zpaq -m5 1,083,933.
System journal
1.48×
56,819 bytes at --power; zpaq -m5 84,368.
55 MB SAP sales table
1.34×
790,043 bytes at --power; zpaq -m5 1,056,267, xz -9e 1,567,032. At the default level 1,291,678.
60 real files, one by one
60 / 60
--extreme beats the best rival on every file.
// vs the best tool for each job
DataBest rivalRival bytesMIKE bytesLevelMIKE smaller by
Folder of 60 mixed files15.4 MB: office, PDF, photos, text, code, numberszpaq -m57,794,2425,359,358--power1.45×
Web access log32 MB, NASA HTTP logzpaq -m51,083,933860,766--power1.26×
System journal3.6 MB, systemdzpaq -m584,36856,819--power1.48×
Sales table55 MB, CSV exported from SAPzpaq -m51,056,267790,043--power1.34×
Linux shared libraries16 MB tar of .so fileszpaq -m54,099,9773,656,736--power1.12×
Noisy sensor series400 KB, trend plus noisezpaq -m561,55454,018--power1.14×
Float audio2.1 MB, processed voice, 32-bit floatxz -9e (FLAC has no float mode)1,890,2801,505,306--power1.26×
// audio: MIKE vs FLAC at its strongest setting (-12)
RecordingFLAC -12MIKE defaultvs FLACMIKE --powervs FLAC
Voice A22 kHz mono, 1.6 MB1,071,3991,003,3491.07×1,003,3491.07×
Voice B22 kHz mono, 1.1 MB570,308527,1451.08×525,6591.08×
Stereo jingle44.1 kHz stereo, 0.7 MB292,237247,0591.18×235,4411.24×
Sound effect22 kHz mono, 0.2 MB166,843155,6051.07×153,9801.08×
1.25× or more1.10× or more1.00–1.10×rival smaller

// folder, logs, tar and sensor rows measured on the same 2-vCPU lab VM and rival runs as the tables below · audio and float audio on our 4-core dev box, FLAC via ffmpeg at compression level 12 · 12 Nov 2026, folder re-measured 16 Nov 2026

// The puzzle compressor · patent pending

Classic compressors pack the bytes. The puzzle compressor finds the rule that made them.

Every mainstream tool, from ZIP to zstd, does the same thing: find repeats, then entropy-code what is left. That approach has a hard floor. MIKE adds a second one. If the data came from a rule (a counter, a polynomial, a recurrence, a sampled signal, a table of numbers), the shortest way to store it is the rule itself. The puzzle compressor recognises the generator, stores the formula and the few values it cannot predict, and on restore runs the formula to get every byte back.

// A real middle-out moment. Named for my son Miguel — I told him computers are just math, and the math is worth loving — with a push from my wife Ana, who took one look and said "you're living the Silicon Valley series." And, of course, an affectionate nod to Mike Judge, John Altschuler, Dave Krinsky and Alec Berg and their brilliance. Pied Piper was fiction. Middle-out was fiction. puzzleCompressor and MIKE are real.

On numeric series · 5 files, 3.1 MB
97.9% saved

The best rival, zpaq at its strongest setting, saves 48.5% on the same files. xz saves less. That is the puzzle compressor alone: no other tool looks for the rule.

Then it reopens what others leave sealed

Office files, PDFs, PNGs and gzip archives are already compressed, so classic tools get almost nothing from them. MIKE unpacks them, codes the contents, and on restore rebuilds the original container byte for byte. The same goes for JPEG and MP3 internals, and for whole virtual disks (VMDK, OVA, qcow2, raw), which it reads file by file through ext4, XFS, NTFS and LVM2.

// Autotune

Puzzle or classic? MIKE tries both, block by block, and keeps the winner.

No single method wins on all data. So MIKE doesn't pick one. For each block it runs the candidates side by side: the puzzle compressor, the specialists that reopen known formats, and the classic coders (LZ matching, Huffman and arithmetic coding, context mixing). It keeps whichever result is smallest and decodes back exactly. The mode you choose sets how many candidates it is allowed to try. Because the plain classic coder is always among them, MIKE never does worse than storing the data plainly, plus a few bytes of header.

Numeric series
98.3%

The puzzle compressor wins: formulas plus residuals.

Office documents
40.8%

Reopen the ZIP container, then classic coding on the XML inside. Best rival: 1.2%.

Prose & source code
77–88%

Context mixing wins: a text model predicting each bit from what came before.

// saved share at --power on the 60-file set below · the mix is chosen per block, so one file can use all three

// Benchmarks · 60 real files · seven rivals at their maximum

MIKE is smallest on all 60 files.

Documents, PDFs, photos, archives, text, code, tables and numeric series, 15.4 MB in all. Every rival ran at its strongest setting, one job at a time, on a low-spec VM (2 vCPU, 4 GB). Every MIKE result was decoded and compared byte for byte.

gzip -929.0%
bzip2 -929.0%
zstd --ultra -2231.5%
Brotli q1132.5%
7-Zip -mx=933.1%
xz -9e33.2%
zpaq -m536.6%
MIKE --fast44.9%
MIKE default61.0%
MIKE --power65.1%
MIKE --extreme65.2%

// share of the 15,378,200 bytes removed · longer bar = smaller output

MIKE --power: output size vs the rivals at their maximum
60 real files15.4 MBAccess log32 MBSystem journal3.6 MBLVM2 disk99 MBVM snapshot125 MBSales table55 MBSnapshot + base125 MB
gzip -9bzip2 -9zstdBrotli q117-Zipxz -9ezpaq -m5MIKE --power

Each spoke is one corpus. 100% = the smallest output on that corpus; MIKE --power is the smallest on all seven. A line that falls to the centre has no result there; on the snapshot stored against its base disk, only zstd (--patch-from) can use the base.

MIKE fast: speed vs the rivals
Compress60 filesCompressaccess logCompresssystem journalDecompress60 filesDecompressaccess logDecompresssystem journal
gzip -9bzip2 -9zstdBrotli q117-Zipxz -9ezpaq -m5MIKE --fast

Each spoke is one corpus and direction. 100% = the fastest engine on that spoke; MIKE --fast is the setting shown. Times are the measured wall-clock seconds on the 2-vCPU VM.

ToolOutput (bytes)SavedCompressDecompressSmallest on
LHA (lh7)312.9 MB–
gzip -910,923,62029.0%1.0 s0.2 s–
bzip2 -910,917,88329.0%1.1 s0.7 s–
zstd --ultra -2210,529,41031.5%4.2 s0.2 s–
Brotli q1110,373,52832.5%20.2 s0.2 s–
7-Zip -mx=910,292,53433.1%1.6 s0.5 s–
xz -9e10,273,83233.2%6.3 s0.4 s–
zpaq -m5 best rival9,757,22536.6%43.4 s44.4 s–
MIKE --fast8,472,80744.9%4.8 s0.4 s5 / 60
MIKE default5,989,83561.0%43.6 s9.0 s50 / 60
MIKE --power5,362,01465.1%139.5 s36.2 s59 / 60
MIKE --extreme5,344,36865.2%226.0 s43.9 s60 / 60
File typeFilesBest rivalMIKE defaultMIKE --powerMIKE --extreme
Numeric series5zpaq 48.5%97.9%98.3%98.3%
Office (docx/xlsx/pptx/odt)12zstd 1.2%24.9%40.8%40.9%
PDF8zpaq 20.8%43.6%45.8%46.3%
JPEG photos12zpaq 7.0%20.1%21.7%21.7%
CSV table1zpaq 87.6%90.0%90.7%90.7%
Prose & Markdown3zpaq 76.2%73.9%77.4%77.4%
HTML / XML / SVG / JSON8zpaq 89.1%89.0%91.2%91.3%
gzip archives6xz 2.7%88.5%88.8%88.9%
Source code2zpaq 86.4%85.5%88.1%88.1%
PNG1Brotli 56.9%82.8%91.0%91.0%
MP31Brotli 4.2%4.5%6.8%6.8%
H.264 clip1Brotli 44.2%43.6%43.5%44.4%

// green = MIKE beats the best rival on that type · MIKE measured 15 Nov 2026 · rival rows from the same VM and files

// Logs

Machine and access logs: at --power, under half the size of xz -9e.

A real public web-server access log (the NASA HTTP trace, 32 MB) and a Linux system journal (3.6 MB), same VM.

ToolAccess logtime in / outSystem journaltime in / out
xz -9e2,029,276 94.0%24.8 s / 0.2 s134,168 96.2%2.1 s / 0.02 s
zstd -19 --long2,149,774 93.6%15.7 s / 0.1 s159,433 95.5%1.8 s / 0.02 s
7-Zip -mx=92,233,187 93.3%7.3 s / 0.2 s158,775 95.5%0.4 s / 0.02 s
zpaq -m5 best rival1,083,933 96.8%63.4 s / 61.0 s84,368 97.6%6.2 s / 6.1 s
MIKE --fast2,236,166 93.3%22.6 s / 2.1 s158,992 95.5%1.5 s / 0.2 s
MIKE default1,712,611 94.9%46.7 s / 17.5 s158,992 95.5%4.5 s / 0.2 s
MIKE --power860,766 97.4%295.3 s / 31.6 s56,819 98.4%29.9 s / 5.5 s

// output size, share saved in brackets · all MIKE results restored byte-exact

// Virtual machine disks

VM disks, backups and snapshots: smaller than xz -9 in every disk format.

MIKE opens the disk, reads the filesystem, and codes each file by kind. VMDK, OVA and qcow2 are reopened to the same virtual disk, so the container format stops mattering. Disks stream through in bounded parts, so memory is set by how many parts are in flight, not by the disk size: under 1 GB at default on every disk here, up to 734 MB, and 1.7 GB at --power.

Diskxz -9MIKE defaultMIKE --power
ext4, raw 100 MB disk, 70 MB in use20.33 MB19.07 MB–
same disk as OVA VMDK, stream-optimised29.29 MB19.09 MB–
same disk as qcow2 compressed clusters30.85 MB19.08 MB–
XFS 99 MB of files29.12 MB27.54 MB23.08 MB
NTFS 99 MB of files30.56 MB27.53 MB22.90 MB
LVM2 volume group39.83 MB33.79 MB28.23 MB
VM snapshot qcow2 overlay, one day of changes, 125 MB27.58 MB27.59 MB22.76 MB
same snapshot, with its base disk at hand restored with --base27.58 MB10.35 MB9.86 MB

// every result restored byte-exact · – = not measured on that disk yet · the snapshot holds only the blocks that changed since the base disk (new documents, removed programs, edited files, logs): at default MIKE ties xz -9 there (10 KB behind), at --power it is 17% smaller; the other tools on the snapshot: zpaq -m5 24.75 MB, 7-Zip 27.54 MB, zstd -22 28.74 MB, Brotli 28.81 MB, bzip2 39.32 MB, gzip 44.45 MB · with the base disk at hand, as a backup of a running VM has, MIKE at --power stores the snapshot in 9.86 MB, 2.8× smaller than xz -9; the best rival that can use a base, zstd -19 --patch-from, 10.17 MB

// 1 GB of Wikipedia

The Wikipedia benchmark file: 17 minutes on one CPU core, no GPU.

The first gigabyte of English Wikipedia is the file research compressors compete on. tufazip, a neural compressor tuned to that one file, takes about a week on two B200 GPUs to pack it and another week to give it back. MIKE at its default level does it on a single core of an ordinary processor.

SizeUsable on your own filesTime
Original1,000 MB––
tufazip105.4 MB (10.5%)✗10,500 to 10,800 minutes to compress, the same again to give it back, two B200 GPUs
MIKE, --extreme156.2 MB (15.6%)✓18 minutes to compress, 14 minutes to give it back, on one core
MIKE, --power160.0 MB (16.0%)✓17 minutes to compress, 14 minutes to give it back, on one core
MIKE, default level166.1 MB (16.6%)✓17 minutes to compress, 14 minutes to give it back, on one core
7-Zip (PPMd)178.8 MB (17.9%)✓3 minutes
xz -9e211.8 MB (21.2%)✓11 minutes
MIKE, --fast212.0 MB (21.2%)✓8 minutes to compress, 15 seconds to give it back
RAR 7 (best)218.4 MB (21.8%)✓7 minutes
zstd -19235.3 MB (23.5%)✓9 minutes
bzip2 -9254.0 MB (25.4%)✓53 seconds
LHA (lh7)312.9 MB (31.3%)✓59 seconds
gzip -9322.6 MB (32.3%)✓39 seconds
zip -9322.6 MB (32.3%)✓38 seconds

// MIKE 0.17.18 on one core, 3.4 GB of memory at the default level, 4.2 GB at --power and 7.3 GB at --extreme, no GPU, output decompressed and compared byte for byte · the other tools at their strongest settings, same file, same machine · tufazip figures as published by its authors, decoder included

tufazip has been compared to the compression startup in Silicon Valley. A week on two GPUs for one file is a lab record, as far from the real world as any land speed record car ever built. MIKE is the Silicon Valley story: a small team, the data flood the show joked about arriving for real, and a product that runs today on the servers you already own. How MIKE was born →

// What it handles

Big text, virtual disks, folders, sound.

Big data

Big logs and text use every core, at every level.

VMDK, OVA and qcow2 stream in bounded memory like raw disks, and come out smaller than xz -9 in every format.

Snapshots and nightly backups can be stored against the copy you already keep: a day of changes to a VM disk, 125 MB, comes out at 9.86 MB.

Folders are coded as one set: 60 mixed files come out 1.45× smaller than zpaq -m5.

Sound: WAV, 16/24-bit and float, smaller than FLAC at its strongest setting.

Sales and billing tables: a 55 MB SAP sales export comes out 1.34× smaller at --power than zpaq -m5, and 24% smaller than MIKE 0.17.14. From 0.17.17 the default level is 22% smaller on it than before and beats xz -9e, in the time of one pass.

Fonts inside documents: a DOCX carrying its own fonts comes out 3% smaller at --power than before, PDFs up to 1.6%.

File names are kept: restore into a folder and the file comes back under its own name.

Across the engine

Four levels from --fast to --extreme. A context-mixing text model with layout rules. An x86-64 instruction model for programs. Virtual disks read through ext4, XFS, NTFS and LVM2. Signed self-updates: every install moves to the new version by itself.

// Four modes, one format

Streaming, storage, cold storage: each needs a different trade.

A byte costs different things in different places. In flight you pay in time, so the compressor has to be quick on both ends. At rest you pay every month, so a few more seconds buys a smaller bill. In cold storage you pay for years and rarely read, so every byte you can remove is worth it. One setting can't be right for all three, so MIKE has four. They all write the same format: any .mike opens with the same tool whatever level wrote it, and data can move to a deeper level as it cools.

--fast
Streaming · on the wire
saved
44.9%
in
3.2 MB/s
out
38 MB/s

Pipes, transfers, ingest. mike stream runs in bounded memory on every core. On 2 cores it pays for itself on links below about 12 Mbit/s, and more cores raise that limit.

default
Storage · live data
saved
61.0%
in
0.35 MB/s
out
1.7 MB/s

Files people still open. Beats every rival's best on totals, with restores fast enough for everyday reads.

--power
Cold storage · backups
saved
65.1%
in
0.11 MB/s
out
0.42 MB/s

Backups, snapshots, archives. Every specialist runs, plus the full text model. Smallest on 59 of 60 files.

--extreme
Deep archive
saved
65.2%
in
0.07 MB/s
out
0.35 MB/s

Written once, kept for years. Models whole files up to 64 MB and tries both containers per block. Smallest on all 60 files.

// speeds = the 60-file set on a 2-vCPU VM, per job; disks, chunked text and streams use every core

// Databases · SAP HANA backup

SAP HANA backups: 7.6× smaller, where HANA's own compression gets 2.4×.

HANA's built-in backup compression is LZ4-class: fast, but light. Many backup agents add nothing on top. On TPC-H tables, the standard database benchmark data, MIKE cuts the backup to a third of what HANA's native compression leaves, and every byte comes back identical.

Compressorlineitem 10 MBtimes smallercustomer 24 MBtimes smaller
HANA native class zstd --fast (LZ4-class)41.2%2.43×48.3%2.07×
gzip -9 legacy backup28.6%3.49×37.3%2.68×
zstd -19 modern backup tools21.6%4.63×30.9%3.24×
xz -9e best rival20.9%4.80×29.2%3.42×
MIKE default14.6%6.86×24.5%4.08×
MIKE --power13.2%7.57×22.3%4.48×

// size left, as a share of the original · TPC-H dbgen tables (lineitem: first 10 MB of scale factor 0.1; customer: scale factor 1) · MIKE on the 2-vCPU VM, 2 Nov 2026, all byte-exact · at --power: 68% smaller than HANA-native-class on lineitem, 37% smaller than xz -9e

The service · MIKE Backint agent

MIKE on HANA's backup path

SAP HANA hands every data, log and catalog backup to third-party tools through its Backint interface: a named pipe per backup object. The MIKE Backint agent sits on that pipe. It compresses on the way out and decompresses on restore, and HANA gets back exactly the image it wrote.

▸ Installs through the standard hdbbackint hook and global.ini, with no change to HANA or the applications.
▸ Every object is decoded again before it is reported saved. If it doesn't match, the backup fails rather than pretend.
▸ One setting per site picks the level: fast, balanced, power or extreme.

BACKUP · compress on the way out SAP HANA database MIKE Backint compress + verify Backup store disk / NFS named pipe .mike RESTORE · decompress on the way back Backup store disk / NFS MIKE Backint decompress SAP HANA identical image .mike named pipe
// SAP Content Server, the ILM store, Data Services and an S3 gateway also run on MIKE — see Products
// Simulator

What does your estate cost at rest? Here's a 15-exabyte cloud host.

Pre-filled like a cloud host's estate: 4 EB of office documents, 4 EB of VM backups and snapshots, 3 EB of machine and access logs, 2 EB of photos, 1.5 EB of PDF and 0.5 EB of CSV tables. The reduction for each type is MIKE's measured result above, with the best rival beside it. Pick a mode, change any number, add your own data.

Data typeStored (PB)MIKE savesBest rival
Saved per year with MIKE
$0
 
Data entered0
Capacity freed by MIKE0
Left to store with MIKE0
Left to store with the best rival0
MIKE stores less than the best rival0

// saving = Σ stored × share saved × $/TB/yr · logs: average of the access log and the system journal above; rival = zpaq -m5 · VM backups: share of the data written to the disk (empty space costs nothing either way), measured on ext4, XFS and NTFS; rival = xz -9 · documents, PDF, photos, numeric, CSV: the 60-file set · your data will differ, so measure it: mike c --power reports the ratio for every file

// Products

One engine, in every shape it ships.

Every program below runs the same engine and the same format, and updates itself over a signed channel.

ProductRuns onStatusWhat it does
MIKE app mike-guiLinux · Windows · AndroidshippedOne button: drop a file to shrink it, drop a .mike to restore. Mode selector, AES-256 password lock, verify.
MIKE CLI mikeLinux x86-64 & ARM64 · Windowsshippedmike c / mike d, four levels, --safe round-trip check, mike stream for pipes.
MIKE View mike-view · mike-openLinux · WindowsshippedOpen a .mike without unpacking it. Temporary copy, wiped on close.
MIKE Vault mike-vaultLinux · WindowsenterpriseA folder that compresses itself. Files land, shrink, and open like nothing happened.
MIKE Folder mikefsLinux x86-64 & ARM64 · QNAP NASpreviewA share that is compressed on disk and served byte-exact over SMB, NFS or File Station.
MIKE Backup mike-backupLinux · WindowspreviewIncremental VM and file backup with deduplication: QEMU/KVM and Proxmox disks, live file trees.
MIKE HSM mike-hsm · mike-hsmdLinuxpreviewTiered storage: cold files are kept compressed and restored on first touch.
Backint for SAP HANA mike-backintLinuxenterpriseMIKE on HANA's backup interface.
SAP & object storage contentserver · ilmstore · s3gw · segments · mike4sap-dsLinuxenterpriseMIKE behind SAP Content Server, ILM store and Data Services, and an S3-compatible gateway.
// Distribution

Licences, enterprise builds and support go through them. Write to mr.adamantware@gmail.com and we'll put you in touch.

// The guarantee

Every byte back, every time.

Always lossless, never meaningfully bigger

Every result on this page was restored and compared byte for byte. Plain storage is always a candidate, so random data comes out at its own size plus a few bytes of header.

// Origin story

How MIKE was born

Miguel — the original M.I.K.E.
Miguel — the original M.I.K.E.

I’ve long loved Mike Judge’s genius — especially how perfectly he captures the idiosyncrasy of the IT business. And he didn’t do Silicon Valley alone: he created it with John Altschuler and Dave Krinsky, and ran it with Alec Berg. It is brilliant (watch it), right up there with Office Space. If you’ve worked in tech, particularly from the ’80s on, it hits differently — because it’s true.

I relate to it more than I’d like. The hunt for venture capital. The adversity. The lawsuits. The endless complexity that drags a creator away from the one thing that matters — creating — and buries him in time-wasting nonsense everyone somehow expects him to be great at too. I’ve watched useless CEOs and mediocre tech win on marketing instead of merit, funded well enough to bury anyone who’s actually better, all while “making the world a better place.” My colleagues started calling me Gilfoyle. They even got me the “Hail Satan & drink coffee” mug. They’re not wrong about the temperament — just the satanism.

It all came together one afternoon. I was teaching math to my 9-year-old son, Miguel — Mike — and he was not having it. He loves Marvel, Transformers, computers and cars (like his dad); math just wasn’t sexy enough. So I told him: you love computers? It’s all math. Robots? Computers plus mechanical engineering. Cars? Mostly mechanical engineering — which is maths and physics, and most of physics is… math. You gotta love math, kiddo.

“You’re so like Gilfoyle — the same sarcasm, the same dark view of humanity, and just as brilliant at tech. And you’re building Newton AI! Gilfoyle built Son of Anton… and look what came out of that.”— Ana, my wife, looking at Newton

That same day, Ana looked at Newton — the sovereign AI I’m building (yes, it’s on this site) — and made that call. So I went back and rewatched their masterpiece. And somewhere in the middle of Richard explaining why middle-out beats Shannon and every other compression method, I had an epiphany: brilliant tech-BS, Mike — should’ve gone with math. And then puzzleCompressor clicked in my still-awake brain.

I jumped out of bed. Ran the tests overnight, just like Richard. And… VOILA. It’s real. And, much like middle-out, it shines on some files.

So both Mikes — and Ana — left their fingerprints on this. I named it MIKE. I’m not German, and English spells it compressor with a C, but Kompression with a K made the homage too good to ignore.

MIKE is born.

I dedicate this work to my beautiful family, but also, particularly to:
— my son Miguel (Mike), who needs to love maths a little more, like dad;
— my wife Ana, for being my babysitter (she’s way better than Tara, Gilfoyle);
— Mike Judge, John Altschuler, Dave Krinsky and Alec Berg for the inspired and inspiring work;
— Thomas Middleditch, for his brilliant performance and inspiring relentlessness as Richard Hendricks;
— and the brilliant Martin Starr, whose Gilfoyle gave screen life to about 90% of me — although, Martin, I think Gilfoyle would like the Newton page on this same site better… still.