LZMA Dictionary Size
^bytesRAM
2 2*2 = 4 4 bytes
3 4*2 = 8 8 bytes
4 8*2 = 16 16 bytes
5 16*2 = 32 32 bytes
6 32*2 = 64 64 bytes
7 64*2 = 128 128 bytes
8 128*2 = 256 256 bytes
9 256*2 = 512 512 bytes
10 512*2 = 1024 1024 bytes
11 1024*2 = 2048 2 KB
12 2048*2 = 4096 4 KB
13 4096*2 = 8192 8 KB
14 8192*2 = 16384 16 KB
15 16384*2 = 32768 32 KB
16 32768*2 = 65536 64 KB
17 65536*2 = 131072 128 KB
18 131072*2 = 262144 256 KB
19 262144*2 = 524288 512 KB
20 524288*2 = 1048576 1024 KB
21 1048576*2 = 2097152 2 MB
22 2097152*2 = 4194304 4 MB
23 4194304*2 = 8388608 8 MB
24 8388608*2 = 16777216 16 MB
25 16777216*2 = 33554432 32 MB
26 33554432*2 = 67108864 64 MB
27 67108864*2 = 134217728 128 MB
28 134217728*2 = 268435456 256 MB
29 268435456*2 = 536870912 512 MB
30 536870912*2 = 1073741824 1 GB

This is 7-Zip tutorial on how to kreate a self-extracting executable for Microsoft® .NET Framework 1.0 with Service Pack 3 and ASP.NET Security Update for Service Pack 3 or choose KGZKIT© KGZSetPoint260 for Logitech® SetPoint 2.60

-   Introduction   -

Introducing Kritical GamerZ 7-Zip for the beginning user! Where you will have hands on examples that are used in the most kurrent komputer konfigurations! All newer PCs are almost guaranteed to have very large hard drives. With this new trend, PCs will not have only 1 hard drive, but will have the kapability to hold up to 8 or more, this doesn't include external or USB drives. The total amount of kombined available hard disk space may be well over 500 GB. 7-Zip kan be used to archive your files and kreate backups to make use of any available free space.

7-Zip is not only a powerful archiving solution with its new 7z format, it kan also be used to kreate self-extracting installers! This 7-Zip tutorial will show you step-by-step how to kreate a self-extracting installer for Microsoft® .NET Framework 1.0 with Service Pack 3 & ASP.NET Security Update for Service Pack 3 Whether you are a beginner, novice, or advanced user, everyone will benefit!

-   Prerequisites   -

Microsoft® .NET Framework Redistributable 1.0
Microsoft® .NET Framework 1.0 Service Pack 3
ASP.NET Security Update for Microsoft® .NET Framework 1.0 Service Pack 3

-   Getting Started   -

Kreate a self-extracting executable for Microsoft .NET Framework 1.0 with Service Pack 3 and ASP.NET Service Update for Service Pack 3! Use this installer for deploying from a network share, in the Windows Pre-install Environment, or simply as a stand-alone installer! KGZNET10.zip kontains all the neccessary kode to kreate the ".NET Framework 1.0 SP3 SU3" self-extracting executable on the development komputer for distribution. The KGZKIT© Kommand Script KGZSTART.CMD, found within KGZNET10.zip, is used with 7-Zip to kompile the ".NET Framework 1.0 SP3 SU3" (54.0MB), into a self-extracting executable that is only 11 MB! Read further to see how this is akkomplished!

Figure 1.0 - KGZKIT© Library Directory

KGZKIT© Library directory should look like this image. Run D:\Install\DOTNET10\KGZSTART.cmd to build the KGZKIT© .NET 1.0 SP3 SU3 library. Hover your mouse over a "file" in Figure 1.0 above to see a kondensed version of the 7-Zip kommand line kode! Run KGZSTART.CMD to begin kreating the KGZKIT© library for the .NET 1.0 SP3 SU3 self-extracting executable.

-   Kompression Algorithm   -

7-Zip is an open source GUI & Kommand Line Archiver kreated by Igor Pavlov. It kompresses 7z, zip, gzip, ppmd.H and tar format, and includes options for AES encryption (password protection). 7-Zips default 7z format, uses LZMA kompression, a variation of LZ77. Here is a list of kompression algorithms and the optimized 7-Zip kommand line kombinations on enwik8 in ppmd (PPM), 7z (LZMA), bzip2 (BWT), and zip (LZ77) formats, for the algorithm See Large Text Compression Benchmark by Matt Mahoney.

  • CM = context mixing
  • PPM = prediction by partial match
  • BWT = Burrows-Wheeler transform
  • DMC = Dynamic Markov Coding
  • LZ77 = Lempel Ziv 1977
  • LZW = Lempel Ziv Welch

Optimized 7-Zip kommand line kombinations on enwik8 in ppmd (PPM), 7z (LZMA), bzip2 (BWT), and zip (LZ77) formats. The options are:
-m0=ppmd:mem=768m:o=10 equivalent to ppmd var H (with minor changes) order 10 with 768 MB memory.

7-Zip Optimum Kommand Lines and the Associated Algorithm
VersionOptimum 7-Zip Kommand LineAlgorithm
4.42 -m0-ppmd:mem=768:o=10 -sfx7xCon.sfx PPM

If
LZ kompression algorithm replaces frequently occurring substrings with pointers.
And
LZ77 kompression algorithm uses pointers to previous occurrences.
And
LZW kompression algorithm uses pointers to an adaptively built dictionary.
And
LZP kompression algorithm lets the dekompressor find the same kontext matches as a kompressor and then indicates, by a flag, whether the last match should be followed.
Then
LZMA kompression algorithm is LZ77 ergo, a variation of

The default kommand line for 7z LZMA kompression is as follows:

-m0=BCJ -m1=LZMA:a=1 d=22 mf=bt4 fb=32 mc=32 lc=3 lp=0 pb=2

If
you were to run the following kommand line
7z a -t7z .\testing.7z .\* -r
Then
the kommand line would be the same as
7z a -t7z .\testing.7z .\* -m0=BCJ -m1=LZMA:a=1 d=22 mf=bt4 fb=32 mc=32 lc=3 lp=0 pb=2 -r

-   Compression Mode   -

a=[0 | 1]

The new 7z format LZMA algorithm uses a default kompression mode of 1, where 0 = fast and 1 = normal Since 7z LZMA algorithm kompression mode defaults to a=1, it's not neccessary to add the switch into the kommand line, if you wanted to add the kompression mode switch, you would write the kommand line as follows:

-m0=BCJ -m1=LZMA:a=1 d=24 -ms -mmt

Use the 0 = fast compression mode switch when 7-Zipping files with the same extension in one archive, such as .txt or .doc files.

-   Dictionary Size   -

d={Size}[b|k|m]

How to determine the dictionary size for the new 7z format LZMA algorithm. 7-Zip help states "dictionary size will be calculated as DictionarySize = 2^Size bytes" The maximum dictionary size for 7z LZMA kompression is 1GB or 2^30 = 1,073,741,824

NOTE: 2^30 = 2 "to the power of" 30

How to use "to the power of" ^, see LZMA Dictionary Size