On Saturday 06 February 2016, Jan Engelhardt wrote:
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
On my machine my xz timeings are faster than your's but my gzip timings are slower than yours. Have you really used original gzip? xz -0 is about as fast as gzip -9 but compression is slightly better. In practice I use xz -3 very often because it's about 3 times as fast as xz -6. Should be similar to your bro -q9 compression and time.
$ 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)
Err ... do you really think that your "pain points" definition makes any sense? The worst compression would always win. No-compressesion (do nothing with the original file) takes 0 time, means 0 pain. Who could beat that? Even if no-compression would take 4 secs then it would have less than your gzip's 2.6 giga points :) cu, Rudi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org