Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

enter image description here

So there are different compression methods in 7zip. Which method is best suited for what task?

For example: One difference between LZMA and LZMA2 is I can choose all my cpu cores, whereas in LZMA 2 cores is the max.

share|improve this question
benchmarks of compression algorithms : – akira Jun 3 '12 at 8:19
up vote 13 down vote accepted

Use LZMA 2 unless you are looking to extract the archive on a system that cannot deal with LZMA 2 archives.

Generally speaking most modern compression algorithms give roughly the same compression, and with regard to the number of cores that you can use at once, it is up to you to decide how many you want to use. Generally speaking (unless you are creating large archives) there is no reason to need more than one though. In addition, with multiple cores doing the compression, the bottleneck may become the hard drive.

share|improve this answer
side note: the better compression results ("ultra") are mostly bought by cpu and (important) ram. lzma2-ultra-dictsize(64mb)-4threads will eat 2+gb of ram, bzip2-ultra-dictsize(900kb) will eat 69mb of ram. – akira Jun 3 '12 at 8:17

Lzma2 is faster when using 4 or more cores and it gives better compression. This document explains it all.

share|improve this answer
Good document, thanks for this. – Horst Walter Jun 23 '12 at 0:16
I'm not saying the document is unusable, but it has a range of problems. Prominently, the author does not even specify what kind of data is being compressed (text? pictures? encrypted data?), does not use relative sizes where applicable and does not seem to understand solid archives at all. – mafu May 16 at 13:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .