SlideShare una empresa de Scribd logo
1 de 8
Descargar para leer sin conexión
7-zip Compression Settings Guide
Digital Studio 7
This guide is created to help 7-zip users understand what settings do what and how to achieve
best compression on their systems, for this guide I am using 7-zip gui however I believe reading
this guide will help you with commend line version as well.
For this guide I am using 7-zip version 9.32
Lets Begine:
1) Archive Format: From this option you can select what archive format you want to use,
however because this guide is dedicated to 7z lets stick to it. although I recommend you take a
look at this article Best File Compression Method article.
2) Compression Level: This are presets for the settings, the names are pretty self explanatory,
the presets start from Store (This preset compression settings can not be edited because it does
not compress files) to Ultra (ultra is the highest compression preset, but we can achieve better
compression by manually editing settings)
Take a look at this table to understand better (source)
Value Description
Store No compression is used, files are just stored in archive in its original size.
Fast Fast compression.
Normal Recommended level of compression.
Maximum Better compression, but it is slower and needs more memory.
Ultra Best compression, but it is even slower and needs even more memory.
3) Compression Method: Here You can select the compression method, I recommend using
lzma2 because it is considered generally as the best compression method, It is always good idea
to default to it.
Take a look at this for more information (source)
Method Description
LZMA Default compression method of 7z format. It provides high compression ratio
and very fast decompression.
LZMA2 LZMA-based compression method. It provides better multithreading support
than LZMA. But compression ratio can be worse in some cases. For best
compression ratio with LZMA2 use 1 or 2 CPU threads. If you use LZMA2
with more than 2 threads, 7-zip splits data to chunks and compresses these
chunks independently (2 threads per each chunk).
PPMd Dmitry Shkarin's PPMdH algorithm with small changes. Usually it provides
high compression ratio and high speed for text files.
BZip2 Standard compression method based on BWT algorithm. Usually it provides
high speed and pretty good compression ratio for text files.
Deflate Standard compression method of ZIP and GZip formats. Compression ratio is
not too high. But it provides pretty fast compressing and decompressing.
Deflate method supports only 32 KB dictionary.
Deflate64 Modified version of Deflate algorithm with bigger dictionary (64KB).
More information about compression cooperation see the below table (source)
Compressed file size in bytes
gzip bzip2 lzma lzma -e xz xz -e lz4 lzop
1
124875819
(120M)
93997047
(90M)
85618192
(82M)
72042179
(69M)
85630688
(82M)
72069084
(69M)
165844264
(159M)
168012430
(161M)
2
119040249
(114M)
87741348
(84M)
81480824
(78M)
70264395
(68M)
81492504
(78M)
70282944
(68M)
165844264
(159M)
166987891
(160M)
3
114931686
(110M)
84816957
(81MB)
79575087
(76MB)
69015118
(66MB)
79586568
(76MB)
69029204
(66MB)
165844264
(159M)
166987891
(160M)
5
102328357
(98M)
81837328
(79M)
69557610
(67M)
67879362
(65M)
69583428
(67M)
67875988
(65M)
-
166987891
(160M)
gzip bzip2 lzma lzma -e xz xz -e lz4 lzop
7
100128597
(96M)
80197758
(77M)
67276420
(65M)
66868212
(64M)
67294092
(65M)
66852780
(64M)
-
116205578
(111M)
9
99740486
(96M)
78963640
(76M)
65841213
(63M)
65362226
(63M)
65859432
(63M)
65372696
(63M)
-
114824102
(110M)
gzip bzip2 lzma lzma -e xz xz -e lz4 lzop
4) Dictionary Size: This is very important parameter bigger dictionary size equals better
compression however here are couple of things to look out for:
1) Dictionary Size value difference: I noticed there is a cutoff point, where after some amount
of dictionary size you will not get a big compression size difference; for example between
4MB and 128 MB dictionary size there might be a huge compressed file size difference but
between 128 MB and 512 there might be only Couple of MB
2) Speed: The bigger the dictionary size is the longer it will take your PC to compress files.
3) System: This is very important you should take in consideration on what pc you are
compressing files and on what system you are going to decompress files. Why? the bigger your
dictionary size is more Memory(RAM) is required to complete compression and decompression.
When you change the value of Dictionary Size make sure that you will take a look at: Memory
usage for Compressing and Memory Usage for Decompressing
Memory usage for Compressing: Make Sure that you have more Memory(RAM) than it is
tallying you that it will use. otherwise your pc will most probably hang and require reboo.
Memory Usage for Decompressing: Make sure that on a pc you are planning on decompress
this file has more Memory(RAM) than it is asking for
5) Word Size: Higher the value the better compression you are generally going to get ( however
it is really dependent on files you are trying to compress) You might get really big difference or
might get nonexistent difference. You should keep in mind that Word Size, might almost have no
effect the size of a compressed file however it will always effect the speed of the compression so
sticking to 64 is good practice
6) Solid Block Size: With this option you can enable solid compression, which can improve
compression when storing multiple similar files. However extracting or adding a single file from
an archive like this will take longer than none solid block compression. However the best
practice is manually select the size of a block, for example if you are trying to compress 5 files
and each file is 512 MB you might select block size 512MB. Block size is up to you and your
judgement or easy way out is, just stick with the preset that 7zip is offering you like 2 GB or 4
GB
for more information you can see this
7) Number of CPU threads: Select the number of your pc threads that 7z will use, more threads
will equal to faster compression, however some people say that, selecting more then 2 threads
might hurt the compression size.
8) Split to volumes: This will just split the archive at a special size you specified, for example if
you are trying to burn 2 GB of files on a CD you can tell 7z to split the archive every 650Mb,
What it will do is create couple of parts, Singe part will not be more than you specified (in our
situation 650MB) however uncompromising the files will require all the parts.
9) Update mode: This is where you can select update method
Take a look at this for more information (source)
Value Meaning
Add and replace files Add all specified files to the archive.
Update and add files Update older files in the archive and add files that are new to
the archive.
Freshen existing files Update specified files in the archive that are older than the
selected disk files.
Synchronize files Replace specified files only if added files are newer. Always
add those files, which are not present in the archive. Delete
from archive those files, which are not present on the disk.
10)Create SFX archive: This will Create a Self-extracting archive you might know what this
is, You might have download a file from internet that has a 7z log and when you doable click on
it, a window appears and asks you where to extract this files. If you check SFX you are going to
create a file that will just do that Self-extracting archive.
11) Compress shared files: This option compress a file when it is open in another application.
12) Enter Password: If you enter password here the archive you are going to create will be
password protected by the password you entered.
13) Reenter password: * //Guess what to do here
14)Show Password: This will make viable the password you are entering abow
15) Encryption method: Here you select the encryption method for more information you can
take a look at this guide
16)Encrypt file names: Here you can enable or disable archive encryption.
17)Parameters: The Parameters field is for specifying any options you need that are not
available via dedicated dialog controls. for more information you can take a look here
________________________________________________________
Used information: Thank you awesome people who worked on them.
http://digitalstudio7.blogspot.com/2013/03/best-file-compression-method.html?q=rar
http://www.altap.cz/salamander/help/7zip/dlgboxes_newarc/
http://sevenzip.sourceforge.jp/chm/fm/plugins/7-zip/add.htm
http://pokecraft.first-
world.info/wiki/Quick_Benchmark:_Gzip_vs_Bzip2_vs_LZMA_vs_XZ_vs_LZ4_vs_LZO
http://peazip.sourceforge.net/what-is-solid-compression.html
http://www.ncl.ac.uk/itservice/security/encryption/encryptionprocedures/How%20to%20encrypt
%20and%20decrypt%20files%20with%207Zip%20-%20v1.2.pdf
http://7zsfx.info/en/
________________________________________________________
This guide version 0.76
Contact information: Studio76@mail.com
Thank you for your time

