Bacula-users

Re: [Bacula-users] Bacula Compression - other then GZIP

2010-02-10 09:34:57
Subject: Re: [Bacula-users] Bacula Compression - other then GZIP
From: Petar Bogdanovic <petar AT smokva DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 10 Feb 2010 14:16:19 +0100
On Wed, Feb 10, 2010 at 09:05:19AM -0200, Gilberto Nunes wrote:
> 
> (...) gzip or I can use another compress program...

No.


> I want use bzip2 to compress my file, because I thing bzip2 is more
> efficient...

Really?

   $ du -m /tmp/foo.iso
        625     /tmp/foo.iso
   $ gzip -c </tmp/foo.iso | dd bs=64K >/dev/null
        0+34388 records in
        0+34388 records out
        563405802 bytes (563 MB) copied, 64.9428 s, 8.7 MB/s
   $ bzip2 -c </tmp/foo.iso | dd bs=64K >/dev/null
        0+137488 records in
        0+137488 records out
        563150276 bytes (563 MB) copied, 445.201 s, 1.3 MB/s

255526 bytes less while six times slower..

                Petar Bogdanovic

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users