Fwupd Switches From XZ To Zstd Compression: More Trust & Slightly Better Performance
![LVFS](/assets/categories/lvfs.webp)
Fwupd has relied on XZ for compressing its large XML payload for speeding up network downloads and conserving CDN resources. XZ allowed for better compression than Gzip previously used. But out of an abundance of caution given concerns over the XZ project, Richard Hughes has now moved over to using Zstd instead.
Not only is Zstd more trustworthy but it ended up yielding compressed metadata around 3% smaller than XZ and is faster at decompressing the data too.
This change will go into the Fwupd release due out next week. More details on Fwupd moving from XZ to Zstd via this blog post.
49 Comments