Gzip better than Bz2 ? Normal?

wwp subscript at free.fr
Mon Jan 2 09:53:43 UTC 2006


Hello Franck,


On Sun, 1 Jan 2006 19:38:13 -0500 Franck Y <franck110 at gmail.com> wrote:

> Hi everyone,
> I ve got a strange behavior with bz2 and gzip.
> When i compress a small folder around 225 Mo the compression goes to
>   49 Mo for gzip
> 46 mo for bzip2
> 
> When i compress a bigger folder around 5 Go the compression goes to
> 2.6 Go for gzip
> 3.1  mo for bzip2
> 
> 
> Bzip2 has a better compress for Small folder and gzip has a better one
> for big folder.
> Has anyone of you has the same effect.
> 
> Maybe gzip did'nt compress everything how can i check this.
> Should i be worried.
> It's mostly office document.
> Happy new year,

Define "better"? This might be a bit subjective, and I guess that you deal w/
the size criteria. Another critical factor in compression is.. time. bzip2 is
*really* slower than gzip.

Here, etc.tar.bz2 is 5.8MB but takes 17sec, and etc.tar.gz is 8MB.. in 4sec.


Regards,

-- 
wwp




More information about the fedora-list mailing list