Re: emulate an end-of-media
- From: "Martin Laabs" <martin.laabs@xxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 26 Feb 2008 19:44:48 +0100
Hi,
Yes, gzip or bzip2 compress better, but they also:
* Are a lot slower.
Yesterday I made a comparison regarding the speed
of compress, bzip2 and gzip.
And actually compress is much slower than gzip:
$ dd if=/dev/random |compress -c > /dev/null
3883204 bytes/sec
$ dd if=/dev/random |gzip -c > /dev/null
8357889 bytes/sec
$ dd if=/dev/random |bzip2 -c > /dev/null
1042735 bytes/sec
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.
Best greet,
Martin L.
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: emulate an end-of-media
- From: Joerg Sonnenberger
- Re: emulate an end-of-media
- References:
- Re: emulate an end-of-media
- From: Martin Laabs
- Re: emulate an end-of-media
- From: Mike Meyer
- Re: emulate an end-of-media
- From: Alex Zbyslaw
- Re: emulate an end-of-media
- From: Julian H. Stacey
- Re: emulate an end-of-media
- From: Tim Kientzle
- Re: emulate an end-of-media
- Prev by Date: Re: Anybody have a patch for pdksh derivatives, for jails?
- Next by Date: Re: emulate an end-of-media
- Previous by thread: Re: emulate an end-of-media
- Next by thread: Re: emulate an end-of-media
- Index(es):
Relevant Pages
|
|