From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 26DAB6C for ; Sun, 29 Nov 2015 00:30:27 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id A843912D for ; Sun, 29 Nov 2015 00:30:26 +0000 (UTC) Received: from [192.168.1.190] (63.135.62.197.nwinternet.com [63.135.62.197] (may be forged)) (authenticated bits=0) by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id tAT0UL2h014008 (version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 28 Nov 2015 16:30:23 -0800 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_06B8FA02-E4D6-4CC3-BDC8-09266F7C5BF0"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5.2 From: Jonathan Toomim In-Reply-To: <5659BEC9.50307@gmail.com> Date: Sat, 28 Nov 2015 16:30:20 -0800 Message-Id: <725E6BCC-E839-4F91-9BCA-95D0549DC3C7@toom.im> References: <5640F172.3010004@gmail.com> <20151109210449.GE5886@mcelrath.org> <5642172C.701@gmail.com> <5659BEC9.50307@gmail.com> To: Peter Tschipper X-Mailer: Apple Mail (2.1878.6) X-Sonic-CAuth: UmFuZG9tSVahrUDqVjEZbRXMUF7x1Ph/6u6oKL+NWDomj7dLGd6JB/TyGh63BHH52mp0HPRSUTA4rxCKtXnZf4yHjU951PrL X-Sonic-ID: C;BFogYDCW5RGprb0U9jFv0A== M;UsP5YDCW5RGprb0U9jFv0A== X-Sonic-Spam-Details: 0.0/5.0 by cerberusd X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Cc: bitcoin-dev@lists.linuxfoundation.org Subject: Re: [bitcoin-dev] further test results for : "Datastream Compression of Blocks and Tx's" X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Development Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2015 00:30:27 -0000 --Apple-Mail=_06B8FA02-E4D6-4CC3-BDC8-09266F7C5BF0 Content-Type: multipart/alternative; boundary="Apple-Mail=_90179429-43CE-47CB-B72A-507158C71C1D" --Apple-Mail=_90179429-43CE-47CB-B72A-507158C71C1D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii It appears you're using the term "compression ratio" to mean "size = reduction". A compression ratio is the ratio (compressed / = uncompressed). A 1 kB file compressed with a 10% compression ratio would = be 0.1 kB. It seems you're using (1 - compressed/uncompressed), meaning = that the compressed file would be 0.9 kB. On Nov 28, 2015, at 6:48 AM, Peter Tschipper via bitcoin-dev = wrote: > The following show the compression ratio acheived for various sizes of = data. Zlib is the clear > winner for compressibility, with LZOx-999 coming close but at a cost. >=20 > range Zlib-1 cmp% > Zlib-6 cmp% LZOx-1 cmp% LZOx-999 cmp% > 0-250b 12.44 12.86 10.79 14.34 > 250-500b 19.33 12.97 10.34 11.11 >=20 >=20 >=20 >=20 >=20 --Apple-Mail=_90179429-43CE-47CB-B72A-507158C71C1D Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii It appears you're using the term "compression ratio" to mean "size reduction". A compression ratio is the ratio (compressed / uncompressed). A 1 kB file compressed with a 10% compression ratio would be 0.1 kB. It seems you're using (1 - compressed/uncompressed), meaning that the compressed file would be 0.9 kB.

On Nov 28, 2015, at 6:48 AM, Peter Tschipper via bitcoin-dev <bitcoin-dev@lists.linuxfoundation.org> wrote:

The following show the compression ratio acheived for various sizes of data.  Zlib is the clear
winner for compressibility, with LZOx-999 coming close but at a cost.

range Zlib-1 cmp%
Zlib-6 cmp% LZOx-1 cmp% LZOx-999 cmp%
0-250b 12.44 12.86 10.79 14.34
250-500b  19.33 12.97 10.34 11.11






--Apple-Mail=_90179429-43CE-47CB-B72A-507158C71C1D-- --Apple-Mail=_06B8FA02-E4D6-4CC3-BDC8-09266F7C5BF0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJWWkcdAAoJEIEuMk4MG0P1/zcIAIeFO4iBOHMboLU4eOGFqXnp 56L96wxKCBxlnBexjP7woRKAWOG4jvPVCcvZXaflshh8LRw+iCsM8hBJzGDu5Cu0 B2cALM3f1W4N1ZW+OvEPR1ychpih+Kyx+TH69NOAtDwmnoADEGREFRTvl8bEZT2A sVDyMLQ/OiEm55hBzlmAXLxg6iyXWdBeFy5rx7XFwNos//3aKzooeAO+jh/RguA9 G8UeMBYnEQchBgbtOcqUNNhlVaPZMUzWkzicgEZcvNOR3TZcUxLSktcNFy+juGEL ZS/K8mKjFaVxRd34u/FU9iIWVsqN7KfANsiqOYI8MbvBVWup7/8rj5IgVxJRa2o= =g3Gu -----END PGP SIGNATURE----- --Apple-Mail=_06B8FA02-E4D6-4CC3-BDC8-09266F7C5BF0--