opportunity to learn something new today
Perfect! Once I get that out of the way, I can go back to hitting things with hammers.
How well does the standalone
lz4
executable correlate to ZFS behavior?I thought these both seemed relevant:

A simple (real world) ZFS compression speed an compression ratio benchmark
Posted in r/zfs by u/Schmidsfeld • 203 points and 37 comments

OpenZFS: Understanding Transparent Compression - Klara Systems
Explore OpenZFS transparent compression in this article. Learn how it works and dive into parameters like ashift and recordsize.

This has a bunch of meaty refererences:
LZ4 vs. ZStd
I'm about to create a new pool (TrueNAS-12.0-U1). There doesn't seem to be much info about the different choices and which one to pick. The data is a mixed bag of everything. Small files, big files, source code, incompressible files, VMs, … LZ4 or ZStd? How to decide?

ZSTD Benchmarks
=lz4
achieved 98% the speed of =off
.So my thoughts are a combination of these factors -
A 2% worst-case penalty isn't significant
Any real-world mix of data will compress much more than 2%
Systems with spinning disks benefit greatly from avoiding IOPS
I would like to see a real-world example of
=off
being faster. I hypothesize that would be an unusually slow CPU, paired with disproportionally fast storage, writing incompressible data.