Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
1  
benchmarks of compression algorithms : compressionratings.com/sort.cgi?rating_sum.brief+4n –  akira Jun 3 '12 at 8:19

2 Answers 2

up vote 5 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
2  
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.