Más contenido relacionado

La actualidad más candente

Java Server Faces (JSF) - Basics
Java Server Faces (JSF) - BasicsJava Server Faces (JSF) - Basics
Java Server Faces (JSF) - BasicsBG Java EE Course
 
What is ETL testing & how to enforce it in Data Wharehouse
What is ETL testing & how to enforce it in Data WharehouseWhat is ETL testing & how to enforce it in Data Wharehouse
What is ETL testing & how to enforce it in Data WharehouseBugRaptors
 
Mean full stack development
Mean full stack developmentMean full stack development
Mean full stack developmentScott Lee
 
Scaling out SSIS with Parallelism, Diving Deep Into The Dataflow Engine
Scaling out SSIS with Parallelism, Diving Deep Into The Dataflow EngineScaling out SSIS with Parallelism, Diving Deep Into The Dataflow Engine
Scaling out SSIS with Parallelism, Diving Deep Into The Dataflow EngineChris Adkin
 
Ch06 ado.net fundamentals
Ch06 ado.net fundamentalsCh06 ado.net fundamentals
Ch06 ado.net fundamentalsMadhuri Kavade
 
Strutsから移行する人のためのjsf基礎
Strutsから移行する人のためのjsf基礎Strutsから移行する人のためのjsf基礎
Strutsから移行する人のためのjsf基礎Satoshi Kubo
 
