Compression Performance: 7-Zip, MagicRAR, WinRAR, WinZip

Status
Not open for further replies.

mayankleoboy1

Distinguished
Aug 11, 2010
2,497
0
19,810
1. There is no difference between LZMA and LZM2 . Both are the same algorithm. The only difference is LZMA is limited to 2 threads. LZMA2 is much more threaded, but uses double the amount of RAM.

2. PPMd is strictly for compressing text. It compresses text better than any other algo. But it is limited to 1 core only.

3. WinRar 4.2 is much better threaded than previous versions.

4.7z threading depends a lot on the type of file compressed. On large files, it can use 100% of any number of cores. For many small files, it generally uses only 1 complete core.
 

mayankleoboy1

Distinguished
Aug 11, 2010
2,497
0
19,810
7ZIP is even more impressive when you consider that the LZMA format was designed by one single person. And then the program 7ZIP was also coded by that single person only.

Maybe contribute a few dollars to Igor Pavlov , the creator of 7Zip ?
 

ojas

Distinguished
Feb 25, 2011
2,924
0
20,810
Hey i had written this in the Haswell preview, but i think Chris missed it, so i'm repeating it here, since it is related.

Could we have an AES-256 encryption comparison between CPUs and/or archive managers?

Like without encryption vs with encryption, encryption with and without OpenCL, etc.
 

abbadon_34

Distinguished
Nothing new here, 7zip > WinRar > WinZip for quite some time. Why the inclusion of MagicRAR is a mystery, maybe a paid (failed) review? I'd be interested in an examine of the Parity/Recovery option of WinRAR and others. While still far behind PAR2 (or even the shady ICE Ecc), it is an important feature in Archiving that deserves more attention.
 

PreferLinux

Distinguished
Dec 7, 2010
1,023
0
19,460
[citation][nom]mayankleoboy1[/nom]1. There is no difference between LZMA and LZM2 . Both are the same algorithm. The only difference is LZMA is limited to 2 threads. LZMA2 is much more threaded, but uses double the amount of RAM.

2. PPMd is strictly for compressing text. It compresses text better than any other algo. But it is limited to 1 core only.

3. WinRar 4.2 is much better threaded than previous versions.

4.7z threading depends a lot on the type of file compressed. On large files, it can use 100% of any number of cores. For many small files, it generally uses only 1 complete core.[/citation]
4. You mean the 7Z format rather than 7-Zip.

I've seen 7-Zip, using the Zip format, hitting 100% CPU usage when archiving around 1500 – 2000 files, the vast majority of which (like >75%, if not >90%) were tiny, about half under 100 B and the other half between 1 kB and 4 kB. But with the same set of files I did a quick test, and using LZMA2 to 7z it was using 1 and a bit cores (going by my total CPU usage).
 

srap

Honorable
Feb 24, 2012
99
0
10,630
"For example, the latest version of WinZip include social media and cloud functionality."
Seriously, what. It randomly updates the facebook status, like: Imma zippin mah porn foldar! ? Or what?

The cloud part of WinZip can be useful for companies, but other than this, I don't see a single good reason why someone would not use 7-zip.
 

weatherdude

Distinguished
Jan 13, 2010
61
0
18,640
My hat is off to Igor Pavlov (and other contributors?). 7-Zip has been my compression tool of choice ever since I discovered it. With this performance data and it being Free and Open source the Elite award is definitely deserved.
 

ddpruitt

Honorable
Jun 4, 2012
1,109
0
11,360
While agree with the results of the article I lost a HUGE amount of respect for the authors and Tom's.

TAR is NOT and NEVER WAS a compression format. It's a UNIX tool used to create one file out of several for Tape ARchives.

And if you bring BZIP2 and GZIP compression formats, the primary compression format for UNIX vs ZIP the primary format for windows, maybe you oughta use the tools that have been around for 15+ years for these formats, you know the UNIX ones. Tools that had to be fast because they had no choice, because you can't waste CPU cycles or tape when your tape is only a few megs.
 

