LZMA Settings Dialog

Compression Settings

Custom LZMA

Method

Choose the appropriate LZMA method from the following values:

  • Store - Files will be copied to archive without compression.
  • LZMA - Our BEST compression method for archives. It provides high compression ratio and very fast decompression. Uses a maximum of 2 CPU threads during compression.
  • LZMA2 - Is an LZMA-based compression method that provides better multithreading support than LZMA compression (it scales with the number of CPU cores, to achieve faster builds). However, the compression ratio can be worse than LZMA in some cases, because LZMA2 method splits data into chunks and compresses these chunks independently (2 threads per each chunk).

Level

You can select the desired compression level for the LZMA archive. The following options are available:

  • Fastest - Fastest compression, poor compression level.
  • Fast - Fast compression, good compression level.
  • Normal - Compression with balanced settings: speed versus size.
  • Good - Gives better compression ratio than Normal level, but it is slower and it requires more memory.
  • Best - Gives the best compression ratio, but it is slower and it requires a lot of memory.
  • Custom - You can customize the LZMA archive parameters according to your needs.

TipFor more information about LZMA compression go to the LZMA Compression page.

Dictionary size

Specifies dictionary size for compression. Usually, higher dictionary size gives more compression ratio, but compressing can be slower, and it can require more memory. Memory (RAM) usage for LZMA compression is about 11 times more than dictionary size and strongly dependent on the number of CPU cores on the machine. Memory usage for LZMA decompression is close to value of dictionary size.

Word size

Specifies the length of words, which will be used to find identical sequences of bytes for compression. Usually, for LZMA big word size gives a little bit better compression ratio, but a slower compression process. Big word size parameter can significantly increase compression ratio in the case when files contain long identical sequences of bytes.