Flutter state management from zero to hero
Flutter state management from zero to heroFlutter state management from zero to hero
Flutter state management from zero to heroAhmed Abu Eldahab
 
Open Source ETL vs Commercial ETL
Open Source ETL vs Commercial ETLOpen Source ETL vs Commercial ETL
Open Source ETL vs Commercial ETLJonathan Levin
 
No sql Orientado a documento
No sql Orientado a documentoNo sql Orientado a documento
No sql Orientado a documentoAlex Martins
 
Dwh lecture-07-denormalization
Dwh lecture-07-denormalizationDwh lecture-07-denormalization
Dwh lecture-07-denormalizationSulman Ahmed
 
Various Applications of Data Warehouse.ppt
Various Applications of Data Warehouse.pptVarious Applications of Data Warehouse.ppt
Various Applications of Data Warehouse.pptRafiulHasan19
 
Laravel Blade×vue.js 混在させる場合の注意点
Laravel Blade×vue.js 混在させる場合の注意点Laravel Blade×vue.js 混在させる場合の注意点
Laravel Blade×vue.js 混在させる場合の注意点誠一郎 栗原
 
Jdbc in servlets
Jdbc in servletsJdbc in servlets
Jdbc in servletsNuha Noor
 
Data Warehouse Design Considerations
Data Warehouse Design ConsiderationsData Warehouse Design Considerations
Data Warehouse Design ConsiderationsRam Kedem
 
Unit 1 introduction to web programming
Unit 1 introduction to web programmingUnit 1 introduction to web programming
Unit 1 introduction to web programmingzahid7578
 
React – ¿Qué es React.js?
React – ¿Qué es React.js?React – ¿Qué es React.js?
React – ¿Qué es React.js?Gorka Magaña
 
Angular Best Practices To Build Clean and Performant Web Applications
Angular Best Practices To Build Clean and Performant Web ApplicationsAngular Best Practices To Build Clean and Performant Web Applications
Angular Best Practices To Build Clean and Performant Web ApplicationsAlbiorix Technology
 

La actualidad más candente (20)

Java Server Faces (JSF) - Basics
Java Server Faces (JSF) - BasicsJava Server Faces (JSF) - Basics
Java Server Faces (JSF) - Basics
 
What is ETL testing & how to enforce it in Data Wharehouse
What is ETL testing & how to enforce it in Data WharehouseWhat is ETL testing & how to enforce it in Data Wharehouse
What is ETL testing & how to enforce it in Data Wharehouse
 
Mean full stack development
Mean full stack developmentMean full stack development
Mean full stack development
 
Scaling out SSIS with Parallelism, Diving Deep Into The Dataflow Engine
Scaling out SSIS with Parallelism, Diving Deep Into The Dataflow EngineScaling out SSIS with Parallelism, Diving Deep Into The Dataflow Engine
Scaling out SSIS with Parallelism, Diving Deep Into The Dataflow Engine
 
Ch06 ado.net fundamentals
Ch06 ado.net fundamentalsCh06 ado.net fundamentals
Ch06 ado.net fundamentals
 
