1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
|
Return-Path: <peter.tschipper@gmail.com>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
[172.17.192.35])
by mail.linuxfoundation.org (Postfix) with ESMTPS id E14BE411
for <bitcoin-dev@lists.linuxfoundation.org>;
Sun, 29 Nov 2015 05:15:33 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com
[209.85.220.47])
by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 8F729172
for <bitcoin-dev@lists.linuxfoundation.org>;
Sun, 29 Nov 2015 05:15:33 +0000 (UTC)
Received: by pacej9 with SMTP id ej9so150271789pac.2
for <bitcoin-dev@lists.linuxfoundation.org>;
Sat, 28 Nov 2015 21:15:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=subject:references:to:from:message-id:date:user-agent:mime-version
:in-reply-to:content-type;
bh=+MtC8rSDQH5vKBPnsHDsDZ+5FGqEaw6UXqN+8UpELYQ=;
b=wmVBSblDurG/DEJ6M2P/YgS+T0VxFgS24GO/T3xlA3LQBYtmvTzv0KXGRqkOHf2HMN
rjMncxlz7FWigguJ3M5cpTRdkwjtr5RYY+lsTYEgM7Yskz9Y6hkgw3EcvJVRFlZJXE0F
jWf+VIo9IjXm2EathgNHDHQrlnyZJScPbMS2Ze1kfW/NAw3I7GNnvl3knQDJ3kAJyZux
kuNoyR4ctvsq2ofzwppat/z5iHle1MKtwuXTEy9smB+NWv8qoTbwoA65xrX0oBwNTjfg
JGHr6T5IqCNjZP/WW2CLMHETyuI3A3BH3QAv23FmuKZs0zsaBylpXXa8aKNCLpcJ3zhf
IxbA==
X-Received: by 10.66.139.131 with SMTP id qy3mr71847520pab.71.1448774133302;
Sat, 28 Nov 2015 21:15:33 -0800 (PST)
Received: from [192.168.0.132] (S0106bcd165303d84.cc.shawcable.net.
[96.54.102.88]) by smtp.googlemail.com with ESMTPSA id
r20sm42983893pfa.93.2015.11.28.21.15.32
for <bitcoin-dev@lists.linuxfoundation.org>
(version=TLSv1/SSLv3 cipher=OTHER);
Sat, 28 Nov 2015 21:15:32 -0800 (PST)
References: <5640F172.3010004@gmail.com> <20151109210449.GE5886@mcelrath.org>
<CAL7-sS0Apm4O_Qi0FmY7=H580rEVD6DYjk2y+ACpZmKqUJTQwA@mail.gmail.com>
<CALOxbZtTUrZwDfy_jTbs60n=K8RKDGg5X0gkLsh-OX3ikLf1FQ@mail.gmail.com>
<CAE-z3OUB-se_HUvW2NLjWt=0d5sgMiPEciu0hLzr_HQN0m9fqQ@mail.gmail.com>
<5642172C.701@gmail.com>
<CAE-z3OXgWCHL_3CDR-ACc7ojbLi7EavyObNa3s7hPUMGj_V2+A@mail.gmail.com>
<CADm_WcYAj9_r6tu8Be-U81LDwWvnv04PZJMmc-S4cY7+jxfzGw@mail.gmail.com>
<5659BEC9.50307@gmail.com>
<725E6BCC-E839-4F91-9BCA-95D0549DC3C7@toom.im>
To: Bitcoin Dev <bitcoin-dev@lists.linuxfoundation.org>
From: Peter Tschipper <peter.tschipper@gmail.com>
Message-ID: <565A89F4.6070706@gmail.com>
Date: Sat, 28 Nov 2015 21:15:32 -0800
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101
Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <725E6BCC-E839-4F91-9BCA-95D0549DC3C7@toom.im>
Content-Type: multipart/alternative;
boundary="------------020806090405030202080405"
X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,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
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 <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Nov 2015 05:15:34 -0000
This is a multi-part message in MIME format.
--------------020806090405030202080405
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
yes, you're right, it's just the percentage compressed (size reduction)
On 28/11/2015 4:30 PM, Jonathan Toomim wrote:
> 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
> <mailto: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
>>
>>
>>
>>
>>
>>
>
--------------020806090405030202080405
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">yes, you're right, it's just the
percentage compressed (size reduction)<br>
<br>
On 28/11/2015 4:30 PM, Jonathan Toomim wrote:<br>
</div>
<blockquote cite="mid:725E6BCC-E839-4F91-9BCA-95D0549DC3C7@toom.im"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
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.
<div><br>
</div>
<div>
<div>
<div>
<div>On Nov 28, 2015, at 6:48 AM, Peter Tschipper via
bitcoin-dev <<a moz-do-not-send="true"
href="mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.linuxfoundation.org</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">The following show the
compression ratio acheived for various sizes of data.
Zlib is the clear<br>
winner for compressibility, with LZOx-999 coming close
but at a cost.<br>
<br>
<table x:str="" style="border-collapse: collapse;
width: 457pt; position: static; z-index: auto;"
border="0" width="608" cellpadding="0"
cellspacing="0">
<colgroup><col
style="mso-width-source:userset;mso-width-alt:8850;width:182pt"
width="242"> <col
style="mso-width-source:userset;mso-width-alt:2998;width:62pt"
width="82"> <col
style="mso-width-source:userset;mso-width-alt:3986;width:82pt"
width="109"> <col
style="mso-width-source:userset;mso-width-alt:4059;width:83pt"
width="111"> <col style="width:48pt" width="64">
</colgroup><tbody>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt;width:182pt"
height="17" width="242">range</td>
<td style="width:62pt" width="82">Zlib-1 cmp%<br>
</td>
<td style="width:82pt" width="109">Zlib-6 cmp%</td>
<td style="width:83pt" width="111">LZOx-1 cmp%</td>
<td style="width:48pt" width="64">LZOx-999 cmp%</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" height="17">0-250b</td>
<td class="xl22" x:num="">12.44</td>
<td class="xl22" x:num="">12.86</td>
<td class="xl22" x:num="">10.79</td>
<td class="xl22" x:num="">14.34</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" x:str="250-500b "
height="17">250-500b<span
style="mso-spacerun:yes"> </span></td>
<td class="xl22" x:num="">19.33</td>
<td class="xl22" x:num="">12.97</td>
<td class="xl22" x:num="">10.34</td>
<td class="xl22" x:num="">11.11</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" height="17"><br>
</td>
<td class="xl22" x:num=""><br>
</td>
<td class="xl22"><br>
</td>
<td class="xl22" x:num=""><br>
</td>
<td class="xl22" x:num=""><br>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
</body>
</html>
--------------020806090405030202080405--
|