On Saturday 2016-02-06 13:18, Per Jessen wrote:
Jan Engelhardt wrote:
Not using brotli wastes diskspace (and time). It's kind of new, but
compressed as well as xz, but in the time that it would take gzip. Try
it with linux-4*.tar.
Jan, which command line client did you use? I tried brotli with the one
from https://github.com/google/brotli but the compression times are not
exactly impressive. (much slower than lzma).
The google "bro"mance encoder defaults to Q11. The competetive comparison
is achieved with something like Q5/Q6
(Q6 is the defalut for gzip and xz anyway).
$ time (compr) linux-4.4.tar.gz
gzip -6: real 0m19.805s; user 0m19.612s; sys 0m00.164s
gzip -9: real 0m36.564s; user 0m36.240s; sys 0m00.264s
bro -q6: real 0m30.146s; user 0m29.480s; sys 0m00.628s
bro -q9: real 1m48.316s; user 1m46.616s; sys 0m01.600s
bzip -9: real 1m02.094s; user 1m01.856s; sys 0m00.176s
xz -6: real 5m24.331s; user 5m21.264s; sys 0m02.760s
xz -9: real 7m21.610s; user 7m00.148s; sys 0m20.984s
lzop -6: real 0m1.941s; user 0m01.764s; sys 0m00.172s
$ ls -l
-rw-r--r-- 1 648355840 Jan 11 00:12 linux-4.4.tar
-rw-r--r-- 1 108864919 Feb 6 17:47 linux-4.4.tar.bro6
-rw-r--r-- 1 102278771 Feb 6 18:09 linux-4.4.tar.bro9
-rw-r--r-- 1 104404286 Feb 6 18:10 linux-4.4.tar.bz2_9
-rw-r--r-- 1 134124849 Feb 6 17:49 linux-4.4.tar.gz6
-rw-r--r-- 1 132860730 Feb 6 18:07 linux-4.4.tar.gz9
-rw-r--r-- 1 224389488 Feb 6 18:02 linux-4.4.tar.lzo6
-rw-r--r-- 1 153760243 Feb 6 18:04 linux-4.4.tar.lzo9
-rw-r--r-- 1 89946128 Feb 6 17:55 linux-4.4.tar.xz6
-rw-r--r-- 1 86729768 Feb 6 18:17 linux-4.4.tar.xz9
compression speed:
gzip6: 33.05 MB/user sec;
gzip9: 17.89
bro6: 21.99
bro9: 6.08
xz: 2.01
result size × time = "pain points" (lower is better);
gzip: 2.6 * 10^9
bro6: 3.2 * 10^9
xz: 28.8 * 10^9
(you can calculate the rest)
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-factory+owner@opensuse.org