Strutsから移行する人のためのjsf基礎
Strutsから移行する人のためのjsf基礎Strutsから移行する人のためのjsf基礎
Strutsから移行する人のためのjsf基礎
 
Flutter state management from zero to hero
Flutter state management from zero to heroFlutter state management from zero to hero
Flutter state management from zero to hero
 
Google file system
Google file systemGoogle file system
Google file system
 
Ajax
AjaxAjax
Ajax
 
Open Source ETL vs Commercial ETL
Open Source ETL vs Commercial ETLOpen Source ETL vs Commercial ETL
Open Source ETL vs Commercial ETL
 
No sql Orientado a documento
No sql Orientado a documentoNo sql Orientado a documento
No sql Orientado a documento
 
Dwh lecture-07-denormalization
Dwh lecture-07-denormalizationDwh lecture-07-denormalization
Dwh lecture-07-denormalization
 
Various Applications of Data Warehouse.ppt
Various Applications of Data Warehouse.pptVarious Applications of Data Warehouse.ppt
Various Applications of Data Warehouse.ppt
 
Workshop React.js
Workshop React.jsWorkshop React.js
Workshop React.js
 
Laravel Blade×vue.js 混在させる場合の注意点
Laravel Blade×vue.js 混在させる場合の注意点Laravel Blade×vue.js 混在させる場合の注意点
Laravel Blade×vue.js 混在させる場合の注意点
 
Jdbc in servlets
Jdbc in servletsJdbc in servlets
Jdbc in servlets
 
Data Warehouse Design Considerations
Data Warehouse Design ConsiderationsData Warehouse Design Considerations
Data Warehouse Design Considerations
 
Unit 1 introduction to web programming
Unit 1 introduction to web programmingUnit 1 introduction to web programming
Unit 1 introduction to web programming
 
React – ¿Qué es React.js?
React – ¿Qué es React.js?React – ¿Qué es React.js?
React – ¿Qué es React.js?
 
Angular Best Practices To Build Clean and Performant Web Applications
Angular Best Practices To Build Clean and Performant Web ApplicationsAngular Best Practices To Build Clean and Performant Web Applications
Angular Best Practices To Build Clean and Performant Web Applications
 

Destacado

The Easiest Way To Pass The PMP Exam
The Easiest Way To Pass The PMP ExamThe Easiest Way To Pass The PMP Exam
The Easiest Way To Pass The PMP ExamOSP International LLC
 
Manual d'us 7-zip
Manual d'us 7-zipManual d'us 7-zip
Manual d'us 7-zipmolina1994
 
Snp tables documentation
Snp tables documentationSnp tables documentation
Snp tables documentationMahesh Birajdar
 
Manual básico 7-ZIP
Manual básico 7-ZIPManual básico 7-ZIP
Manual básico 7-ZIPTotus Muertos
 
12 Steps for Medical Device UDI Submissions to the FDA GUDID
12 Steps for Medical Device UDI Submissions to the FDA GUDID12 Steps for Medical Device UDI Submissions to the FDA GUDID
12 Steps for Medical Device UDI Submissions to the FDA GUDIDJoe Hage
 
Sys online olsa ld_rv073112_htv053012_es_spa
Sys online olsa ld_rv073112_htv053012_es_spaSys online olsa ld_rv073112_htv053012_es_spa
Sys online olsa ld_rv073112_htv053012_es_spaGerardo Barrigón Pérez
 
Encuentro Digital CEXT con la Consejera de Trabajo e Inmigración de la Embaja...
Encuentro Digital CEXT con la Consejera de Trabajo e Inmigración de la Embaja...Encuentro Digital CEXT con la Consejera de Trabajo e Inmigración de la Embaja...
Encuentro Digital CEXT con la Consejera de Trabajo e Inmigración de la Embaja...Cext
 
Paper flexibel-benefits feb2016_margas.it
Paper flexibel-benefits feb2016_margas.itPaper flexibel-benefits feb2016_margas.it
Paper flexibel-benefits feb2016_margas.itDebora Casalini
 
