summaryrefslogtreecommitdiff
path: root/f6/e49b28b282026a077b5d3755b83a2785d346c7
blob: 6c9048c4ba89748209a86179c506673a89123c8f (plain)
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
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
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 81EBA6C
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sat, 28 Nov 2015 14:48:44 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com
	[209.85.220.54])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 093E8A6
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sat, 28 Nov 2015 14:48:42 +0000 (UTC)
Received: by pacdm15 with SMTP id dm15so139281378pac.3
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Sat, 28 Nov 2015 06:48:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=subject:to:references:from:message-id:date:user-agent:mime-version
	:in-reply-to:content-type;
	bh=OIgtWf8a3qkZATAwZMZIRHVacVhYqo+DW1U2kTbS6pE=;
	b=N+BpGgcPauafr/lO5ScigaNDZXKzsNlQvumRGgvk7xrLfOiQ/vSqQbUpc9fbFwxMeU
	O6UkLccrJp6ZkuwCQmWifDSvcOnrhWP7GOAHizvhmEPQw45/VJ02lY1KYiDB3vJL2zB+
	AH+s9Yt2Umm+1jCJzal/hu/tsoq2vJwoxn6lrKnplrb41V2VVop1sss25m+0/imJMlTe
	VEsF2SOVUuqTrJvE9QLlmhviR2aUsvg2eLOkqRndHwVHv9AKpi8x+DCX3bJ1nG2N3UNT
	d6zlbkL6pCVcHpScgyKo2rXTrGC19W22aHfNUHl7lmj+zuj09lym5l5xDGHMhnC1gmmj
	1DpA==
X-Received: by 10.66.234.226 with SMTP id uh2mr57967336pac.6.1448722122476;
	Sat, 28 Nov 2015 06:48:42 -0800 (PST)
Received: from [192.168.0.132] (S0106bcd165303d84.cc.shawcable.net.
	[96.54.102.88]) by smtp.googlemail.com with ESMTPSA id
	xr8sm41251703pab.26.2015.11.28.06.48.40
	for <bitcoin-dev@lists.linuxfoundation.org>
	(version=TLSv1/SSLv3 cipher=OTHER);
	Sat, 28 Nov 2015 06:48:41 -0800 (PST)
To: bitcoin-dev@lists.linuxfoundation.org
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>
From: Peter Tschipper <peter.tschipper@gmail.com>
X-Enigmail-Draft-Status: N1110
Message-ID: <5659BEC9.50307@gmail.com>
Date: Sat, 28 Nov 2015 06:48:41 -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: <CADm_WcYAj9_r6tu8Be-U81LDwWvnv04PZJMmc-S4cY7+jxfzGw@mail.gmail.com>
Content-Type: multipart/alternative;
	boundary="------------040208060408020207060701"
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
X-Mailman-Approved-At: Sat, 28 Nov 2015 16:07:19 +0000
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: Sat, 28 Nov 2015 14:48:44 -0000

This is a multi-part message in MIME format.
--------------040208060408020207060701
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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


