News: 0001533877

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Linux Patch Posted For Syncing The Kernel Code With Zstd 1.5.7

([Linux Kernel] 4 Hours Ago Zstd 1.5.7 For The Linux Kernel)


The Zstandard (Zstd) compression code sadly hasn't been regularly synced with the latest upstream Linux kernel sources but a patch posted this evening goes ahead and syncs the in-kernel Zstd code against the Zstd 1.5.7 state.

Nick Terrell of Meta/Facebook posted the patch for importing the upstream Zstd 1.5.7 source code into the Linux kernel. Besides bringing some performance improvements and other enhancements, Intel engineers have been desiring this in-kernel update to expose the Zstd APIs to allow QAT acceleration for speeding up the LZ match finding stage of Zstd. This in turn can yield additional performance benefits on Intel QAT-enabled hardware.

Benchmarks of Btrfs compression using Zstd with this newly-updated code shows a mix of speed-ups and some regressions across a range of compression and decompression tests.

Those interested in this long overdue sync of [1]Zstd 1.5.7 -- and in turn 1.5.4 through 1.5.6 too -- for the Linux kernel can see [2]this patch on the Linux kernel mailing list. Hopefully it manages to get upstreamed in the next kernel merge window.



[1] https://www.phoronix.com/news/Zstd-Zstandard-1.5.7

[2] https://lore.kernel.org/lkml/20250313205923.4105088-2-nickrterrell@gmail.com/



phoronix

"The right of freedom of thought and of religion as guaranteed by the
Constitution against State action includes both the right to speak
freely and the right to refrain from speaking at all, except in so far
as essential operations of government may require it for the
preservation of an orderly society,---as in the case of compulsion to
give evidence in court."
-- Justice Murphy, in concurrance, West Virginia State Board of
Education v. Barnette 319 U.S. 624 No. 591