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
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
|
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 A9170307
for <bitcoin-dev@lists.linuxfoundation.org>;
Sat, 28 Nov 2015 21:41:52 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-pa0-f67.google.com (mail-pa0-f67.google.com
[209.85.220.67])
by smtp1.linuxfoundation.org (Postfix) with ESMTPS id CA09889
for <bitcoin-dev@lists.linuxfoundation.org>;
Sat, 28 Nov 2015 21:41:51 +0000 (UTC)
Received: by pagj16 with SMTP id j16so19548103pag.0
for <bitcoin-dev@lists.linuxfoundation.org>;
Sat, 28 Nov 2015 13:41:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=to:from:subject:message-id:date:user-agent:mime-version
:content-type; bh=jvTsddHLVqw8Am4l9uJZpy+iW1NcCe7sMLHKcKofpMU=;
b=AsmRlxwr7l9RLjsTkoetDYLSQbZbpH6iz3gGXAY+ZhKWUUlnQb+/6yvuaoWRoXrP+N
ljWI5v+MxHh8nmwQIwNAvhbLSyI2EWZb5OzDuJ9oGW4Sl+o5VWlrwv0QLOoPlZDg41/S
FGmIO/RujRs58U5otXu52ZqCLe0Gc7lUcU4BZTA6V1tlZ/03t9QvIq5Y/CfBrMQzqpqQ
eoPMRIpnMEm3HVd3JM7Kk2rl34X7O7loOcBsUdkFIl5wvKw/Kbb0bnSO0iGNcKokvRrX
GepiIevj34eNrEnAu4e700rR9PXxUcvOIW74Kef7yomcklA7RZS+ms37cNRmiGytIsYP
KKTw==
X-Received: by 10.98.14.129 with SMTP id 1mr58949392pfo.161.1448746911360;
Sat, 28 Nov 2015 13:41:51 -0800 (PST)
Received: from [192.168.0.132] (S0106bcd165303d84.cc.shawcable.net.
[96.54.102.88]) by smtp.googlemail.com with ESMTPSA id
cc16sm42538835pac.44.2015.11.28.13.41.49
for <bitcoin-dev@lists.linuxfoundation.org>
(version=TLSv1/SSLv3 cipher=OTHER);
Sat, 28 Nov 2015 13:41:50 -0800 (PST)
To: Bitcoin Dev <bitcoin-dev@lists.linuxfoundation.org>
From: Peter Tschipper <peter.tschipper@gmail.com>
Message-ID: <565A1F9F.1090005@gmail.com>
Date: Sat, 28 Nov 2015 13:41:51 -0800
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101
Thunderbird/38.3.0
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="------------090109010204020207060709"
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: [bitcoin-dev] Test Results for : Datasstream 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: Sat, 28 Nov 2015 21:41:52 -0000
This is a multi-part message in MIME format.
--------------090109010204020207060709
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Hi All,
Here are some final results of testing with the reference implementation
for compressing blocks and transactions. This implementation also
concatenates blocks and transactions when possible so you'll see data
sizes in the 1-2MB ranges.
Results below show the time it takes to sync the first part of the
blockchain, comparing Zlib to the LZOx library. (LZOf was also tried
but wasn't found to be as good as LZOx). The following shows tests run
with and without latency. With latency on the network, all compression
libraries performed much better than without compression.
I don't think it's entirely obvious which is better, Zlib or LZO.
Although I prefer the higher compression of Zlib, overall I would have
to give the edge to LZO. With LZO we have the fastest most scalable
option when at the lowest compression setting which will be a boost in
performance for users that want peformance over compression, and then at
the high end LZO provides decent compression which approaches Zlib,
(although at a higher cost) but good for those that want to save more
bandwidth.
Uncompressed 60ms Zlib-1 (60ms) Zlib-6 (60ms) LZOx-1 (60ms) LZOx-999
(60ms)
219 299 296 294 291
432 568 565 558 548
652 835 836 819 811
866 1106 1107 1081 1071
1082 1372 1381 1341 1333
1309 1644 1654 1605 1600
1535 1917 1936 1873 1875
1762 2191 2210 2141 2141
1992 2463 2486 2411 2411
2257 2748 2780 2694 2697
2627 3034 3076 2970 2983
3226 3416 3397 3266 3302
4010 3983 3773 3625 3703
4914 4503 4292 4127 4287
5806 4928 4719 4529 4821
6674 5249 5164 4840 5314
7563 5603 5669 5289 6002
8477 6054 6268 5858 6638
9843 7085 7278 6868 7679
11338 8215 8433 8044 8795
These results from testing on a highspeed wireless LAN (very small latency)
Results in seconds
Num blocks sync'd Uncompressed Zlib-1 Zlib-6 LZOx-1 LZOx-999
10000 255 232 233 231 257
20000 464 414 420 407 453
30000 677 594 611 585 650
40000 887 782 795 760 849
50000 1099 961 977 933 1048
60000 1310 1145 1167 1110 1259
70000 1512 1330 1362 1291 1470
80000 1714 1519 1552 1469 1679
90000 1917 1707 1747 1650 1882
100000 2122 1905 1950 1843 2111
110000 2333 2107 2151 2038 2329
120000 2560 2333 2376 2256 2580
130000 2835 2656 2679 2558 2921
140000 3274 3259 3161 3051 3466
150000 3662 3793 3547 3440 3919
160000 4040 4172 3937 3767 4416
170000 4425 4625 4379 4215 4958
180000 4860 5149 4895 4781 5560
190000 5855 6160 5898 5805 6557
200000 7004 7234 7051 6983 7770
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
600-700 16.72 n/a 12.91 17.25
700-800 6.37 7.65 4.83 8.07
900-1KB 6.54 6.95 5.64 7.9
1KB-10KB 25.08 25.65 21.21 22.65
10KB-100KB 19.77 21.57 14.37 19.02
100KB-200KB 21.49 23.56 15.37 21.55
200KB-300KB 23.66 24.18 16.91 22.76
300KB-400KB 23.4 23.7 16.5 21.38
400KB-500KB 24.6 24.85 17.56 22.43
500KB-600KB 25.51 26.55 18.51 23.4
600KB-700KB 27.25 28.41 19.91 25.46
700KB-800KB 27.58 29.18 20.26 27.17
800KB-900KB 27 29.11 20 27.4
900KB-1MB 28.19 29.38 21.15 26.43
1MB -2MB 27.41 29.46 21.33 27.73
The following shows the time in seconds to compress data of various
sizes. LZO1x is the
fastest and as file sizes increase, LZO1x time hardly increases at all.
It's interesing
to note as compression ratios increase LZOx-999 performs much worse than
Zlib. So LZO is faster
on the low end and slower (5 to 6 times slower) on the high end.
range Zlib-1 Zlib-6 LZOx-1 LZOx-999 cmp%
0-250b 0.001 0 0 0
250-500b 0 0 0 0.001
500-1KB 0 0 0 0.001
1KB-10KB 0.001 0.001 0 0.002
10KB-100KB 0.004 0.006 0.001 0.017
100KB-200KB 0.012 0.017 0.002 0.054
200KB-300KB 0.018 0.024 0.003 0.087
300KB-400KB 0.022 0.03 0.003 0.121
400KB-500KB 0.027 0.037 0.004 0.151
500KB-600KB 0.031 0.044 0.004 0.184
600KB-700KB 0.035 0.051 0.006 0.211
700KB-800KB 0.039 0.057 0.006 0.243
800KB-900KB 0.045 0.064 0.006 0.27
900KB-1MB 0.049 0.072 0.006 0.307
--------------090109010204020207060709
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi All,<br>
<br>
Here are some final results of testing with the reference
implementation for compressing blocks and transactions. This
implementation also concatenates blocks and transactions when
possible so you'll see data sizes in the 1-2MB ranges.<br>
<br>
Results below show the time it takes to sync the first part of the
blockchain, comparing Zlib to the LZOx library. (LZOf was also
tried but wasn't found to be as good as LZOx). The following
shows tests run with and without latency. With latency on the
network, all compression libraries performed much better than
without compression.<br>
<br>
I don't think it's entirely obvious which is better, Zlib or LZO.
Although I prefer the higher compression of Zlib, overall I would
have to give the edge to LZO. With LZO we have the fastest most
scalable option when at the lowest compression setting which will
be a boost in performance for users that want peformance over
compression, and then at the high end LZO provides decent
compression which approaches Zlib, (although at a higher cost) but
good for those that want to save more bandwidth.<br>
<br>
<table x:str="" style="border-collapse: collapse;width:403pt"
border="0" width="536" cellpadding="0" cellspacing="0">
<colgroup><col
style="mso-width-source:userset;mso-width-alt:4717;width:97pt"
width="129"> <col
style="mso-width-source:userset;mso-width-alt:3437;width:71pt"
width="94"> <col
style="mso-width-source:userset;mso-width-alt:3547;width:73pt"
width="97"> <col
style="mso-width-source:userset;mso-width-alt:3693;width:76pt"
width="101"> <col
style="mso-width-source:userset;mso-width-alt:4205;width:86pt"
width="115"> </colgroup><tbody>
<tr style="mso-height-source:userset;height:15.75pt"
height="21">
<td style="height:15.75pt;width:97pt" height="21"
width="129">Uncompressed 60ms</td>
<td style="width:71pt" width="94">Zlib-1 (60ms)</td>
<td style="width:73pt" width="97">Zlib-6 (60ms)</td>
<td style="width:76pt" width="101">LZOx-1 (60ms)</td>
<td style="width:86pt" width="115">LZOx-999 (60ms)</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">219</td>
<td class="xl24" x:num="">299</td>
<td class="xl24" x:num="">296</td>
<td class="xl24" x:num="">294</td>
<td class="xl24" x:num="">291</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">432</td>
<td class="xl24" x:num="">568</td>
<td class="xl24" x:num="">565</td>
<td class="xl24" x:num="">558</td>
<td class="xl24" x:num="">548</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">652</td>
<td class="xl24" x:num="">835</td>
<td class="xl24" x:num="">836</td>
<td class="xl24" x:num="">819</td>
<td class="xl24" x:num="">811</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">866</td>
<td class="xl24" x:num="">1106</td>
<td class="xl24" x:num="">1107</td>
<td class="xl24" x:num="">1081</td>
<td class="xl24" x:num="">1071</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">1082</td>
<td class="xl24" x:num="">1372</td>
<td class="xl24" x:num="">1381</td>
<td class="xl24" x:num="">1341</td>
<td class="xl24" x:num="">1333</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">1309</td>
<td class="xl24" x:num="">1644</td>
<td class="xl24" x:num="">1654</td>
<td class="xl24" x:num="">1605</td>
<td class="xl24" x:num="">1600</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">1535</td>
<td class="xl24" x:num="">1917</td>
<td class="xl24" x:num="">1936</td>
<td class="xl24" x:num="">1873</td>
<td class="xl24" x:num="">1875</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">1762</td>
<td class="xl24" x:num="">2191</td>
<td class="xl24" x:num="">2210</td>
<td class="xl24" x:num="">2141</td>
<td class="xl24" x:num="">2141</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">1992</td>
<td class="xl24" x:num="">2463</td>
<td class="xl24" x:num="">2486</td>
<td class="xl24" x:num="">2411</td>
<td class="xl24" x:num="">2411</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">2257</td>
<td class="xl24" x:num="">2748</td>
<td class="xl24" x:num="">2780</td>
<td class="xl24" x:num="">2694</td>
<td class="xl24" x:num="">2697</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">2627</td>
<td class="xl24" x:num="">3034</td>
<td class="xl24" x:num="">3076</td>
<td class="xl24" x:num="">2970</td>
<td class="xl24" x:num="">2983</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">3226</td>
<td class="xl24" x:num="">3416</td>
<td class="xl24" x:num="">3397</td>
<td class="xl24" x:num="">3266</td>
<td class="xl24" x:num="">3302</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">4010</td>
<td class="xl24" x:num="">3983</td>
<td class="xl24" x:num="">3773</td>
<td class="xl24" x:num="">3625</td>
<td class="xl24" x:num="">3703</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">4914</td>
<td class="xl24" x:num="">4503</td>
<td class="xl24" x:num="">4292</td>
<td class="xl24" x:num="">4127</td>
<td class="xl24" x:num="">4287</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">5806</td>
<td class="xl24" x:num="">4928</td>
<td class="xl24" x:num="">4719</td>
<td class="xl24" x:num="">4529</td>
<td class="xl24" x:num="">4821</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">6674</td>
<td class="xl24" x:num="">5249</td>
<td class="xl24" x:num="">5164</td>
<td class="xl24" x:num="">4840</td>
<td class="xl24" x:num="">5314</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">7563</td>
<td class="xl24" x:num="">5603</td>
<td class="xl24" x:num="">5669</td>
<td class="xl24" x:num="">5289</td>
<td class="xl24" x:num="">6002</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">8477</td>
<td class="xl24" x:num="">6054</td>
<td class="xl24" x:num="">6268</td>
<td class="xl24" x:num="">5858</td>
<td class="xl24" x:num="">6638</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">9843</td>
<td class="xl24" x:num="">7085</td>
<td class="xl24" x:num="">7278</td>
<td class="xl24" x:num="">6868</td>
<td class="xl24" x:num="">7679</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">11338</td>
<td class="xl24" x:num="">8215</td>
<td class="xl24" x:num="">8433</td>
<td class="xl24" x:num="">8044</td>
<td class="xl24" x:num="">8795</td>
</tr>
</tbody>
</table>
<br>
<br>
These results from testing on a highspeed wireless LAN (very small
latency)<br>
<br>
<table x:str="" style="border-collapse: collapse;width:405pt"
border="0" width="540" cellpadding="0" cellspacing="0">
<colgroup><col
style="mso-width-source:userset;mso-width-alt:4498;
width:92pt" span="2" width="123"> <col
style="mso-width-source:userset;mso-width-alt:2560;width:53pt"
width="70"> <col
style="mso-width-source:userset;mso-width-alt:2669;width:55pt"
width="73"> <col
style="mso-width-source:userset;mso-width-alt:2596;width:53pt"
width="71"> <col
style="mso-width-source:userset;mso-width-alt:2925;width:60pt"
width="80"> </colgroup><tbody>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt;width:92pt" height="17"
width="123">Results in seconds</td>
<td style="width:92pt" width="123"><br>
</td>
<td style="width:53pt" width="70"><br>
</td>
<td style="width:55pt" width="73"><br>
</td>
<td style="width:53pt" width="71"><br>
</td>
<td style="width:60pt" width="80"><br>
</td>
</tr>
<tr style="mso-height-source:userset;height:15.75pt"
height="21">
<td style="height:15.75pt" height="21">Num blocks sync'd</td>
<td>Uncompressed</td>
<td>Zlib-1</td>
<td>Zlib-6</td>
<td>LZOx-1</td>
<td>LZOx-999</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">10000</td>
<td class="xl24" x:num="">255</td>
<td class="xl24" x:num="">232</td>
<td class="xl24" x:num="">233</td>
<td class="xl24" x:num="">231</td>
<td class="xl24" x:num="">257</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">20000</td>
<td class="xl24" x:num="">464</td>
<td class="xl24" x:num="">414</td>
<td class="xl24" x:num="">420</td>
<td class="xl24" x:num="">407</td>
<td class="xl24" x:num="">453</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">30000</td>
<td class="xl24" x:num="">677</td>
<td class="xl24" x:num="">594</td>
<td class="xl24" x:num="">611</td>
<td class="xl24" x:num="">585</td>
<td class="xl24" x:num="">650</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">40000</td>
<td class="xl24" x:num="">887</td>
<td class="xl24" x:num="">782</td>
<td class="xl24" x:num="">795</td>
<td class="xl24" x:num="">760</td>
<td class="xl24" x:num="">849</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">50000</td>
<td class="xl24" x:num="">1099</td>
<td class="xl24" x:num="">961</td>
<td class="xl24" x:num="">977</td>
<td class="xl24" x:num="">933</td>
<td class="xl24" x:num="">1048</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">60000</td>
<td class="xl24" x:num="">1310</td>
<td class="xl24" x:num="">1145</td>
<td class="xl24" x:num="">1167</td>
<td class="xl24" x:num="">1110</td>
<td class="xl24" x:num="">1259</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">70000</td>
<td class="xl24" x:num="">1512</td>
<td class="xl24" x:num="">1330</td>
<td class="xl24" x:num="">1362</td>
<td class="xl24" x:num="">1291</td>
<td class="xl24" x:num="">1470</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">80000</td>
<td class="xl24" x:num="">1714</td>
<td class="xl24" x:num="">1519</td>
<td class="xl24" x:num="">1552</td>
<td class="xl24" x:num="">1469</td>
<td class="xl24" x:num="">1679</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">90000</td>
<td class="xl24" x:num="">1917</td>
<td class="xl24" x:num="">1707</td>
<td class="xl24" x:num="">1747</td>
<td class="xl24" x:num="">1650</td>
<td class="xl24" x:num="">1882</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">100000</td>
<td class="xl24" x:num="">2122</td>
<td class="xl24" x:num="">1905</td>
<td class="xl24" x:num="">1950</td>
<td class="xl24" x:num="">1843</td>
<td class="xl24" x:num="">2111</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">110000</td>
<td class="xl24" x:num="">2333</td>
<td class="xl24" x:num="">2107</td>
<td class="xl24" x:num="">2151</td>
<td class="xl24" x:num="">2038</td>
<td class="xl24" x:num="">2329</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">120000</td>
<td class="xl24" x:num="">2560</td>
<td class="xl24" x:num="">2333</td>
<td class="xl24" x:num="">2376</td>
<td class="xl24" x:num="">2256</td>
<td class="xl24" x:num="">2580</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">130000</td>
<td class="xl24" x:num="">2835</td>
<td class="xl24" x:num="">2656</td>
<td class="xl24" x:num="">2679</td>
<td class="xl24" x:num="">2558</td>
<td class="xl24" x:num="">2921</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">140000</td>
<td class="xl24" x:num="">3274</td>
<td class="xl24" x:num="">3259</td>
<td class="xl24" x:num="">3161</td>
<td class="xl24" x:num="">3051</td>
<td class="xl24" x:num="">3466</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">150000</td>
<td class="xl24" x:num="">3662</td>
<td class="xl24" x:num="">3793</td>
<td class="xl24" x:num="">3547</td>
<td class="xl24" x:num="">3440</td>
<td class="xl24" x:num="">3919</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">160000</td>
<td class="xl24" x:num="">4040</td>
<td class="xl24" x:num="">4172</td>
<td class="xl24" x:num="">3937</td>
<td class="xl24" x:num="">3767</td>
<td class="xl24" x:num="">4416</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">170000</td>
<td class="xl24" x:num="">4425</td>
<td class="xl24" x:num="">4625</td>
<td class="xl24" x:num="">4379</td>
<td class="xl24" x:num="">4215</td>
<td class="xl24" x:num="">4958</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">180000</td>
<td class="xl24" x:num="">4860</td>
<td class="xl24" x:num="">5149</td>
<td class="xl24" x:num="">4895</td>
<td class="xl24" x:num="">4781</td>
<td class="xl24" x:num="">5560</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">190000</td>
<td class="xl24" x:num="">5855</td>
<td class="xl24" x:num="">6160</td>
<td class="xl24" x:num="">5898</td>
<td class="xl24" x:num="">5805</td>
<td class="xl24" x:num="">6557</td>
</tr>
<tr style="height:12.75pt" height="17">
<td class="xl24" style="height:12.75pt" x:num="" height="17">200000</td>
<td class="xl24" x:num="">7004</td>
<td class="xl24" x:num="">7234</td>
<td class="xl24" x:num="">7051</td>
<td class="xl24" x:num="">6983</td>
<td class="xl24" x:num="">7770</td>
</tr>
</tbody>
</table>
<br>
<br>
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"
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">600-700</td>
<td class="xl22" x:num="">16.72</td>
<td class="xl22">n/a</td>
<td class="xl22" x:num="">12.91</td>
<td class="xl22" x:num="">17.25</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" height="17">700-800</td>
<td class="xl22" x:num="">6.37</td>
<td class="xl22" x:num="">7.65</td>
<td class="xl22" x:num="">4.83</td>
<td class="xl22" x:num="">8.07</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" height="17">900-1KB</td>
<td class="xl22" x:num="">6.54</td>
<td class="xl22" x:num="">6.95</td>
<td class="xl22" x:num="">5.64</td>
<td class="xl22" x:num="">7.9</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" height="17">1KB-10KB</td>
<td class="xl22" x:num="">25.08</td>
<td class="xl22" x:num="">25.65</td>
<td class="xl22" x:num="">21.21</td>
<td class="xl22" x:num="">22.65</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" height="17">10KB-100KB</td>
<td class="xl22" x:num="">19.77</td>
<td class="xl22" x:num="">21.57</td>
<td class="xl22" x:num="">14.37</td>
<td class="xl22" x:num="">19.02</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" height="17">100KB-200KB</td>
<td class="xl22" x:num="">21.49</td>
<td class="xl22" x:num="">23.56</td>
<td class="xl22" x:num="">15.37</td>
<td class="xl22" x:num="">21.55</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" height="17">200KB-300KB</td>
<td class="xl22" x:num="">23.66</td>
<td class="xl22" x:num="">24.18</td>
<td class="xl22" x:num="">16.91</td>
<td class="xl22" x:num="">22.76</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" height="17">300KB-400KB</td>
<td class="xl22" x:num="">23.4</td>
<td class="xl22" x:num="">23.7</td>
<td class="xl22" x:num="">16.5</td>
<td class="xl22" x:num="">21.38</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" height="17">400KB-500KB</td>
<td class="xl22" x:num="">24.6</td>
<td class="xl22" x:num="">24.85</td>
<td class="xl22" x:num="">17.56</td>
<td class="xl22" x:num="">22.43</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" height="17">500KB-600KB</td>
<td class="xl22" x:num="">25.51</td>
<td class="xl22" x:num="">26.55</td>
<td class="xl22" x:num="">18.51</td>
<td class="xl22" x:num="">23.4</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" height="17">600KB-700KB</td>
<td class="xl22" x:num="">27.25</td>
<td class="xl22" x:num="">28.41</td>
<td class="xl22" x:num="">19.91</td>
<td class="xl22" x:num="">25.46</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" height="17">700KB-800KB</td>
<td class="xl22" x:num="">27.58</td>
<td class="xl22" x:num="">29.18</td>
<td class="xl22" x:num="">20.26</td>
<td class="xl22" x:num="">27.17</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" height="17">800KB-900KB</td>
<td class="xl22" x:num="">27</td>
<td class="xl22" x:num="">29.11</td>
<td class="xl22" x:num="">20</td>
<td class="xl22" x:num="">27.4</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" height="17">900KB-1MB</td>
<td class="xl22" x:num="">28.19</td>
<td class="xl22" x:num="">29.38</td>
<td class="xl22" x:num="">21.15</td>
<td class="xl22" x:num="">26.43</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" height="17">1MB -2MB</td>
<td class="xl22" x:num="">27.41</td>
<td class="xl22" x:num="">29.46</td>
<td class="xl22" x:num="">21.33</td>
<td class="xl22" x:num="">27.73</td>
</tr>
</tbody>
</table>
<br>
The following shows the time in seconds to compress data of
various sizes. LZO1x is the<br>
fastest and as file sizes increase, LZO1x time hardly increases at
all. It's interesing<br>
to note as compression ratios increase LZOx-999 performs much
worse than Zlib. So LZO is faster<br>
on the low end and slower (5 to 6 times slower) on the high end.<br>
<br>
<table x:str="" style="border-collapse: collapse;width:457pt"
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</td>
<td style="width:82pt" width="109">Zlib-6</td>
<td style="width:83pt" width="111">LZOx-1</td>
<td style="width:48pt" width="64">LZOx-999 cmp%</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" x:str="0-250b " height="17">0-250b<span
style="mso-spacerun:yes"> </span></td>
<td class="xl24" x:num="1E-3">0.001</td>
<td class="xl24" x:num="">0</td>
<td class="xl24" x:num="">0</td>
<td class="xl24" x:num="">0</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="xl24" x:num="">0</td>
<td class="xl24" x:num="">0</td>
<td class="xl24" x:num="">0</td>
<td class="xl24" x:num="1E-3">0.001</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" x:str="500-1KB " height="17">500-1KB<span
style="mso-spacerun:yes"> </span></td>
<td class="xl24" x:num="">0</td>
<td class="xl24" x:num="">0</td>
<td class="xl24" x:num="">0</td>
<td class="xl24" x:num="1E-3">0.001</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" x:str="1KB-10KB " height="17">1KB-10KB<span
style="mso-spacerun:yes"> </span></td>
<td class="xl24" x:num="1E-3">0.001</td>
<td class="xl24" x:num="1E-3">0.001</td>
<td class="xl24" x:num="">0</td>
<td class="xl24" x:num="2E-3">0.002</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" x:str="10KB-100KB " height="17">10KB-100KB<span
style="mso-spacerun:yes"> </span></td>
<td class="xl24" x:num="4.0000000000000001E-3">0.004</td>
<td class="xl24" x:num="6.0000000000000001E-3">0.006</td>
<td class="xl24" x:num="1E-3">0.001</td>
<td class="xl24" x:num="1.7000000000000001E-2">0.017</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" x:str="100KB-200KB " height="17">100KB-200KB<span
style="mso-spacerun:yes"> </span></td>
<td class="xl24" x:num="1.2E-2">0.012</td>
<td class="xl24" x:num="1.7000000000000001E-2">0.017</td>
<td class="xl24" x:num="2E-3">0.002</td>
<td class="xl24" x:num="5.3999999999999999E-2">0.054</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" x:str="200KB-300KB " height="17">200KB-300KB<span
style="mso-spacerun:yes"> </span></td>
<td class="xl24" x:num="1.7999999999999999E-2">0.018</td>
<td class="xl24" x:num="2.4E-2">0.024</td>
<td class="xl24" x:num="3.0000000000000001E-3">0.003</td>
<td class="xl24" x:num="8.6999999999999994E-2">0.087</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" x:str="300KB-400KB " height="17">300KB-400KB<span
style="mso-spacerun:yes"> </span></td>
<td class="xl24" x:num="2.1999999999999999E-2">0.022</td>
<td class="xl24" x:num="">0.03</td>
<td class="xl24" x:num="3.0000000000000001E-3">0.003</td>
<td class="xl24" x:num="0.121">0.121</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" x:str="400KB-500KB " height="17">400KB-500KB<span
style="mso-spacerun:yes"> </span></td>
<td class="xl24" x:num="2.7E-2">0.027</td>
<td class="xl24" x:num="3.6999999999999998E-2">0.037</td>
<td class="xl24" x:num="4.0000000000000001E-3">0.004</td>
<td class="xl24" x:num="0.151">0.151</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" x:str="500KB-600KB " height="17">500KB-600KB<span
style="mso-spacerun:yes"> </span></td>
<td class="xl24" x:num="3.1E-2">0.031</td>
<td class="xl24" x:num="4.3999999999999997E-2">0.044</td>
<td class="xl24" x:num="4.0000000000000001E-3">0.004</td>
<td class="xl24" x:num="0.184">0.184</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" x:str="600KB-700KB " height="17">600KB-700KB<span
style="mso-spacerun:yes"> </span></td>
<td class="xl24" x:num="3.5000000000000003E-2">0.035</td>
<td class="xl24" x:num="5.0999999999999997E-2">0.051</td>
<td class="xl24" x:num="6.0000000000000001E-3">0.006</td>
<td class="xl24" x:num="0.21099999999999999">0.211</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" x:str="700KB-800KB " height="17">700KB-800KB<span
style="mso-spacerun:yes"> </span></td>
<td class="xl24" x:num="3.9E-2">0.039</td>
<td class="xl24" x:num="5.7000000000000002E-2">0.057</td>
<td class="xl24" x:num="6.0000000000000001E-3">0.006</td>
<td class="xl24" x:num="0.24299999999999999">0.243</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" x:str="800KB-900KB " height="17">800KB-900KB<span
style="mso-spacerun:yes"> </span></td>
<td class="xl24" x:num="4.4999999999999998E-2">0.045</td>
<td class="xl24" x:num="6.4000000000000001E-2">0.064</td>
<td class="xl24" x:num="6.0000000000000001E-3">0.006</td>
<td class="xl24" x:num="">0.27</td>
</tr>
<tr style="height:12.75pt" height="17">
<td style="height:12.75pt" x:str="900KB-1MB " height="17">900KB-1MB<span
style="mso-spacerun:yes"> </span></td>
<td class="xl24" x:num="4.9000000000000002E-2">0.049</td>
<td class="xl24" x:num="7.1999999999999995E-2">0.072</td>
<td class="xl24" x:num="6.0000000000000001E-3">0.006</td>
<td class="xl24" x:num="0.307">0.307</td>
</tr>
</tbody>
</table>
<br>
</div>
</body>
</html>
--------------090109010204020207060709--
|