Please note: Oracle does not implement the same version of ZFS as everyone else does. Sun chose the OpenZFS project as the steward of ZFS, and Oracle chose to never integrate OpenZFS upstream into their version of Solaris (which it itself is also an incompatible fork of the actual Solaris steward project, Illumos née OpenSolaris).<p>Since OpenZFS already implements LZ4 compression (and has so for quite some time), this is yet another feature that, once enabled, will stop you from importing your incompatible pool into anything that actually implements ZFS.
This really is too brief a study (although it's obviously fine for someone to write a quick blog-post about whatever they want).<p>Most importantly, how fast is the disk? I suspect (but would benchmark if I really needed to know) that the effects of compressions will be greatly different on an older 7,200 rpm spinning disk, vs a modern SSD.
Most people say lz4+ZFS is a net win and you should usually enable it by default.<p>The big "gap" is probably between lz4 and gzip. e.g., for compressing logs, where gzip compresses a <i>lot</i> more but is terribly slow.<p>I hope zstd could be used for this case someday:
<a href="http://facebook.github.io/zstd/" rel="nofollow">http://facebook.github.io/zstd/</a>
It must be fine on a small test system, with CPU idling, etc.<p>I've worked with a few "ZFS appliances" from Sun (256-512TB range, NFS/iSCSI shares, 1-2k clients) and would never enable any advanced features on those (compression, dedup, etc). They were awfully unstable when we did that.<p>Granted, that was 5 years ago but I don't see any indication this technology has evolved significantly with all the drama surrounding Oracle, licensing, forks, etc. Just not worth the trouble these days, IMHO.