On 10/11/2015 8:46 AM, Jeff Garzik via bitcoin-dev wrote:
> Comments:
>
> 1) cblock seems a reasonable way to extend the protocol.  Further
> wrapping should probably be done at the stream level.
>
> 2) zlib has crappy security track record.
>
> 3) A fallback path to non-compressed is required, should compression
> fail or crash.
>
> 4) Most blocks and transactions have runs of zeroes and/or highly
> common bit-patterns, which contributes to useful compression even at
> smaller sizes.  Peter Ts's most recent numbers bear this out.  zlib
> has a dictionary (32K?) which works well with repeated patterns such
> as those you see with concatenated runs of transactions.
>
> 5) LZO should provide much better compression, at a cost of CPU
> performance and using a less-reviewed, less-field-tested library.
>
>
>
>
>
> On Tue, Nov 10, 2015 at 11:30 AM, Tier Nolan via bitcoin-dev
> <bitcoin-dev@lists.linuxfoundation.org
> <mailto:bitcoin-dev@lists.linuxfoundation.org>> wrote:
>
>
>
>     On Tue, Nov 10, 2015 at 4:11 PM, Peter Tschipper
>     <peter.tschipper@gmail.com <mailto:peter.tschipper@gmail.com>> wrote:
>
>         There are better ways of sending new blocks, that's certainly
>         true but for sending historical blocks and seding transactions
>         I don't think so.  This PR is really designed to save
>         bandwidth and not intended to be a huge performance
>         improvement in terms of time spent sending.
>
>
>     If the main point is for historical data, then sticking to just
>     blocks is the best plan.
>
>     Since small blocks don't compress well, you could define a
>     "cblocks" message that handles multiple blocks (just concatenate
>     the block messages as payload before compression). 
>
>     The sending peer could combine blocks so that each cblock is
>     compressing at least 10kB of block data (or whatever is optimal). 
>     It is probably worth specifying a maximum size for network buffer
>     reasons (either 1MB or 1 block maximum).
>
>     Similarly, transactions could be combined together and compressed
>     "ctxs".  The inv messages could be modified so that you can
>     request groups of 10-20 transactions.  That would depend on how
>     much of an improvement compressed transactions would represent.
>
>     More generally, you could define a message which is a compressed
>     message holder.  That is probably to complex to be worth the
>     effort though.
>
>      
>
>>
>>         On Tue, Nov 10, 2015 at 5:40 AM, Johnathan Corgan via
>>         bitcoin-dev <bitcoin-dev@lists.linuxfoundation.org
>>         <mailto:bitcoin-dev@lists.linuxfoundation.org>> wrote:
>>
>>             On Mon, Nov 9, 2015 at 5:58 PM, gladoscc via bitcoin-dev
>>             <bitcoin-dev@lists.linuxfoundation.org
>>             <mailto:bitcoin-dev@lists.linuxfoundation.org>> wrote:
>>              
>>
>>                 I think 25% bandwidth savings is certainly
>>                 considerable, especially for people running full
>>                 nodes in countries like Australia where internet
>>                 bandwidth is lower and there are data caps.
>>
>>
>>             ​ This reinforces the idea that such trade-off decisions
>>             should be be local and negotiated between peers, not a
>>             required feature of the network P2P.​
>>              
>>
>>             -- 
>>             Johnathan Corgan
>>             Corgan Labs - SDR Training and Development Services
>>             http://corganlabs.com
>>
>>             _______________________________________________
>>             bitcoin-dev mailing list
>>             bitcoin-dev@lists.linuxfoundation.org
>>             <mailto:bitcoin-dev@lists.linuxfoundation.org>
>>             https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>>
>>
>>
>>
>>         _______________________________________________
>>         bitcoin-dev mailing list
>>         bitcoin-dev@lists.linuxfoundation.org
>>         <mailto:bitcoin-dev@lists.linuxfoundation.org>
>>         https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>
>
>
>     _______________________________________________
>     bitcoin-dev mailing list
>     bitcoin-dev@lists.linuxfoundation.org
>     <mailto:bitcoin-dev@lists.linuxfoundation.org>
>     https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>
>
>
>
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev


--------------040208060408020207060701
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </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>
      On 10/11/2015 8:46 AM, Jeff Garzik via bitcoin-dev wrote:<br>
    </div>
    <blockquote
