dick hoogendijk wrote:
> Vincent Fox wrote:
> 
>>> Or perhaps compression should be the default.
> 
> No way please! Things taking even more memory should never be the default.
> An installation switch would be nice though.
> Freedom of coice ;-)

Compression does not take more memory, the data is always uncompressed 
in the in kernel memory ARC anyway.  Data on the L2ARC and ZIL devices 
is always uncompressed.  Compression only impacts what is written to the 
main pool devices.

Compression will use more CPU time, how much depends on which 
compression is choosen.  Note that we already enable compression by 
default for most metadata (ZFS & POSIX layer) (using lzjb), the 
compression flag only impacts application supplied data.

However I don't think compression should be the default setting for ZFS. 
  It may however make sense for it to be explicitly set to "on" by the 
OpenSolaris installer for datasets that are root/usr/opt filesystems.

I don't want to be burning CPU cycles attempting to compress most of the 
data I store on ZFS because most of it isn't compressible (Audio, Video, 
Image files and OpenDocument files (which are in a ZIP container)).

-- 
Darren J Moffat
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to