ZFS default compression algo for contemporary FreeBSD versions

Peter Jeremy peter at rulingia.com
Fri Jul 12 09:33:39 UTC 2013


On 2013-Jul-04 16:21:37 +0300, Volodymyr Kostyrko <c.kworr at gmail.com> wrote:
>04.07.2013 15:22, Dmitry Morozovsky wrote:
>> Collegues,
>>
>> is it sane to just set 'zfs compression=on dataset' to achieve best algo on
>> fresh FreeBSD systems (-current and/or stable/9)?

You need to define what you mean by "best".  Using gzip9 generally
gives the smallest on-disk size but uses significant amounts of CPU
time at quite high priority.

> Default compression is still lzjb and 

True

>bootloader can't boot oof datasets compressed with lzjb.

What gave you that idea?  I've been booting FreeBSD off lzjb-compressed
pools for something like 5 years.  AFAIK, you can't use gzip (or you
couldn't when I last tried).

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20130712/e84ac309/attachment.sig>


More information about the freebsd-fs mailing list