forked from peazip/peazip.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
file-compression-performances.html
892 lines (892 loc) · 38.9 KB
/
file-compression-performances.html
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<meta name="AUTHOR" content="PeaZip Free Archiver Utility">
<meta name="DESCRIPTION"
content="How to optimize file compression ratio and speed. Settings and options to improve archiving efficiency. Tips, best practices for maximum data compression performances">
<meta name="KEYWORDS"
content="compression performances, file, data, compression, archiving, ratio, best practices, speed, improve, optimize, tutorial, maximum, best, hints, tips, tricks, how to, suggestions, strategies">
<meta name="ROBOTS" content="all">
<title>How to optimize file compression, best practices</title>
<meta name="viewport" content="width=device-width">
<meta property="og:site_name"
content="PeaZip file archiver utility, free RAR ZIP software">
<meta property="og:title"
content="How to optimize file compression, best practices">
<meta property="og:description"
content="How to optimize file compression ratio and speed. Settings and options to improve archiving efficiency. Tips, best practices for maximum data compression performances">
<meta property="og:image" content="free-zip/peazip-icon.png">
<meta property="og:url"
content="https://peazip.github.io/file-compression-performances.html">
<link rel="stylesheet" type="text/css" href="peazip-software.css">
</head>
<body>
<div style="text-align: center;">
<table
style="width: 100%; text-align: left; margin-left: auto; margin-right: auto;"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="vertical-align: top; text-align: center;">
<table
style="text-align: left; margin-left: auto; margin-right: auto;"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
</tr>
<tr>
<td style="vertical-align: top;"> <img
title="How to obtain best compression ratio"
alt="optimize data compression" src="peazip_ico24.png"
style="border: 0px solid ; width: 24px; height: 24px;"> </td>
<td style="vertical-align: middle;">
<br>
</td>
<td style="vertical-align: middle; font-weight: bold;"><a
href="index.html">DOWNLOAD PEAZIP</a> </td>
<td style="vertical-align: middle; font-weight: bold;">
<br>
</td>
<td style="vertical-align: middle; font-weight: bold;"><a
href="peazip-help-faq.html">ONLINE SUPPORT</a> </td>
<td style="vertical-align: top; font-weight: bold;">
<br>
</td>
<td style="vertical-align: middle; font-weight: bold;"><a
href="screenshots-peazip-1.html">SCREENSHOTS</a> </td>
<td style="vertical-align: top; font-weight: bold;">
<br>
</td>
<td style="vertical-align: middle; font-weight: bold;"><a
href="peazip-compression-benchmark.html">BENCHMARKS</a> </td>
<td style="vertical-align: top;">
<br>
</td>
<td style="vertical-align: middle; font-weight: bold;"><a
href="donations.html">DONATE</a> </td>
</tr>
<tr>
<td style="text-align: center; vertical-align: bottom;"><br>
</td>
<td style="text-align: center; vertical-align: bottom;"><br>
</td>
<td style="text-align: center; vertical-align: bottom;"><br>
</td>
<td style="text-align: center; vertical-align: bottom;"><br>
</td>
<td style="text-align: center; vertical-align: bottom;"><img
alt="file compression suggestions and best practices"
src="free-rar/archive-manager.png" style="width: 12px; height: 12px;">
</td>
<td style="text-align: center; vertical-align: bottom;"><br>
</td>
<td style="text-align: center; vertical-align: bottom;"><br>
</td>
<td style="text-align: center; vertical-align: bottom;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="text-align: center; vertical-align: bottom;"><br>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr align="center">
<td
style="vertical-align: top; background-color: rgb(72, 136, 248);">
<div style="text-align: left;"> </div>
<table
style="width: 960px; text-align: left; font-weight: bold; color: rgb(253, 253, 253);"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td colspan="1" rowspan="1" style="vertical-align: top;"> <br>
<h1 style="text-align: center;"><big><big><big><a
style="font-weight: bold;" name="data_compression_optimization"></a><span
style="font-weight: bold;">How to optimize file
compression, best practices</span><br>
</big></big></big></h1>
<br>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td
style="vertical-align: top; background-color: rgb(204, 204, 204);"><img
alt="settings and options to improve archiving efficiency"
src="free-rar/file-compressor.png" style="width: 2px; height: 2px;"><br>
</td>
</tr>
<tr>
<td
style="vertical-align: top; background-color: rgb(240, 239, 238);"><img
alt="Tips, best practices for maximum data compression performances"
src="free-rar/file-compressor.png" style="width: 2px; height: 2px;"><br>
</td>
</tr>
<tr align="center">
<td style="vertical-align: top;"><br>
<table style="text-align: left;" border="0" cellpadding="6"
cellspacing="0">
<tbody>
<tr>
<td
style="vertical-align: top; text-align: center; font-weight: bold;"><small><a
href="peazip-help-faq.html">FAQ, HOW TO</a></small></td>
<td
style="vertical-align: top; text-align: center; font-weight: bold;"><small><br>
</small></td>
<td
style="vertical-align: top; text-align: center; background-color: rgb(240, 239, 238); font-weight: bold;"><small><a
href="peazip-help.html">ONLINE TUTORIAL</a></small></td>
<td
style="vertical-align: top; text-align: center; font-weight: bold;"><small><br>
</small></td>
<td
style="vertical-align: top; text-align: center; background-color: rgb(240, 239, 238); font-weight: bold;"><small><a
href="peazip-more.html">ISSUE TRACKER, CVE<br>
</a></small></td>
<td
style="vertical-align: top; text-align: center; font-weight: bold;"><small><br>
</small></td>
<td
style="vertical-align: top; background-color: rgb(240, 239, 238); text-align: center; font-weight: bold;"><a
href="changelog.html"><small>CHANGE LOG</small></a><br>
</td>
<td
style="vertical-align: top; text-align: center; font-weight: bold;"><small><br>
</small></td>
<td
style="vertical-align: top; background-color: rgb(240, 239, 238); text-align: center; font-weight: bold;"><small><a
href="peazip-tos-privacy.html">TOS, PRIVACY</a><br>
</small></td>
<td
style="vertical-align: top; text-align: center; font-weight: bold;"><small><br>
</small></td>
<td
style="vertical-align: top; background-color: rgb(240, 239, 238); text-align: center; font-weight: bold;"><small><a
href="peazip-free-archiver.html">WHAT IS PEAZIP</a><br>
</small></td>
<td
style="vertical-align: top; text-align: center; font-weight: bold;"><small><br>
</small></td>
<td
style="vertical-align: top; background-color: rgb(240, 239, 238); text-align: center; font-weight: bold;"><small><a
href="peazip-reviews.html">REVIEWS</a></small></td>
</tr>
</tbody>
</table>
<br>
<table
style="background-color: rgb(240, 240, 240); width: 960px; text-align: left;"
border="0" cellpadding="48" cellspacing="0">
<tbody>
<tr align="left">
<td
style="background-color: rgb(255, 255, 255); vertical-align: top;">
<div style="text-align: left; color: rgb(0, 0, 0);">
<ul>
<li>
<p><a href="#improve_data_compression">IMPROVE FILE
COMPRESSION</a></p>
</li>
<li>
<p><a
href="file-compression-performances.html#how_data_compression_works">BEST
OPTIONS FOR MAXIMUM COMPRESSION EFFICIENCY</a></p>
</li>
</ul>
<br>
<br>
<big><big style="font-weight: bold;"><big><a
name="improve_data_compression"></a><a
href="file-compression-performances.html#data_compression_optimization">Improve
file compression</a></big></big><br>
</big> </div>
<br>
<br>
<big style="font-weight: bold;">Purposes of data
compression and archiving</big><br>
<br>
<span style="font-weight: bold;"><a
name="best_file_compression_tips"></a>File archiving </span>is a way
to
consolidate multiple input files in a
single
output archive, often using integrated <span style="font-weight: bold;">data
compression</span> strategies for removing data redundancies, so the
output is both
smaller (to save disk space occupation and upload/download bandwidth)
and easier
to handle than separate input files - learn more: <a
href="what-is-zip-file.html">what is a compressed / archive file</a><br>
<br>
<br>
<h3 style="font-weight: bold;"><big>Optimize compression
method due end user's goals</big></h3>
<br>
A common concern about compressing data - either for <span
style="font-weight: bold;">backup </span>or <a
style="font-weight: bold;" href="share-files-sharing.html">file
upload or distribution</a> - is <span
style="background-color: rgb(255, 238, 221);">balancing
worthy compression ratio with
reasonably fast operational speed</span>, so i.e. end users will be
able
to
unpack
data in a
timely fashion, or a backup process will end in a fixed maximum amount
of time.<br>
As scenarios of different goals and constrains will vary, file
compression efficiency factors must be carefully weighted minding
intended
use of the data in first place, in following chapter will be provided
some suggestions for carefully chosing strategies and best parameters
for optimal compression results.<br>
<br>
<br>
<h3 style="font-weight: bold;"><big>Data compression best
practices</big></h3>
<br>
Quite obviously, best data compression practices mean nothing if the
file cannot be provided to the intended end user. If the archive needs
to be shared, the first concern is what archive
file types is capable to read the end user - what archive formats are
supported or can be supported through end user computing platform
(Microsoft Windows, Google Android/ChromeOS, iOS, Apple OSX, Linux,
BDS...) - if the user is willing
and authorized to install needed software.<br>
So most of times the better choice in this case is staying with most
common
format (<span style="font-weight: bold;">ZIP</span>), while <span
style="font-weight: bold;">RAR </span>is quite popular on MS Windows
platforms and <span style="font-weight: bold;">TAR </span>is
ubiquitously supported on Unix derivate systems, and <span
style="font-weight: bold;">7Z </span>is becoming increasingly popular
on all systems.<br>
<br>
<a name="compress_file_below_max_size_best_practices"></a>Some
file
sharing platforms, cloud services, and e-mail provides may
block some file types with the explanation they are commonly abused
(spam, viruses, illicit content), preventing it to reach the intended
end user(s), so it is critical to read terms of services to avoid this
issue.<br>
Usually changing file extension is not a solution, as each archive file
has a well defined internal structure (that is meant for the file to
properly function, so can hardly be cloaked) so file format recognition
is seldom based on simple parsing the file extension.<br>
In some other cases are blocked all encrypted files or all files of
unknown/unsupported formats that service provider are not able to
inspect / scan for viruses.<br>
<br>
<h4 style="font-weight: bold;"><big>Keep archive size under
a mandatory max size</big></h4>
<table style="width: 100%; text-align: left;" border="0"
cellpadding="24" cellspacing="0">
<tbody>
<tr>
<td
style="vertical-align: top; text-align: right; width: 64px;">
<h2><span style="font-weight: bold;"><img
title="Maximum compression"
alt="settings and options to improve compression efficiency"
src="file-format/quotes.png" style="width: 32px; height: 32px;"></span></h2>
</td>
<td style="vertical-align: top;"><a
name="keep_file_under_maximum_size_suggestions"></a>To <span
style="font-weight: bold;">meet maximum size
constrains</span>
(i.e. e-mail
attachment limit or physical
support size) you can divide the output in
volumes of desired size (<a href="file-split.html">file spanning</a>),
progressively numbered i.e .001, .002, .nnn so the receiver can extract
the whole archive, usually, saving all files in the same path and
starting extraction from .001 file.<br>
File split can be recommended as the simplest and most efficient way to
securely fit in
a mandatory output
size, rather than trying to improve compression ratio with
slower / heavier algorithms / settings in the hope to fit the desired
target size - which may not be possible despising the speed penality.</td>
<td style="vertical-align: bottom; width: 64px;">
<h3><img title="Compress below attachment size limit"
alt="tips to improve data compression efficiency"
src="file-format/quotes-inverse.png" style="width: 32px; height: 32px;"></h3>
</td>
</tr>
</tbody>
</table>
<br>
Following block discuss factors that influences more the efficiency of
compression, and
which needs more weight and attention in evaluation for choiche of best
compression strategy, and options / tips & tricks to obtain
best results.<br>
<br>
More suggestions can be found on: <a target="_blank"
href="http://www.maximumcompression.com/">compression algorithms
comparison<img alt="information theory compression"
title="Data entropy Wikipedia" src="free-rar/extractor.png"
style="border: 0px solid ; width: 12px; height: 10px;"></a>, <a
target="_blank"
href="http://en.wikipedia.org/wiki/Entropy_%28information_theory%29">entropy<img
alt="information theory compression" title="Data entropy Wikipedia"
src="free-rar/extractor.png"
style="border: 0px solid ; width: 12px; height: 10px;"></a> and <a
target="_blank"
href="http://en.wikipedia.org/wiki/Email_attachment#Size_limits">maximum
e-mail
attachment size<img alt="maximum email size allowed"
title="Attachment size limit" src="free-rar/extractor.png"
style="border: 0px solid ; width: 12px; height: 10px;"></a> articles
on Wikipedia.<br>
<br>
<br>
<br>
<h2><big style="font-weight: bold;"><big><big><a
name="how_data_compression_works"></a></big></big></big><a
href="file-compression-performances.html#data_compression_optimization"><big
style="font-weight: bold;"><big><big>Best
options for maximum compression efficiency</big></big></big><br>
</a></h2>
<br>
<table style="width: 100%; text-align: left;" border="0"
cellpadding="24" cellspacing="0">
<tbody>
<tr>
<td
style="width: 64px; text-align: center; vertical-align: top;">
<h2><span style="font-weight: bold;"><img
title="Identify most appropriate compression strategy"
alt="best practices to optimize file compression"
src="file-format/one.png" style="width: 48px; height: 48px;"><br>
</span></h2>
</td>
<td style="vertical-align: middle;"> <big><span
style="font-weight: bold;">Evaluate
need
for
using high
compression formats and settings</span></big><br>
<br>
<a name="maximum_compression_options"></a>Highest
compression
ratio is
usually attained with slower and more computing intensive algorithms,
i.e. <a href="free-rar-create.html">RAR compression</a> is slower and
more powerful than <a href="zip-files-utility.html">ZIP compression</a>,
and <a href="7zip-files-utility.html">7Z compression</a> is
slower and more powerful compressor than RAR, with <a
href="paq-file-format.html">PAQ / ZPAQ</a>
outperforming other algorithms in terms of maximum compression ratio
but requiring more computing power.<br>
See <a href="archive-file-formats-comparison.html">file
compression
formats comparison</a> and <a href="peazip-compression-benchmark.html">compression
benchmarks</a> for comparison of strongest compression algorithms, and
impact on speed and compression ratio adperformances of different file
archiving formats.<br>
Different data types may lead to different results
with different data compression algorithms, in example weaker RAR and <a
href="zipx-files-software.html">ZIPX compression</a>
can close the gap with stronger 7Z compression when
multimedia files compression is involved, due to efficiently optimized
filters for
multimedia files employed in RAR and ZIPX when suitable data structures
are detected - anyway lossy compressed multimedia files remains
poorly compressible data structures.<br>
Switching to a more powerful algorithm is usually more efficient in
terms of improving compression ratio than using highest compression
ratios of a weaker compression algorithm.<br>
<a name="improve_file_compression"></a>It is
suggested to
evaluate carefully if better compression is really needed
(after
deduplication, and evaluation of poorly compressible files), or if the
archive is mainly made for other reasons than decreasing file size i.e.
applying encryption, handling the content as a single file, etc.<br>
If time is a critical factor, speed should be the primary factor to
take in account, and fastest available algoritms should be preferred,
as zlib's Deflate (GZip, ZIP, Zopfli), Brotli, or Zstandard.<br>
</td>
</tr>
<tr>
<td style="text-align: center; vertical-align: top;">
<h3><span style="font-weight: bold;"><img
title="Do not compress poorly compressible files"
alt="best settings for maximum compression" src="file-format/two.png"
style="width: 48px; height: 48px;"></span></h3>
</td>
<td style="vertical-align: middle;"> <big><span
style="font-weight: bold;">Identify <a
href="why-can-not-compress-pdf-avi-mp3-files.html">poorly
compressible files</a></span></big><br>
<br>
Evaluate if
spending time to compress poorly compressible data or,
rather, simply store it "as is". Some
data structures contain
high levels of entropy, or
entropy is introduced by previous processes as encryption or
compression -
making further compression efforts difficult or even useless; computing
power wold be more productively spent reducing size occupation of other
types of files, leading to both better results and faster operation.<br>
<span style="background-color: rgb(255, 238, 221);"><a
name="optimize_compression_multimedia_files"></a><span
style="font-weight: bold;">Multimedia
files</span> (MP3, JPG, MPEG, AVI,
DIVX...) tend to poorly compressible</span>, as those formats features <a
href="what-is-zip-file.html">lossy compression</a>,
and, especially videos, are usually very large compared to other file
types (documents, applications), so it should be evaluated carefully if
they should be compressed at all - it is recommended using "Store"
option for
compression level, provided by most file archivers, meaning compression
is disabled (fastest, as speed is only bound from disk copy
performances) - or even copied "as is" without even passing them to the
compressor application.<br>
For best practices to reduce disk usage of graphic files (JPEG, PNG,
TIFF, BMP) see <a href="compress-resize-jpeg-png-files.html">how to
optimize compression of images</a> for tips and tricks.<br>
<span style="font-weight: bold;">Some document formats</span>
(PDF, Open Office and new Microsoft Office 2007
and beyond
file formats), and some databases, are already compressed (usually fast
deflate based lossless compression), so they generally does not
compress
well.<br>
<span style="font-weight: bold;">Archive files</span>
(7Z, RAR, ZIP...) are already compressed and cannot be directly
compressed (gains will be small, if any), but <a
href="convert-files.html">archives can be converted</a> (extracted to
the original non-compressed form, and the re-compressed) to a format
providing a better compression ratio.<br>
<span style="background-color: rgb(255, 238, 221);"><a
name="suggestions_compress_encrypted_files"></a><span
style="font-weight: bold;">Encrypted
data</span> is not
compressible at all</span>, being pseudo random there is
not a "shorter way" to represent the information carried in encrypted
form; attempting compression of encrypted files is not recommended.<br>
Separating poorly compressible data from other data is a good way to
start a compression policy definition to decide the best strategy for
handling both the
types of data.<br>
</td>
</tr>
<tr>
<td style="text-align: center; vertical-align: top;">
<h3><span style="font-weight: bold;"><img
title="Options improving compression ratio"
alt="suggestions for best file compression ratio"
src="file-format/three.png" style="width: 48px; height: 48px;"></span></h3>
</td>
<td style="vertical-align: middle;"> <big><span
style="font-weight: bold;">Evaluate solid
compression
advantages</span></big><br>
<br>
<a href="what-is-solid-compression.html">Solid
compression</a>,
available as option for some archival formats like 7Z and RAR, can
improve final
compression ratio, it works providing a wider context for compression
algorithm to reduce data redundancy and represent it in a more
convenient way to spare output file size.<br>
But the context information is needed also during extraction, so
extraction from a solid archive needs more time to parse all the
relevant context data (usually defined "solid block") and can be
significantly slower than from a non solid archive.<br>
7Z allows to chose the block size to be used for
solid mode operation (the "window" data context is used by the
algorithm) to minimize overhead, but this option also slightly reduces
compression ratio improvements.<br>
Applying XZ, <a href="brotli-compression-utility.html">Brotli
compression</a>, <a href="bzip2-utility.html">Bzip2 compression</a>, <a
href="gzip-utility.html">GZip compression</a> or <a
href="zstandard-compression-utility.html">ZSTD compression</a> to a
tar archive is a
two-step
equivalent of solid mode compression.<br>
Chose carefully if the intended use of the compressed data needs high
compression/solid compression to be used, the more often the data will
be needed to be extracted the more times the computational overhead
will apply for each end user. <br>
In example, software distribution would greatly benefit of maximum
compression, as
saving bandwidth is critical and end user usually extracts the data
only once, while the overhead may not be acceptable if the data needs
to be accessed often and fastest extraction time becomes a decisive
efficiency advantage</td>
</tr>
<tr>
<td style="text-align: center; vertical-align: top;">
<h3><span style="font-weight: bold;"><img
title="Deduplicate data before archiving"
alt="how to set maximum compression settings"
src="file-format/four.png" style="width: 48px; height: 48px;"></span></h3>
</td>
<td style="vertical-align: middle;"> <span
style="font-weight: bold;"><big>You usually
don't need
to
archive duplicate files</big><span style="text-decoration: underline;"></span></span><br>
<span style="font-weight: bold;"><span
style="text-decoration: underline;"></span></span><br>
A very obvious
suggestion is to <a href="duplicates-hash-checksum.html">removing
duplicate identical files (deduplication)</a>
in order to avoid archiving redundant data whenever it is adviceable.<br>
<span style="background-color: rgb(255, 238, 221);">Identify
and remove
duplicate files before archival decreases the input size improving both
operation time and final size result</span>, and at the same time make
easier
for the end user to navigate/search in a tidier archive. Don't remove
duplicate files if they are mandatorily needed in the path they are
originally featured, i.e. by a software or an automated procedure.</td>
</tr>
<tr>
<td style="text-align: center; vertical-align: top;">
<h4><span style="font-weight: bold;"><img
title="Hints to improve compression of VM and disk images"
alt="suggestions for maximum file compression"
src="file-format/five.png" style="width: 48px; height: 48px;"></span></h4>
</td>
<td style="vertical-align: middle;"><big><span
style="font-weight: bold;">Zeroing free space on
virtual machines and disk images to remove non-meaningful information</span></big><br>
<span style="font-weight: bold;"><br>
Zero delete</span>
function (File tools submenu) is intended for overwriting file data or
free partition space with
all-0 stream, in order to fill corresponding
physical disk area of homegeneus, highly compressible data.<br>
This allows to save space when compressing disk images, either
low-level physical disk snapshot done for backup porpose, and Virtual
Machines guest virtual disks, as the 1:1 exact copy of the disk content
is not burdened of leftover data on free space area - some disk imaging
utilities and Virtual Machines players/managers have built-in
compression routines, zeroing free space before is strongly recommended
to improve compression ratio.<br>
Zeroing deletion also offers
a basic grade of security improvement over PeaZip's "Quick delete"
function, which
simply remove the file from filesystem, making it not recoverable by
system's recycle bin but susceptible of being recovered with undelete
file utilities. Zero deletion however is not meant for advanced
security, and PeaZip's <a href="secure-delete.html">Secure delete</a>
should be used instead
when it is needed to securely and permanently erase a file or sanitize
free space on a volume for privacy reasons.<br>
Learn more about <a href="optimize-virtual-machines-backup-images.html">optimizing
virtual machines and disk images compression</a>.</td>
</tr>
<tr>
<td style="text-align: center; vertical-align: top;">
<h4><span style="font-weight: bold;"><img
title="SFX size overhead considerations"
alt="suggestion to improve data compression" src="file-format/six.png"
style="width: 48px; height: 48px;"></span></h4>
</td>
<td style="vertical-align: middle;"><big><span
style="font-weight: bold;">Impact of using self
extracting archives</span></big><br>
<br>
<a href="self-extracting-archives.html">Self
extracting
archives</a>
are useful to provide the end user of the appropriate extraction
routines without the need of installing any software, but being the
extraction module embedded in the archive it represent an overhead of
some 10s or 100s of KB, which makes it a noticeable disadvantage only
in
the case of very small (e.g. approximately less than 1MB) archives -
which is
however well in the size range of a typical archive of a
few textual documents. Moreover, being the self extracting archive an
executable file, some file sharing platforms, cloud providers, and
e-mail servers, may block the file, preventing it to reach the intended
receiver(s).</td>
</tr>
</tbody>
</table>
<br>
<p><span style="font-weight: bold;">Synopsis: How to
optimize file compression ratio and speed. Best settings and options to
improve file archiving and compression efficiency. Suggestions and best
practices for maximum data compression performances</span><span
style="font-weight: bold;">.<br>
</span></p>
<p><span style="font-weight: bold;">Topics: how to optimize
compression of files, what are the best compression options<br>
</span></p>
<p><span style="font-weight: bold;">PeaZip > FAQ
> How to optimize file compression, best practices<br>
</span></p>
<br>
<table
style="background-color: rgb(240, 240, 240); width: 100%; text-align: left;"
border="0" cellpadding="24" cellspacing="1">
<tbody>
<tr>
<td colspan="1" rowspan="1"
style="vertical-align: top; background-color: rgb(250, 250, 250);">
<h3 style="color: rgb(0, 0, 0);"><img
title="FAQ how to work with archive files 7Z, RAR, TAR, ZIP..."
alt="how to improve compression of files and folders"
src="file-format/archive-manager.png"
style="width: 96px; height: 96px;" align="right"><a
name="how_to_compress_files"></a>ARCHIVE
MANAGER</h3>
<p><a href="rar-zip-file-format-size-limitations.html">7Z
RAR TAR ZIP
archive formats
limitations</a><br>
</p>
<p><a href="tar-windows.html#atomic_tar_extraction">Atomic
TAR files
extraction, how to automatically untar compressed TAR archives in a
single step</a><br>
</p>
<p><a href="archive-file-formats-comparison.html">Comparison
of compression
algorithms and archive
formats</a><br>
</p>
<p><a href="what-is-zip-file.html">How file
compression (lossy, lossless)
and archiving works?</a> </p>
<p><a style="font-weight: bold;"
href="how-to-compress-files-folders.html">How to add files and folders
to a new
archive</a><br>
</p>
<ul>
<li><a
href="how-to-zip-files-separate-archives.html">How to add files to
multiple separate
archives</a><br>
</li>
</ul>
<p><a style="font-weight: bold;"
href="convert-files.html">How to convert
existing
archives</a><br>
</p>
<p><a style="font-weight: bold;"
href="how-to-extract-rar-zip-archives.html">How to extract single or
multiple
archives at once</a><br>
</p>
<ul>
<li><a href="how-to-extract-multipart-archives.html">How
to extract
multi-part archiives</a><br>
</li>
<li><a
href="how-to-extract-selected-files-from-archive.html">How to extract
selected content from
archive</a><br>
</li>
</ul>
<p style="font-weight: bold;"><a
href="how-to-open-rar-tar-zip-files.html">How to open, list, browse,
and search
archive file</a> </p>
<p><a style="font-weight: bold;"
href="how-to-update-existing-archive.html">How to update existing
archives</a><br>
</p>
<ul>
<li><a href="add-files-to-existing-archive.html">How
to add new
files to existing archive</a></li>
<li><a href="add-remove-files-from-archive.html">How
to delete files from
archive</a></li>
<li><a href="edit-file-in-archive.html">How
to edit
files in archive</a><br>
</li>
</ul>
<p> </p>
<p style="font-weight: bold;"><a
href="file-compression-performances.html">How to improve file
compression
performances</a></p>
<p><a href="self-extracting-archives.html">Self
extracting archives</a></p>
<p><a href="what-is-solid-compression.html">What
is solid compression?</a><br>
</p>
<p><a
href="why-can-not-compress-pdf-avi-mp3-files.html">Why some types of
files cannot be compressed?</a><br>
</p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<br>
</td>
</tr>
<tr align="center">
<td style="vertical-align: top;">
<table
style="margin-left: auto; margin-right: auto; width: 960px; text-align: left;"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
<td style="vertical-align: top;"><br>
</td>
</tr>
<tr>
<td style="vertical-align: top; width: 25%;"><small> <img
alt="suggestions for maximum file compression" src="titles.png"
style="width: 129px; height: 2px;"><br>
<a name="optimize_file_compression"></a>DOWNLOADS<br>
<img alt="best practices to optimize file compression"
src="free-rar/extract-rar.png" style="width: 1px; height: 1px;"
vspace="3"><br>
</small><small><a href="index.html">All
PeaZip downloads</a><br>
</small><small><a href="peazip-linux.html">PeaZip
for Linux</a><br>
</small><small><a href="peazip-macos.html">PeaZip
for macOS</a></small><br>
<small> <a href="peazip-64bit.html">PeaZip
for Windows</a><br>
</small><small><a href="peazip-sources.html">PeaZip sources</a></small><small><br>
</small></td>
<td style="vertical-align: top; width: 25%;"><small><img
alt="suggestion to improve data compression" src="titles.png"
style="width: 129px; height: 2px;"><br>
<a name="improve_compression_ratio"></a>SUPPORT<br>
<img alt="suggestions for best file compression ratio"
src="free-rar/extract-rar.png" style="width: 1px; height: 1px;"
vspace="3"><br>
<a href="peazip-help.html">Online
help</a><br>
<a href="peazip-help-faq.html">Frequently
Asked Questions</a><br>
</small><br>
</td>
<td style="vertical-align: top; width: 25%;"><small><img
alt="peazip file compression software" src="titles.png"
style="width: 129px; height: 2px;"><br>
<a style="color: rgb(0, 0, 0);"
name="peazip_cross_platform_archive_manager_app"></a>ABOUT<br
style="font-style: italic;">
<img alt="peazip free archiver utility"
src="free-rar/extract-rar.png" style="width: 1px; height: 1px;"
vspace="3"><br style="font-style: italic;">
</small><small><a href="peazip-tos-privacy.html"
style="font-weight: normal;">PeaZip project: TOS,
Privacy</a><br>
</small></td>
<td style="vertical-align: top; width: 247px;">
<table
style="width: 100%; text-align: left; margin-left: auto; margin-right: 0px;"
border="0" cellpadding="3" cellspacing="0">
<tbody>
<tr>
<td style="text-align: right; vertical-align: middle;"><small><a
target="_blank" href="https://github.com/peazip/PeaZip/releases.atom">Releases
Feed</a></small></td>
<td
style="text-align: right; width: 30px; vertical-align: middle;"><small><img
alt="How to optimize file compression ratio and speed"
title="PeaZip releases feed" src="extract-zip/rss16.png"
style="width: 24px; height: 24px;" align="middle"></small></td>
</tr>
<tr>
<td style="text-align: right; vertical-align: middle;"><small><a
target="_blank" href="https://github.com/peazip/PeaZip/wiki">PeaZip
Wiki</a></small></td>
<td
style="text-align: right; width: 30px; vertical-align: middle;"><small><img
title="PeaZip Wiki online" alt="set maximum compression options"
src="free-zip/wikipedia.png" style="width: 24px; height: 24px;"
align="middle"></small></td>
</tr>
<tr>
<td style="text-align: right; vertical-align: middle;"><small><a
href="mailto:giorgio.tani.software@gmail.com">Developer email</a></small></td>
<td
style="text-align: right; width: 30px; vertical-align: middle;"><small><img
alt="set best compression options"
title="Mail developer | Giorgio Tani" src="free-zip/mail.png"
style="width: 24px; height: 24px;"><br>
</small></td>
</tr>
<tr>
<td style="text-align: right; vertical-align: middle;"><small><a
href="peazip-more.html">Search knowledge-base</a><br>
</small></td>
<td
style="text-align: right; width: 30px; vertical-align: middle;"><small><img
alt="hwo to set maximum compression settings"
title="Search in PeaZip project domain"
src="extract-rar/rar-opener.png"
style="border: 0px solid ; width: 24px; height: 24px;" align="middle"></small></td>
</tr>
</tbody>
</table>
<br>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>