Using stock RHEL7/EPEL packages: zstd-1.5.0-1.el7.x86_64
On an old Athlon II X4 615e right now.
The difference in our results certainly is curious.
Re:Modern LZ Compression (2019)
by lifthrasiir on Wednesday August 18, 2021 @04:31AM
(#28218844)
Very interesting. It might be the case that zstd optimizes more for recent machines; zstd famously uses four different compression streams to maximize instruction-level parallelism and that might not work well in older machines. I haven't seen any machine where zstd is significantly slower than it should, but those machines I could test came from 2013 or later. Or either the RHEL package might have been optimized for recent machines. It would be interesting to test a binary optimized for the current machine (-march=native -mtune=native).
[EDIT] Was "it doesn't make compression itself multi-threaded", which can falsely imply that --single-thread seemingly enables multi-threaded compression but it doesn't ;)