MÁLAGA GASTRONOMY - Leisure & Culture on the Costa del Sol
MÁLAGA GASTRONOMY - Leisure & Culture on the Costa del SolMÁLAGA GASTRONOMY - Leisure & Culture on the Costa del Sol
MÁLAGA GASTRONOMY - Leisure & Culture on the Costa del SolPablo Amador Fernández
 
Informe de gestión
Informe de gestiónInforme de gestión
Informe de gestiónjhovany1821
 
Thijs Feryn: Varnish - where devops & sysadmins meet
Thijs Feryn: Varnish - where devops & sysadmins meetThijs Feryn: Varnish - where devops & sysadmins meet
Thijs Feryn: Varnish - where devops & sysadmins meetVarnish Software
 
6 Steps To Keep Pace With The Omnichannel Consumer
6 Steps To Keep Pace With The Omnichannel Consumer6 Steps To Keep Pace With The Omnichannel Consumer
6 Steps To Keep Pace With The Omnichannel ConsumerG3 Communications
 
MISA DE AÑO AMIGA ANITA LLANOS 31-03-2015
MISA DE AÑO AMIGA ANITA LLANOS 31-03-2015MISA DE AÑO AMIGA ANITA LLANOS 31-03-2015
MISA DE AÑO AMIGA ANITA LLANOS 31-03-2015Alejandro Sosa
 

Destacado (20)

The Easiest Way To Pass The PMP Exam
The Easiest Way To Pass The PMP ExamThe Easiest Way To Pass The PMP Exam
The Easiest Way To Pass The PMP Exam
 
Manual d'us 7-zip
Manual d'us 7-zipManual d'us 7-zip
Manual d'us 7-zip
 
Snp tables documentation
Snp tables documentationSnp tables documentation
Snp tables documentation
 
Manual básico 7-ZIP
Manual básico 7-ZIPManual básico 7-ZIP
Manual básico 7-ZIP
 
12 Steps for Medical Device UDI Submissions to the FDA GUDID
12 Steps for Medical Device UDI Submissions to the FDA GUDID12 Steps for Medical Device UDI Submissions to the FDA GUDID
12 Steps for Medical Device UDI Submissions to the FDA GUDID
 
Publicidad 2,0
Publicidad  2,0Publicidad  2,0
Publicidad 2,0
 
eddie resume AUS
eddie resume AUSeddie resume AUS
eddie resume AUS
 
Sys online olsa ld_rv073112_htv053012_es_spa
Sys online olsa ld_rv073112_htv053012_es_spaSys online olsa ld_rv073112_htv053012_es_spa
Sys online olsa ld_rv073112_htv053012_es_spa
 
Encuentro Digital CEXT con la Consejera de Trabajo e Inmigración de la Embaja...
Encuentro Digital CEXT con la Consejera de Trabajo e Inmigración de la Embaja...Encuentro Digital CEXT con la Consejera de Trabajo e Inmigración de la Embaja...
Encuentro Digital CEXT con la Consejera de Trabajo e Inmigración de la Embaja...
 
Paper flexibel-benefits feb2016_margas.it
Paper flexibel-benefits feb2016_margas.itPaper flexibel-benefits feb2016_margas.it
Paper flexibel-benefits feb2016_margas.it
 
MÁLAGA GASTRONOMY - Leisure & Culture on the Costa del Sol
MÁLAGA GASTRONOMY - Leisure & Culture on the Costa del SolMÁLAGA GASTRONOMY - Leisure & Culture on the Costa del Sol
MÁLAGA GASTRONOMY - Leisure & Culture on the Costa del Sol
 
Informe de gestión
Informe de gestiónInforme de gestión
Informe de gestión
 
Thijs Feryn: Varnish - where devops & sysadmins meet
Thijs Feryn: Varnish - where devops & sysadmins meetThijs Feryn: Varnish - where devops & sysadmins meet
Thijs Feryn: Varnish - where devops & sysadmins meet
 
Cavernoso
CavernosoCavernoso
Cavernoso
 
NAJIT Logo
NAJIT LogoNAJIT Logo
NAJIT Logo
 
Nuevas tecnologias
Nuevas tecnologiasNuevas tecnologias
Nuevas tecnologias
 
Ositos en-el-frio
Ositos en-el-frioOsitos en-el-frio
Ositos en-el-frio
 
