ZFS default compression algo for contemporary FreeBSD versions

Dmitry Morozovsky marck at rinet.ru
Thu Jul 4 15:51:54 UTC 2013


On Thu, 4 Jul 2013, Volodymyr Kostyrko 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)?
> 
> No and this is not safe AFAIK. Default compression is still lzjb and
> bootloader can't boot oof datasets compressed with lzjb. However on stable/9
> you can simply set zfs compression=lz4 pool and everything would work fine if
> you updated the boot loader.

I did not intend to compress root/boot datasets (and there is no much sense in 
this AFAICS); 

the second (and actually more important) my question is -- is lz4 in general 
better than lzjb?


-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-fs mailing list