On 4/7/2022 7:25 AM, mike tancsa wrote:
On 4/7/2022 4:59 AM, [email protected] wrote:
Hi Mike!
Thanks a lot for your comment. I see. As said before, we didn't
really enable compression because we just keep the config as FreeBSD
leaves by default. Apart from that, having tons of disk space and
well... for avoiding the load of compress/decompress... The main
reason was it was not enabled by default really and not to have seen
a real reason for it.... was not more than that....I appreciate your
comments really :)
Think of the extreme case where you do something like
dd if=/dev/zero of=/tank/junk.bin bs=1m count=10000
as this is a 20G file that takes just a few hundred bytes of write IO
on a compressed system. Obviously, as the compress ratio reduces in
the real world the benefits become less. Where that diminishing
return is, not sure. But something to keep in mind
You might also want to have a look at this article which I found quite
helpful
https://klarasystems.com/articles/openzfs1-understanding-transparent-compression/
---Mike