On Mar 18, 2008, at 8:53 AM, Moinak Ghosh wrote:
>> Do you have any numbers around the compression ratios
>> achieved but p7zip's implementation of gzip?
>
> From past experience it will probably be around 2% better which
> will mean around 20MB savings after compression.
>
> In addition compressing the archive file using 7za(LZMA) will
> reduce it's size to 1/3rd of the current 40MB.
here's a quick test i ran on the X.cpio install file from the last
SXDE(01/08) install disc
. tests were run on mac os x - core 2 duo 2.33MHz - but am guessing
similar results on solaris
. [note: it appears that 7za and 7za bzip run multithreaded .. the
others don't ..]
Original file:
-rw-r--r-- 1 root wheel 173M Mar 18 22:52 /var/tmp/test/X.cpio
tool tcomp tdec size ratio
---- ------ ------ ---- -----
7za 92.154 14.453 65M 2.66x
7za-gz 43.454 6.760 85M 2.03x
7za-bz2 40.615 8.320 83M 2.08x
gzip 19.280 6.660 88M 1.97x
gzip-9 45.475 6.435 88M 1.97x
bzip2 47.152 17.623 83M 2.08x
bzip2-9 47.472 17.736 83M 2.08x
rzip 59.153 28.728 76M 2.28x
rzip-9 75.279 26.356 76M 2.28x
---------------
bash-3.2# 7za b
7-Zip (A) 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06
p7zip Version 4.57 (locale=utf8,Utf16=on,HugeFiles=on,2 CPUs)
RAM size: 2048 MB, # CPU hardware threads: 2
RAM usage: 425 MB, # Benchmark threads: 2
Dict Compressing | Decompressing
Speed Usage R/U Rating | Speed Usage R/U Rating
KB/s % MIPS MIPS | KB/s % MIPS MIPS
22: 2676 164 1589 2603 | 36573 196 1917 3767
23: 2668 169 1611 2718 | 36143 197 1917 3773
24: 2618 173 1630 2815 | 35688 198 1908 3774
25: 2591 175 1686 2959 | 34798 197 1895 3728
----------------------------------------------------------------
Avr: 170 1629 2774 197 1909 3761
Tot: 184 1769 3267
---
.je