Date: Mon, 27 Aug 2012 19:48:25 -0400 From: Glen Barber <gjb@FreeBSD.org> To: "Robison, Dave" <david.robison@fisglobal.com> Cc: freebsd-fs@freebsd.org Subject: Re: ZFS compression doesn't work Message-ID: <20120827234825.GN1435@glenbarber.us> In-Reply-To: <503BF387.2080309@fisglobal.com> References: <DUB109-W131518687202B07CBB6F022C4A20@phx.gbl> <20120827221528.GA69174@server.rulingia.com> <503BF387.2080309@fisglobal.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Mon, Aug 27, 2012 at 03:24:07PM -0700, Robison, Dave wrote: > On 08/27/2012 15:15, Peter Jeremy wrote: > > On 2012-Aug-27 23:51:06 +0200, antonin tessier <antonintessier@live.fr> wrote: > >> I am trying to understand and use ZFS features. My issue is that compression doesn't work, > > Not sure what "compression=gzip" will give you. I believe you might be > safer using "compression=gzip-6" or whichever value you want to use. > gzip9 will be pretty slow if that's the default for "gzip". > zfs(8) states: compression=on | off | lzjb | gzip | gzip-N | zle [...] You can specify the gzip level by using the value gzip-N where N is an integer from 1 (fastest) to 9 (best compression ratio). Currently, gzip is equivalent to gzip-6 (which is also the default for gzip(1)). > I use lzjb because there isn't much advantage to gzip, at least in my > experience, and lzjb is fast. I did some testing and didn't find a big > space savings with gzip-6 or gzip-9. > gzip-9 will gain you almost no additional compression over gzip-6, and will certainly cost more CPU cycles. See gzip(1). Glen [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBCAAGBQJQPAdJAAoJEFJPDDeguUajhz0IALONOB87xeUHAf81oC6f78PK ceSPkPfesgF6Igs3B+U666DonAcPhktXAWILxmhZFGoywYw9fSIN6yJnKhfW/lqk bqIK54z64W2TaYusSl4wjwgJpjuKQP5Ex9YatIW+S/8DbnTj5Bp3Zu4HATfWVrbV gUQoXCiLcqORCsUxFn31RW4QFw18Sf0PGqjO3kNF62SQjZLDQp5SIP3n0wrXH4C6 LSm91ulEpuxANeOIAAdRrwLiWKQD4AeASKfqtkVZKYr6S5P/W/fOIaUnm6tqu/CR 5B67OHl9g7tdblIWsND3J44j1t+ikUszhsbE/OEmifTdmHm/STmXMdfnxLisblM= =KCrw -----END PGP SIGNATURE-----help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120827234825.GN1435>