cite="mid:CADm_WcYAj9_r6tu8Be-U81LDwWvnv04PZJMmc-S4cY7+jxfzGw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Comments:
        <div><br>
        </div>
        <div>1) cblock seems a reasonable way to extend the protocol. 
          Further wrapping should probably be done at the stream level.</div>
        <div><br>
        </div>
        <div>2) zlib has crappy security track record.</div>
        <div><br>
        </div>
        <div>3) A fallback path to non-compressed is required, should
          compression fail or crash.</div>
        <div><br>
        </div>
        <div>4) Most blocks and transactions have runs of zeroes and/or
          highly common bit-patterns, which contributes to useful
          compression even at smaller sizes.  Peter Ts's most recent
          numbers bear this out.  zlib has a dictionary (32K?) which
          works well with repeated patterns such as those you see with
          concatenated runs of transactions.</div>
        <div><br>
        </div>
        <div>5) LZO should provide much better compression, at a cost of
          CPU performance and using a less-reviewed, less-field-tested
          library.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Nov 10, 2015 at 11:30 AM, Tier
          Nolan via bitcoin-dev <span dir="ltr">&lt;<a
              moz-do-not-send="true"
              href="mailto:bitcoin-dev@lists.linuxfoundation.org"
              target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.linuxfoundation.org</a></a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr"><br>
              <div class="gmail_extra"><br>
                <div class="gmail_quote"><span class="">On Tue, Nov 10,
                    2015 at 4:11 PM, Peter Tschipper <span dir="ltr">&lt;<a
                        moz-do-not-send="true"
                        href="mailto:peter.tschipper@gmail.com"
                        target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:peter.tschipper@gmail.com">peter.tschipper@gmail.com</a></a>&gt;</span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <span></span><span></span>There are better ways of
                      sending new blocks, that's certainly true but for
                      sending historical blocks and seding transactions
                      I don't think so.  This PR is really designed to
                      save bandwidth and not intended to be a huge
                      performance improvement in terms of time spent
                      sending.<span><br>
                      </span></blockquote>
                    <div><br>
                    </div>
                  </span>
                  <div>If the main point is for historical data, then
                    sticking to just blocks is the best plan.<br>
                    <br>
                  </div>
                  <div>Since small blocks don't compress well, you could
                    define a "cblocks" message that handles multiple
                    blocks (just concatenate the block messages as
                    payload before compression).  <br>
                    <br>
                    The sending peer could combine blocks so that each
                    cblock is compressing at least 10kB of block data
                    (or whatever is optimal).  It is probably worth
                    specifying a maximum size for network buffer reasons
                    (either 1MB or 1 block maximum).<br>
                    <br>
                  </div>
                  <div>Similarly, transactions could be combined
                    together and compressed "ctxs".  The inv messages
                    could be modified so that you can request groups of
                    10-20 transactions.  That would depend on how much
                    of an improvement compressed transactions would
                    represent. <br>
                    <br>
                  </div>
                  <div>More generally, you could define a message which
                    is a compressed message holder.  That is probably to
                    complex to be worth the effort though.<br>
                  </div>
                  <span class="">
                    <div><br>
                       </div>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div bgcolor="#FFFFFF" text="#000000"><span>
                          <blockquote type="cite">
                            <div class="gmail_extra"><br>
                              <div class="gmail_quote">On Tue, Nov 10,
                                2015 at 5:40 AM, Johnathan Corgan via
                                bitcoin-dev <span dir="ltr">&lt;<a
                                    moz-do-not-send="true"
                                    href="mailto:bitcoin-dev@lists.linuxfoundation.org"
                                    target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.linuxfoundation.org</a></a>&gt;</span>
                                wrote:<br>
                                <blockquote class="gmail_quote"
                                  style="margin:0 0 0
                                  .8ex;border-left:1px #ccc
                                  solid;padding-left:1ex">
                                  <div dir="ltr"><span>
                                      <div style="font-size:small">On
                                        Mon, Nov 9, 2015 at 5:58 PM,
                                        gladoscc via bitcoin-dev <span
                                          dir="ltr">&lt;<a
                                            moz-do-not-send="true"
                                            href="mailto:bitcoin-dev@lists.linuxfoundation.org"
                                            target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.linuxfoundation.org</a></a>&gt;</span>
                                        wrote:<br>
                                      </div>
                                    </span>
                                    <div class="gmail_extra">
                                      <div class="gmail_quote"><span>
                                          <div> </div>
                                          <blockquote
                                            class="gmail_quote"
                                            style="margin:0 0 0
                                            .8ex;border-left:1px #ccc
                                            solid;padding-left:1ex">
                                            <div dir="ltr">I think 25%
                                              bandwidth savings is
                                              certainly considerable,
                                              especially for people
                                              running full nodes in
                                              countries like Australia
                                              where internet bandwidth
                                              is lower and there are
                                              data caps.</div>
                                          </blockquote>
                                          <div><br>
                                          </div>
                                        </span>
                                        <div>
                                          <div
                                            style="font-size:small;display:inline">​
                                            This reinforces the idea
                                            that such trade-off
                                            decisions should be be local
                                            and negotiated between
                                            peers, not a required
                                            feature of the network P2P.​</div>
                                           </div>
                                      </div>
                                      <span>
                                        <div><br>
                                        </div>
                                        -- <br>
                                        <div>
                                          <div dir="ltr">
                                            <div>
                                              <div dir="ltr">
                                                <div dir="ltr">
                                                  <div dir="ltr">
                                                    <div dir="ltr">
                                                      <div dir="ltr">
                                                        <div>Johnathan
                                                          Corgan<br>
                                                          Corgan Labs -
                                                          SDR Training
                                                          and
                                                          Development
                                                          Services</div>
                                                        <div><a
                                                          moz-do-not-send="true"
href="http://corganlabs.com" style="font-size:12.8px" target="_blank"><a class="moz-txt-link-freetext" href="http://corganlabs.com">http://corganlabs.com</a></a><br>
                                                        </div>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </span></div>
                                  </div>
                                  <br>
_______________________________________________<br>
                                  bitcoin-dev mailing list<br>
                                  <a moz-do-not-send="true"
                                    href="mailto:bitcoin-dev@lists.linuxfoundation.org"
                                    target="_blank">bitcoin-dev@lists.linuxfoundation.org</a><br>
                                  <a moz-do-not-send="true"
                                    href="https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev"
                                    rel="noreferrer" target="_blank">https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev</a><br>
                                  <br>
                                </blockquote>
                              </div>
                              <br>
                            </div>
                            <br>
                            <fieldset></fieldset>
                            <br>
                            <pre>_______________________________________________
bitcoin-dev mailing list
<a moz-do-not-send="true" href="mailto:bitcoin-dev@lists.linuxfoundation.org" target="_blank">bitcoin-dev@lists.linuxfoundation.org</a>
<a moz-do-not-send="true" href="https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" target="_blank">https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev</a>
</pre>
                          </blockquote>
                          <br>
                        </span></div>
                    </blockquote>
                  </span></div>
                <br>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            bitcoin-dev mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.linuxfoundation.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev"
              rel="noreferrer" target="_blank">https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
bitcoin-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.linuxfoundation.org</a>
<a class="moz-txt-link-freetext" href="https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev">https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------040208060408020207060701--