From owner-freebsd-doc@FreeBSD.ORG Fri May 23 15:10:01 2014 Return-Path: Delivered-To: freebsd-doc@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 71460F9B for ; Fri, 23 May 2014 15:10:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5F1672653 for ; Fri, 23 May 2014 15:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4NFA1MB085013 for ; Fri, 23 May 2014 15:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4NFA1xZ085012; Fri, 23 May 2014 15:10:01 GMT (envelope-from gnats) Date: Fri, 23 May 2014 15:10:01 GMT Message-Id: <201405231510.s4NFA1xZ085012@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org Cc: From: Allan Jude Subject: Re: docs/139336: [request] ZFS documentation suggestion Reply-To: Allan Jude X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2014 15:10:01 -0000 The following reply was made to PR docs/139336; it has been noted by GNATS. From: Allan Jude To: bug-followup@FreeBSD.org, zdbs@lif.de Cc: Subject: Re: docs/139336: [request] ZFS documentation suggestion Date: Fri, 23 May 2014 11:05:01 -0400 ZFS compression is completely transparent, so the OS and applications running on top of it are unaware of it. It is safe to compress any files on your system. With the new LZ4 option in ZFS v5000 (FreeBSD 9.2, 8.4 and 10.0 or later), the overhead of the compression is much smaller. In addition to being able to compress at 500mb/s/core and decompress at 1500mb/s/core on a low end i3 laptop processor, LZ4 also has an 'early abort' feature, where if the compression ratio of the block is less than 12.5% after the first ms of attempting to compress it, it aborts and writes the block uncompressed. This means it will not waste a lot of CPU time trying to compress already compressed files like .tar.gz or .mp3 This is documented here: http://www.allanjude.com/zfs_handbook/zfs-term.html#zfs-term-compression And should be committed to the handbook shortly. -- Allan Jude