Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 2013 20:05:43 +0400 (MSK)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        freebsd-fs@freebsd.org, avg@freebsd.org
Subject:   Re: ZFS default compression algo for contemporary FreeBSD versions
Message-ID:  <alpine.BSF.2.00.1307042005120.2446@woozle.rinet.ru>
In-Reply-To: <51D59B6C.5030600@gmail.com>
References:  <alpine.BSF.2.00.1307041620420.2446@woozle.rinet.ru> <51D576E1.6030803@gmail.com> <alpine.BSF.2.00.1307041950400.2446@woozle.rinet.ru> <51D59B6C.5030600@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 4 Jul 2013, Volodymyr Kostyrko wrote:

> > > > 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?
> 
> Yes. Much better in terms of speed.

Then, next logical step semms to me is to make lz4 the default ;-P


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1307042005120.2446>