6 Steps To Keep Pace With The Omnichannel Consumer
6 Steps To Keep Pace With The Omnichannel Consumer6 Steps To Keep Pace With The Omnichannel Consumer
6 Steps To Keep Pace With The Omnichannel Consumer
 
MISA DE AÑO AMIGA ANITA LLANOS 31-03-2015
MISA DE AÑO AMIGA ANITA LLANOS 31-03-2015MISA DE AÑO AMIGA ANITA LLANOS 31-03-2015
MISA DE AÑO AMIGA ANITA LLANOS 31-03-2015
 
Chapuzas
ChapuzasChapuzas
Chapuzas
 

Similar a 7-zip compression settings guide

Managing your data - Introduction to Linux for bioinformatics
Managing your data - Introduction to Linux for bioinformaticsManaging your data - Introduction to Linux for bioinformatics
Managing your data - Introduction to Linux for bioinformaticsBITS
 
Live memory forensics
Live memory forensicsLive memory forensics
Live memory forensicsMehedi Hasan
 
File System Comparison on Linux Ubuntu
File System Comparison on Linux UbuntuFile System Comparison on Linux Ubuntu
File System Comparison on Linux UbuntuJayesh Tambe
 
windows 7 installation.pptx
windows 7 installation.pptxwindows 7 installation.pptx
windows 7 installation.pptxTerrenceRamirez1
 
Google File System
Google File SystemGoogle File System
Google File SystemDreamJobs1
 
G zip compresser ppt
G zip compresser pptG zip compresser ppt
G zip compresser pptgaurav kumar
 
Operating system
Operating systemOperating system
Operating systemsathish sak
 
MongoDB memory management demystified
MongoDB memory management demystifiedMongoDB memory management demystified
MongoDB memory management demystifiedAlon Horev
 
Installing Linux: Partitioning and File System Considerations
Installing Linux: Partitioning and File System ConsiderationsInstalling Linux: Partitioning and File System Considerations
Installing Linux: Partitioning and File System ConsiderationsKevin OBrien
 
The installing of widows 7
The installing of widows 7The installing of widows 7
The installing of widows 7MCC
 
Course 102: Lecture 27: FileSystems in Linux (Part 2)
Course 102: Lecture 27: FileSystems in Linux (Part 2)Course 102: Lecture 27: FileSystems in Linux (Part 2)
Course 102: Lecture 27: FileSystems in Linux (Part 2)Ahmed El-Arabawy
 
Cache memory and cache
Cache memory and cacheCache memory and cache
Cache memory and cacheVISHAL DONGA
 
MongoDB and AWS Best Practices
MongoDB and AWS Best PracticesMongoDB and AWS Best Practices
MongoDB and AWS Best PracticesMongoDB
 
Hdlogger project 2014.Aug
Hdlogger project 2014.AugHdlogger project 2014.Aug
Hdlogger project 2014.Aug捷恩 蔡
 

Similar a 7-zip compression settings guide (20)

Managing your data - Introduction to Linux for bioinformatics
Managing your data - Introduction to Linux for bioinformaticsManaging your data - Introduction to Linux for bioinformatics
Managing your data - Introduction to Linux for bioinformatics
 
Live memory forensics
Live memory forensicsLive memory forensics
Live memory forensics
 
File System Comparison on Linux Ubuntu
File System Comparison on Linux UbuntuFile System Comparison on Linux Ubuntu
File System Comparison on Linux Ubuntu
 
trg1.pptx
trg1.pptxtrg1.pptx
trg1.pptx
 
windows 7 installation.pptx
windows 7 installation.pptxwindows 7 installation.pptx
windows 7 installation.pptx
 
Google File System
Google File SystemGoogle File System
Google File System
 
Cache memory presentation
Cache memory presentationCache memory presentation
Cache memory presentation
 
Linux%20 memory%20management
Linux%20 memory%20managementLinux%20 memory%20management
Linux%20 memory%20management
 
G zip compresser ppt
G zip compresser pptG zip compresser ppt
G zip compresser ppt
 
Operating system
Operating systemOperating system
Operating system
 
Hardware
HardwareHardware
Hardware
 
