I tried it with btrfs and the results are all over the place. Both better and worse than ZFS.
It compressed the test db from 90GB to 5GB though. On ZFS with lz4 it was 18GB.
btrfs-zstd
done in 1085.00 s (drop tables 0.00 s, create tables 0.01 s, client-side generate 510.36 s, vacuum 234.14 s, primary keys 340.49 s).
latency average = 97.927 ms
tps = 1838.100929 (including connections establishing)
tps = 1838.104699 (excluding connections establishing)
btrfs- zstd, noatime, ssd
done in 1022.16 s (drop tables 0.00 s, create tables 0.00 s, client-side generate 473.47 s, vacuum 227.62 s, primary keys 321.07 s).
latency average = 214.155 ms
tps = 840.511215 (including connections establishing)
tps = 840.512285 (excluding connections establishing)
latency average = 191.493 ms
tps = 939.982522 (including connections establishing)
tps = 939.983717 (excluding connections establishing)
@EnjuAihara That's not how it works ![]()
It compressed a 98GB Mastodon DB to 46GB though