Edit page memo/benchmark/compression
[wiki.git] / memo / benchmark / compression
1 == A crude CPU benchmark using lossless compression algorithms ==
2
3 === How to test ===
4
5 {{{
6 time lzop  >/dev/null <testfile
7 time gzip  >/dev/null <testfile
8 time bzip2 >/dev/null <testfile
9 time xz    >/dev/null <testfile
10 }}}
11
12 "testfile" is a 175MB avi (southpark_12x12_about_last_night.avi). It's not actually compressible, but it doesn't matter.
13
14 === Results ===
15
16 || **Hostname** || **System**     || ** CPU Brand**              || **CPU** ||**Clock**||**Arch**|| **OS**       ||
17 || xyzzy.cam    || Dell T3500     || Intel(R) Xeon(R) CPU        ||   W3690 || 3.47GHz || x86_64 ||              ||
18 || xyzzy.i      || XEN            || Intel(R) Xeon(R) CPU        ||   X5679 || 3.20GHz || x86_64 ||              ||
19 || giskard-x230 || Lenovo X230    || Intel(R) Core(TM) i5        ||   3320M || 2.60GHz || x86_64 || Ubuntu 14.04 ||
20 || giskard-x220 || Lenovo X220    || Intel(R) Core(TM) i5        ||   2520M || 2.50GHz || x86_64 || Ubuntu 14.04 ||
21 || glaptop-x220 || Lenovo X220    || Intel(R) Core(TM) i5        ||   2520M || 2.50GHz || x86_64 ||              ||
22 || giskard-x201 || Lenovo X201    || Intel(R) Core(TM) i7 CPU    ||   M 620 || 2.67GHz || x86_64 ||              ||
23 || istek        || Lenovo X201    || Intel(R) Core(TM) i5 CPU    ||   M 540 || 2.53GHz || x86_64 ||              ||
24 || r2d2         || PowerEdge R410 || Intel(R) Xeon(R) CPU        ||   E5520 || 2.27GHz || x86_64 ||              ||
25 || ummak        || Lenovo Laptop  || Intel(R) Core(TM)2 Duo CPU  ||   T9300 || 2.50GHz || x86_64 ||              ||
26 || groucho      ||                || Intel(R) Core(TM)2          ||   Q6600 || 2.40GHz || x86_64 ||              ||
27 || asus-m2avm   || ASUS M2-AVM    || AMD Athlon 64 X2            ||   5600+ || 2.90GHz || x86_64 ||              ||
28 || triton       ||                || AMD Quad-Core Opteron       || 2374 HE || 2.21GHz || x86_64 ||              ||
29 || sroselli     || Lenovo x200s   || Intel(R) Core(TM)2 Duo CPU  ||   L9400 || 1.80GHz || x86_64 ||              ||
30 || helios       ||                || Intel(R) Core(TM)2 Duo CPU  ||   P7350 || 2.00GHz || x86_64 ||              ||
31 || sunjammer    || XEN            || AMD Dual-Core Opteron       || 2216 HE || 2.41GHz || x86_64 ||              ||
32 || treehouse    || Supermicro     || AMD Opteron 2214HE          ||         || 2.20GHz || x86_64 ||              ||
33 || beamrider    || KVM            || AMD Dual-Core Opteron       || 2214 HE || 2.20GHz || x86_64 ||              ||
34 || trinity      || Supermicro     || Intel(R) Core(TM)2 CPU      ||    6400 || 2.13GHz || i386   ||              ||
35 || bender       || Desktop PC     || Intel(R) Core(TM)2 CPU      ||    6300 || 1.86GHz || x86_64 ||              ||
36 || sunjammerold || XEN            || ???                         ||         || ???     || x86_64 ||              ||
37 || buildslave4  || XEN            || AMD Quad-Core Opteron       ||  2347HE || 1.90GHz || x86_64 ||              ||
38 || giskard-x200s || Lenovo x200s  || Intel(R) Core(TM)2 Duo CPU  ||   U9300 || 1.20GHz || x86_64 ||              ||
39 || loongson     || Yeelong        || MIPS                        ||         ||         || mipsel ||              ||
40 || dfarning     || IdeaPad Y650   || Intel(R) Core(TM)2 Duo CPU  ||   P8700 || 2.53GHz || x86_64 ||              ||
41
42 ==== Time (seconds) ====
43
44 || **Hostname**     ||**lzop**||**gzip**||**bzip2**||**lzma** || **xz**  ||**index**||
45 || xyzzy.cam        ||  0.228 ||  5.375 ||  29.697 ||         ||  60.827 ||        ||
46 || giskard-x230     ||  0.199 ||  6.418 ||  26.125 ||         ||  67.543 ||        ||
47 || xyzzy.i          ||  0.255 ||  7.056 ||  36.174 ||         ||  73.280 ||        ||
48 || giskard-x220     ||  0.219 ||  6.826 ||  28.311 ||         ||  72.894 ||        ||
49 || glaptop-x220     ||  2.622 ||  6.058 ||  31.523 ||         ||  72.578 ||        ||
50 || giskard-x201     ||  2.960 ||  6.952 ||  37.157 ||  97.508 ||  95.945 ||  2.213 ||
51 || istek            ||        ||  7.550 ||  35.480 ||         || 103.210 ||        ||
52 || r2d2             ||  3.896 ||  9.029 ||  37.652 ||  84.727 ||  84.554 ||        ||
53 || ummak            ||  3.790 ||  9.231 ||  36.311 ||  94.530 ||         ||  2.247 ||
54 || dfarning         ||  4.041 ||  9.963 ||  42.631 || 104.108 || 105.507 ||        ||
55 || groucho          ||  4.259 || 12.394 ||  56.541 || 158.497 ||         ||        ||
56 || asus-m2avm       ||  4.101 || 10.104 ||  66.804 || 201.453 ||         ||        ||
57 || triton           ||  4.445 || 11.363 ||  58.886 || 107.545 ||         ||        ||
58 || sroselli         ||  5.029 || 12.368 ||  48.520 || 113.379 || 108.542 ||        ||
59 || helios           ||  5.299 || 12.571 ||  50.886 || 115.713 ||         ||        ||
60 || sunjammer        ||  5.088 || 12.675 ||  71.956 || 130.412 || 154.248 ||        ||
61 || treehouse        ||        || 12.551 ||  76.207 || 139.021 || 150.076 ||        ||
62 || beamrider        ||  5.225 || 13.094 ||  77.227 || 139.882 || 155.931 ||        ||
63 || trinity          ||  5.196 || 15.462 ||  61.448 || 212.371 ||         ||  1.000 ||
64 || bender           ||  5.516 || 16.163 ||  62.373 || 201.685 ||         ||        ||
65 || sunjammerold     ||  9.196 || 13.019 ||  85.394 || 216.806 ||         ||        ||
66 || buildslave4      ||  9.693 || 18.990 ||  73.788 || 202.622 ||         ||        ||
67 || giskard-x200s    || 7.852 || 19.865 ||  89.311 || 266.837 || 153.761 ||  0.796 ||
68 || loongson         || 20.918 || 72.245 || 314.057 || 629.609 ||         ||        ||
69
70 ==== MB/s ====
71 || trinity      ||  33.68 ||  12.10 ||   2.85  ||    0.82 ||         ||        ||
72 || giskard-x201 ||        ||        ||         ||         ||    4.44 ||        ||
73 || glaptop-x220 || 754.31 ||  25.87 ||   5.87  ||    2.53 ||    2.30 ||        ||
74
75 ==== Notes ====
76  * all targets using 1 core only!
77  * "index" is gzip compression performance relative to trinity (probably)
78  * is xz faster or slower than lzma?