Re: emulate an end-of-media



On Tue, Feb 26, 2008 at 09:28:53PM +0100, Joerg Sonnenberger wrote:
On Tue, Feb 26, 2008 at 07:44:48PM +0100, Martin Laabs wrote:
I also made a comparison between gzip and bzip2 regarding
the compression ratio on a dump of my home directory (3.2GB)
bzip2 took about 74min to compress, gzip only 11minutes. And
in terms of compression ratio bzip2 was only 3% better than
gzip.

That's not a realistic test case. bzip2 normally takes trice the time
and compresses 10% better. I can't comment on compress.

Actually I've found that it depends on which architecture you run bzip2
and gzip on. Taking a sample set of files, I found bzip2 was faster on
amd64 than gzip; and gzip was faster on i386 than bzip2.
[its been a while... I might have the two reversed]

--
-- David (obrien@xxxxxxxxxxx)
Q: Because it reverses the logical flow of conversation.
A: Why is top-posting (putting a reply at the top of the message) frowned upon?
Let's not play "Jeopardy-style quoting"
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: speed of bzip2 versus gzip
    ... i never measured it to see if it is 50-60 times slower, but yes, gzip ... I wanted to use bzip2 to compress ... then your goal is to obtain the absolute best compression, ... more reasonable if you care about reasonably timely compression. ...
    (freebsd-questions)
  • Re: speed of bzip2 versus gzip
    ... i never measured it to see if it is 50-60 times slower, but yes, gzip ... I wanted to use bzip2 to compress ... then your goal is to obtain the absolute best compression, ... sys 0m0.257s ...
    (freebsd-questions)
  • Re: Linux Kernel Source Compression
    ... gzip is the winner again. ... usually two to six times more time than lzma, that is, four to twelve ... decompress the faster the smaller the compressed size is, while bzip2 ... gets slower when the compression ratio gets better. ...
    (Linux-Kernel)
  • Re: Transparent compression in the FS
    ... >>Note that a file compressed with bzip2 is not necessarily smaller than ... >>the same file compressed with gzip. ... > Have you noticed that with real-life data, ... whereas bzip2 is better at binary compression. ...
    (Linux-Kernel)
  • Re: Is /bin/zip large file aware?
    ... bzip2 does compress by default with -9, so any higher compression values ... with gzip instead of the default will favour gzip. ... bzip2 has a 20-30% better compression ratio than gzip. ...
    (comp.unix.solaris)