Quote of the day : "Religion is the smile on a dog" Emma Bunton

Next quote in 22.1 hours. [suggest a quote]

Compressors : 7-Zip vs the others


  • We compared the 7-Zip file compressor to WinZip, WinAce and WinRAR on non-compressed files.
  • 7-Zip was over 100% slower than any other compressor for compression, but achieved a higher compression ratio (10.6% vs 12.2% - WinRAR, first file ; 27.9% vs 31.7% - WinAce, second file), and was as fast as WinAce and WinRAR for uncompression.


We wanted to clarify 7-Zip performances compared to WinZip, WinAce and WinRAR.
Basically, we wanted to (1) check if the 7z format is really better than the others (and see what the time cost is) and (2) check if 7-Zip really compresses better in Zip format than other Zip compressors.


We used a Pentium 4 1.4 GHz with 512 MiB of RDRAM, running Windows 2000 SP1 on a Maxtor HD. The files to compress were on a Western Digital HD (write speed 30MiB/s measured with Eraser).
Running processes when doing the tests :
Logfile of HijackThis v1.99.0

C:\Program Files\Sygate\SPF\smc.exe
C:\Program Files\Netropa\Multimedia Keyboard\nhksrv.exe
C:\Program Files\Dell\Solution Center\service.exe
C:\Program Files\Netropa\Multimedia Keyboard\MMKeybd.exe
C:\Program Files\Netropa\Multimedia Keyboard\mmusbkb2.exe
C:\Program Files\Netropa\Onscreen Display\OSD.exe
C:\Program Files\Logitech\MouseWare\system\em_exec.exe
C:\Program Files\AVPersonal\AVGNT.EXE
C:\Program Files\AVPersonal\AVGUARD.EXE
We created two archives, both contained non-compressed files only.
The first one contained one file, ip-to-country.csv (http://ip-to-country.webhosting.info - Dec 2,2004 - 2,696,649 Bytes).
The second one contained a whole OpenOffice.org 1.1.4 english installation (155,662,275 Bytes).

The softwares were configured as follow :

7-zip version 3.13 :
→7z format : Ultra, LZMA, Dictionary=32MB, Word size=64
→Zip format : Ultra, Deflate64, Dictionary=64KB, Word size=64

WinAce version 2.5 :
→Ace format : Maximum, Dictionary=4096K, Use Ace 2.0 compression
→Zip format : Maximum

WinRARversion 3.20 :
→RAR format : Best
→Zip format : Best

WinZip 8.1 :
→Zip format : Maximum


First file (ip-to-country.csv) :
CompressorSizeTime (CPU)
7-Zip, 7z286579 Bytes (10.6%)30 s
7-Zip, Zip379264 Bytes (14.1%)6 s
WinAce, Ace403748 Bytes (15%)4 s
WinAce, Zip451248 Bytes (16.7%)<2 s
WinRAR, RAR329662 Bytes (12.2%)2 s
WinRAR, Zip451165 Bytes (16.7%)2 s
WinZip, Zip451248 Bytes (16.7%)<2 s

Second file (OpenOffice.org) :
CompressorSizeTime (CPU)
7-Zip, 7z43433894 Bytes (27.9%)10 min 30 s
7-Zip, Zip64514938 Bytes (41.4%)4 min 10 s
WinAce, Ace49408901 Bytes (31.7%)4 min 17 s
WinAce, Zipnot done-
WinRAR, RAR53636151 Bytes (34.5%)2 min 28 s
WinRAR, Zipnot done-
WinZip, Zip67681339 Bytes (43.5%)1 min 20 s


7-Zip does achieve what it claims to be able to do : the 7z format makes substantially smaller archives than other popular formats (Zip, RAR and Ace), and 7-Zip is also able to compress using the Zip format better than other popular softwares (WinZip, WinRAR and WinACE).
Its biggest drawback is its slowness, however its decompression speed (30 s for the second 7z archive) is comparable to WinRAR's (31 s for the second RAR archive) or WinAce's (25 s for the second Ace archive), and a bit lower than WinZip's (18 s for the second Zip by 7-Zip archive).
Let's finish by saying 7-Zip is free, and also enables you to create auto-extractible archives (adds around 80 KB to the original archive). You should try it ;)

We should now assess 7-Zip performances on compressed files, for we noticed during our tests that its performances on compressed files seemed way more average.
Comments :
No comments yet
[Add a comment]