mynith

Distinguished
Jan 3, 2012
133
0
18,680
Umm, the difference between LZMA and LZMA2 is that LZMA2 decides for individual blocks of data whether to compress them or not, yielding superior performance. That thread-limited thing I know nothing about. Also, I've been using 7Zip for 6 years now, and see no reason why anyone should use anything else. It's just the best thing ever. And available for Mac and Linux as well.
 

martinigm

Distinguished
Feb 1, 2013
6
2
18,515
What about the unpacking performance of the programs? Doesn't that count for anything. I'm wondering which of the programs unpacks a 5-10GB archived who is divided into smaller parts?
 

ElDani

Honorable
Mar 19, 2013
7
1
10,515
Thanks for this review, but I cannot agree with your results, because mine are staggeringly different!

Here are some stats from a comparison I did myself, on a scenario of some files, that are being compressed and sent to a backup-server on the Internet every single day. This is, in effect, a real practical example and not some random test data, which may or may not show the same characteristics as many of the available benchmarks.

The data from my tests may not be as scientifically accurate as yours in this review, mainly because this is not a clean workstation and the files were both read from and written to the same HDD, I fully understand that fact. But the results are still so significantly different, that some minor deviations from the hard-drive performance or background applications like an idle browser or the deactivated Avast! won't make much difference to the results.

The hardware and operating system used in my test:

Windows 7 SP1 64-bit
Intel i5-2500K (turbo deactivated, all 4 cores at 3.7 GHz)
16GB Kingston DDR3-1333 CL9 RAM

The programs I used:

WinRAR 4.20 64-Bit
7-Zip 9.30 alpha

The files I compressed:

962 files, total size 614.87 MB, average size ~ 655 KB
types are html, js, php and cgi in that order

The WinRAR settings I currently use:

rar, best compression, solid archive, lock archive, force text compression, 1024 KB dictionary size

The 7-Zip settings I tried (all with 4 threads):

a) 7z, ultra, lzma2, rest default values (32 MB dictionary, 64 word size, 4 GB block size)
b) 7z, maximum, lzma2, solid block size, rest default values (32 MB dictionary, 64 word size)
c) 7z, maximum, lzma2, 8 MB dictionary, 32 word size, solid block size

The results of the compression tests:

WinRAR - 125.62 MB - 2:12 minutes
7-Zip a) - 142.21 MB - 5:10 minutes
7-Zip b) - 144.48 MB - 4:33 minutes
7-Zip c) - 149.99 MB - 3:00 minutes

In the end, WinRAR is both one third faster than the fastest 7-Zip settings I used and it creates an over ten percent smaller archive than the smallest alternative file.

Maybe there is some unknown "golden setting" that I could achieve, by playing around with the dictionary, word and block sizes in 7-Zip. If someone knows of certain settings, that would work better than mine did for text-only files with a target compression rate of 20 percent, I would be grateful to hear about it.

As it stands though, I am very happy with my WinRAR.
 

ojas

Distinguished
Feb 25, 2011
2,924
0
20,810
[citation][nom]mayankleoboy1[/nom]^ 7 zip can use the Hardware based Intel AES-NI extensions.[/citation]
Which is exactly why i want to see a benchmark. Sandy bridge onwards should show a huge jump from previous generations.
 
Two things to consider when choosing a compression tool that don't seem to be covered here:
1. comparison of the graphical user interfaces
2. decompression speeds (including comparison to the Windows built-in ability to decompress the ZIP format)
 

thermopyle

Honorable
Mar 11, 2013
20
0
10,520
7zip's performance advantage doesn't really matter when you consider how much more user-friendly WinRAR is. If you have a common profile you want to use every time (encryption, password, compression setting, volume size, whether files are stored in individual or a joint file), you're out of luck with 7zip. If it comes down to being able to select and .rar a bunch of files without having to do anything other than choose "add to archive" versus setting all of that stuff for each file, I'm going with WinRAR every time.
 
Status
Not open for further replies.