MongoDB memory management demystified
MongoDB memory management demystifiedMongoDB memory management demystified
MongoDB memory management demystified
 
Installing Linux: Partitioning and File System Considerations
Installing Linux: Partitioning and File System ConsiderationsInstalling Linux: Partitioning and File System Considerations
Installing Linux: Partitioning and File System Considerations
 
ZFS
ZFSZFS
ZFS
 
The installing of widows 7
The installing of widows 7The installing of widows 7
The installing of widows 7
 
Course 102: Lecture 27: FileSystems in Linux (Part 2)
Course 102: Lecture 27: FileSystems in Linux (Part 2)Course 102: Lecture 27: FileSystems in Linux (Part 2)
Course 102: Lecture 27: FileSystems in Linux (Part 2)
 
HDFS Internals
HDFS InternalsHDFS Internals
HDFS Internals
 
Cache memory and cache
Cache memory and cacheCache memory and cache
Cache memory and cache
 
MongoDB and AWS Best Practices
MongoDB and AWS Best PracticesMongoDB and AWS Best Practices
MongoDB and AWS Best Practices
 
Hdlogger project 2014.Aug
Hdlogger project 2014.AugHdlogger project 2014.Aug
Hdlogger project 2014.Aug
 

Último

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 

Último (20)

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 

