3 ms·
btrfs has had support for changing the compression level for some years. I've been using zstd:2 (the default is 3), it compresses my data close to what zlib do
by 5e92cb50239222b 4y ago
btrfs has had support for changing the compression level for some years.
I've been using zstd:2 (the default is 3), it compresses my data close to what zlib does while being pretty light on CPU.
https://docs.google.com/spreadsheets/d/1x9-3OQF4ev1fOCrYuYWt1QmxYRmPilw_nLik5H_2_qA/edit?usp=sharing https://docs.google.com/spreadsheets/d/1x9-3OQF4ev1fOCrYuYWt... (not mine)
https://linuxreviews.org/Comparison_of_Compression_Algorithms https://linuxreviews.org/Comparison_of_Compression_Algorithm...
Also note that btrfs compression works on 128 KiB chunks and if you work with small files a lot (frontend work, etc), it may actually increase your SSD wear. I've seen this in practice.