News for hackers. Stuff that matters.
Re:Improving compression at scale with Zstandard by megous on Wednesday December 19, 2018 @04:46PM (#18720037)
Rather simple. For example here's my port of qemu to use zstd compression algorithm for QCOW2 images, instead of zlib:

https://megous.com/git/qemu-zstd/commit/?id=45df9c0510e737e6...

Re:Improving compression at scale with Zstandard by kstrauser on Wednesday December 19, 2018 @07:43PM (#18721490)
Awesome! What kind of metrics differences have you seen from the change?
Re:Improving compression at scale with Zstandard by megous on Wednesday December 19, 2018 @08:38PM (#18721806)
Much faster and/or better compression/decompression of images (tunable of course, depending on what level you set in the code), and also faster startup of VMs. I haven't measured exactly. I'd guess ~30% in my case.

But all this depends on where the bottleneck is in any particular case. My VMs are on HDD, so increased decompression speed doesn't matter that much, but reduced size helps reading the necessary data faster. Linux VMs seem to be more compressible than Windows ones.

It's certainly better than zlib in any case.