7-zip compression settings guide

  • 1. 7-zip Compression Settings Guide Digital Studio 7 This guide is created to help 7-zip users understand what settings do what and how to achieve best compression on their systems, for this guide I am using 7-zip gui however I believe reading this guide will help you with commend line version as well. For this guide I am using 7-zip version 9.32 Lets Begine:
  • 2. 1) Archive Format: From this option you can select what archive format you want to use, however because this guide is dedicated to 7z lets stick to it. although I recommend you take a look at this article Best File Compression Method article. 2) Compression Level: This are presets for the settings, the names are pretty self explanatory, the presets start from Store (This preset compression settings can not be edited because it does not compress files) to Ultra (ultra is the highest compression preset, but we can achieve better compression by manually editing settings) Take a look at this table to understand better (source) Value Description Store No compression is used, files are just stored in archive in its original size. Fast Fast compression. Normal Recommended level of compression. Maximum Better compression, but it is slower and needs more memory. Ultra Best compression, but it is even slower and needs even more memory. 3) Compression Method: Here You can select the compression method, I recommend using lzma2 because it is considered generally as the best compression method, It is always good idea to default to it. Take a look at this for more information (source) Method Description LZMA Default compression method of 7z format. It provides high compression ratio and very fast decompression. LZMA2 LZMA-based compression method. It provides better multithreading support than LZMA. But compression ratio can be worse in some cases. For best
  • 3. compression ratio with LZMA2 use 1 or 2 CPU threads. If you use LZMA2 with more than 2 threads, 7-zip splits data to chunks and compresses these chunks independently (2 threads per each chunk). PPMd Dmitry Shkarin's PPMdH algorithm with small changes. Usually it provides high compression ratio and high speed for text files. BZip2 Standard compression method based on BWT algorithm. Usually it provides high speed and pretty good compression ratio for text files. Deflate Standard compression method of ZIP and GZip formats. Compression ratio is not too high. But it provides pretty fast compressing and decompressing. Deflate method supports only 32 KB dictionary. Deflate64 Modified version of Deflate algorithm with bigger dictionary (64KB). More information about compression cooperation see the below table (source) Compressed file size in bytes gzip bzip2 lzma lzma -e xz xz -e lz4 lzop 1 124875819 (120M) 93997047 (90M) 85618192 (82M) 72042179 (69M) 85630688 (82M) 72069084 (69M) 165844264 (159M) 168012430 (161M) 2 119040249 (114M) 87741348 (84M) 81480824 (78M) 70264395 (68M) 81492504 (78M) 70282944 (68M) 165844264 (159M) 166987891 (160M) 3 114931686 (110M) 84816957 (81MB) 79575087 (76MB) 69015118 (66MB) 79586568 (76MB) 69029204 (66MB) 165844264 (159M) 166987891 (160M) 5 102328357 (98M) 81837328 (79M) 69557610 (67M) 67879362 (65M) 69583428 (67M) 67875988 (65M) - 166987891 (160M)
  • 4. gzip bzip2 lzma lzma -e xz xz -e lz4 lzop 7 100128597 (96M) 80197758 (77M) 67276420 (65M) 66868212 (64M) 67294092 (65M) 66852780 (64M) - 116205578 (111M) 9 99740486 (96M) 78963640 (76M) 65841213 (63M) 65362226 (63M) 65859432 (63M) 65372696 (63M) - 114824102 (110M) gzip bzip2 lzma lzma -e xz xz -e lz4 lzop 4) Dictionary Size: This is very important parameter bigger dictionary size equals better compression however here are couple of things to look out for: 1) Dictionary Size value difference: I noticed there is a cutoff point, where after some amount of dictionary size you will not get a big compression size difference; for example between 4MB and 128 MB dictionary size there might be a huge compressed file size difference but between 128 MB and 512 there might be only Couple of MB 2) Speed: The bigger the dictionary size is the longer it will take your PC to compress files. 3) System: This is very important you should take in consideration on what pc you are compressing files and on what system you are going to decompress files. Why? the bigger your dictionary size is more Memory(RAM) is required to complete compression and decompression. When you change the value of Dictionary Size make sure that you will take a look at: Memory usage for Compressing and Memory Usage for Decompressing
  • 5. Memory usage for Compressing: Make Sure that you have more Memory(RAM) than it is tallying you that it will use. otherwise your pc will most probably hang and require reboo. Memory Usage for Decompressing: Make sure that on a pc you are planning on decompress this file has more Memory(RAM) than it is asking for 5) Word Size: Higher the value the better compression you are generally going to get ( however it is really dependent on files you are trying to compress) You might get really big difference or might get nonexistent difference. You should keep in mind that Word Size, might almost have no effect the size of a compressed file however it will always effect the speed of the compression so sticking to 64 is good practice
  • 6. 6) Solid Block Size: With this option you can enable solid compression, which can improve compression when storing multiple similar files. However extracting or adding a single file from an archive like this will take longer than none solid block compression. However the best practice is manually select the size of a block, for example if you are trying to compress 5 files and each file is 512 MB you might select block size 512MB. Block size is up to you and your judgement or easy way out is, just stick with the preset that 7zip is offering you like 2 GB or 4 GB for more information you can see this 7) Number of CPU threads: Select the number of your pc threads that 7z will use, more threads will equal to faster compression, however some people say that, selecting more then 2 threads might hurt the compression size. 8) Split to volumes: This will just split the archive at a special size you specified, for example if you are trying to burn 2 GB of files on a CD you can tell 7z to split the archive every 650Mb, What it will do is create couple of parts, Singe part will not be more than you specified (in our situation 650MB) however uncompromising the files will require all the parts. 9) Update mode: This is where you can select update method Take a look at this for more information (source) Value Meaning Add and replace files Add all specified files to the archive. Update and add files Update older files in the archive and add files that are new to the archive. Freshen existing files Update specified files in the archive that are older than the selected disk files. Synchronize files Replace specified files only if added files are newer. Always add those files, which are not present in the archive. Delete from archive those files, which are not present on the disk.
  • 7. 10)Create SFX archive: This will Create a Self-extracting archive you might know what this is, You might have download a file from internet that has a 7z log and when you doable click on it, a window appears and asks you where to extract this files. If you check SFX you are going to create a file that will just do that Self-extracting archive. 11) Compress shared files: This option compress a file when it is open in another application. 12) Enter Password: If you enter password here the archive you are going to create will be password protected by the password you entered. 13) Reenter password: * //Guess what to do here 14)Show Password: This will make viable the password you are entering abow 15) Encryption method: Here you select the encryption method for more information you can take a look at this guide 16)Encrypt file names: Here you can enable or disable archive encryption. 17)Parameters: The Parameters field is for specifying any options you need that are not available via dedicated dialog controls. for more information you can take a look here ________________________________________________________ Used information: Thank you awesome people who worked on them. http://digitalstudio7.blogspot.com/2013/03/best-file-compression-method.html?q=rar