From owner-freebsd-fs@FreeBSD.ORG Mon Aug 27 23:48:32 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 52ED0106566C; Mon, 27 Aug 2012 23:48:32 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from onyx.glenbarber.us (onyx.glenbarber.us [IPv6:2607:fc50:1000:c200::face]) by mx1.freebsd.org (Postfix) with ESMTP id 1F3328FC12; Mon, 27 Aug 2012 23:48:32 +0000 (UTC) Received: from glenbarber.us (unknown [IPv6:2001:470:8:1205:2:2:0:100]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: gjb) by onyx.glenbarber.us (Postfix) with ESMTPSA id B319C23F645; Mon, 27 Aug 2012 19:48:29 -0400 (EDT) Date: Mon, 27 Aug 2012 19:48:25 -0400 From: Glen Barber To: "Robison, Dave" Message-ID: <20120827234825.GN1435@glenbarber.us> References: <20120827221528.GA69174@server.rulingia.com> <503BF387.2080309@fisglobal.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="T4IYkFBVPN84tP7K" Content-Disposition: inline In-Reply-To: <503BF387.2080309@fisglobal.com> X-Operating-System: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-fs@freebsd.org Subject: Re: ZFS compression doesn't work X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2012 23:48:32 -0000 --T4IYkFBVPN84tP7K Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 = wrote: > >> I am trying to understand and use ZFS features. My issue is that compr= ession doesn't work, >=20 > Not sure what "compression=3Dgzip" will give you. I believe you might be > safer using "compression=3Dgzip-6" or whichever value you want to use. > gzip9 will be pretty slow if that's the default for "gzip". >=20 zfs(8) states: compression=3Don | 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. >=20 gzip-9 will gain you almost no additional compression over gzip-6, and will certainly cost more CPU cycles. See gzip(1). Glen --T4IYkFBVPN84tP7K Content-Type: application/pgp-signature -----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----- --T4IYkFBVPN84tP7K--