Mailinglist Archive: opensuse-factory (1029 mails)

< Previous Next >
Re: [opensuse-factory] Going forward with Plymouth (based on dracut changes)
On Wed, 23 Oct 2013 10:03:42 +0200
Philipp Wagner <lists@xxxxxxxxxxxxxxxxxx> wrote:

....
Those are compression times? What about the much more important
decompression times at boot?

Compression:
opensuse.tar 179087360
It is about 170 MB of email messages, in other words mostly text.

$ time xz -kz opensuse.tar
real 1m20.960s
user 1m20.477s
sys 0m0.229s

opensuse.tar.xz 18859460 (about 18 MB = 60% )

$ time bzip2 -zk9 opensuse.tar

real 0m31.556s
user 0m31.407s
sys 0m0.121s

opensuse.tar.bz2 23718197 (about 22.6 MB = 75.7% )

$ time gzip -9 opensuse.tar

real 0m7.590s
user 0m7.495s
sys 0m0.091s

opensuse.tar.gz 31332269 (about 30 MB = 100% )


Decompression:

$ time xz -d opensuse.tar.xz

real 0m2.626s
user 0m2.377s
sys 0m0.247s

$ time bzip2 -d opensuse.tar.bz2

real 0m6.336s
user 0m6.025s
sys 0m0.302s


$ time gzip -d opensuse.tar.gz

real 0m1.226s
user 0m1.023s
sys 0m0.201s

File size: xz > bzip2 > gzip
Compression time: gzip > bzip2 > xz
Decompression time: gzip > xz > bzip2

I was playing with compression ratio (0)1-9, but did not have time to
sort results.


--
Regards, Rajko.
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages