[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#593658: default compression=on?



On Thu, Aug 19, 2010 at 8:55 PM, Tuco <tuco.xyz@gmail.com> wrote:

> I suggest enabling compression by default when creating new ZFS filesystems.

I suggest giving the user the option during an install, if ZFS is
supported in that phase.  That has a definite benefit, as ZFS only
compresses data that makes it to disk after compression is flipped on.
 Turning on compression after an install is, at least for things like
/usr, largely pointless; eventually, as packages get updated etc, more
and more of the filesystem will become compressed, but...

Point worth noting: it's only of value if the data you have is by and
large compressable!  If you're a photographer and work with mostly RAW
and JPEGs, compression is going to be a waste of CPU cycles and maybe
(this is a wild guess) increase CPU cache misses?

It'd probably be worth talking to the ZFS developers to find out why
compression isn't enabled by default in Solaris/OpenSolaris.  They
probably had some logic behind it, and it might be relevant.

-B



Reply to: