Edit page memo/benchmark/compression
[wiki.git] / memo / benchmark / compression
index 9e1fc2d08eb50a621165c8c69e358ab3024ee7a3..59f8d51bd29ee67e81045cd7f9669532ad182526 100644 (file)
@@ -1,48 +1,80 @@
-== CPU benchmark - compression ==
-
-|| ummak        || Lenovo Laptop  || Intel(R) Core(TM)2 Duo CPU  ||   T9300  || 2.50GHz || x86_64 ||
-|| groucho      ||                || Intel(R) Core(TM)2          ||   Q6600  || 2.40GHz || x86_64 ||
-|| asus-m2avm   || ASUS M2-AVM    || AMD Athlon 64 X2            ||   5600+  || 2.90GHz || x86_64 ||
-|| triton       ||                || AMD Quad-Core Opteron       || 2374 HE  || 2.21GHz || x86_64 ||
-|| sroselli     || Lenovo x200s   || Intel(R) Core(TM)2 Duo CPU  ||   L9400  || 1.80GHz || x86_64 ||
-|| helios       ||                || Intel(R) Core(TM)2 Duo CPU  ||   P7350  || 2.00GHz || x86_64 ||
-|| sunjammer    || XEN            || AMD Dual-Core Opteron       || 2216 HE  || 2.41GHz || x86_64 ||
-|| treehouse    || Supermicro     || AMD Opteron 2214HE          ||          || 2.20GHz || x86_64 ||
-|| beamrider    || KVM            || AMD Dual-Core Opteron       || 2214 HE  || 2.20GHz || x86_64 ||
-|| trinity      || Supermicro     || Intel(R) Core(TM)2 CPU      ||    6400  || 2.13GHz || i386   ||
-|| bender       || Desktop PC     || Intel(R) Core(TM)2 CPU      ||    6300  || 1.86GHz || x86_64 ||
-|| sunjammerold || XEN            || ???                         ||          || ???     || x86_64 ||
-|| buildslave4  || XEN            || AMD Quad-Core Opteron       ||  2347HE  || 1.90GHz || x86_64 ||
-|| giskard      || Lenovo x200s   || Intel(R) Core(TM)2 Duo CPU  ||   U9300  || 1.20GHz || x86_64 ||
-|| loongson     || Yeelong        || MIPS                        ||          ||         || mipsel ||
-
-=== Time (seconds) ===
-
-|| **machine** ||  lzop  ||  gzip  ||  bzip2  ||  lzma   ||   xz    || index  ||
---------------------------------------------------------------------------------
-|| ummak       ||  3.790 ||  9.231 ||  36.311 ||  94.530 ||         ||  2.247 ||
-|| groucho     ||  4.259 || 12.394 ||  56.541 || 158.497 ||         ||        ||
-|| asus-m2avm  ||  4.101 || 10.104 ||  66.804 || 201.453 ||         ||        ||
-|| triton      ||  4.445 || 11.363 ||  58.886 || 107.545 ||         ||        ||
-|| sroselli    ||  5.029 || 12.368 ||  48.520 || 113.379 || 108.542 ||        ||
-|| helios      ||  5.299 || 12.571 ||  50.886 || 115.713 ||         ||        ||
-|| sunjammer   ||  5.088 || 12.675 ||  71.956 || 130.412 || 154.248 ||        ||
-|| treehouse   ||        || 12.551 ||  76.207 || 139.021 || 150.076 ||        ||
-|| beamrider   ||  5.225 || 13.094 ||  77.227 || 139.882 || 155.931 ||        ||
-|| trinity     ||  5.196 || 15.462 ||  61.448 || 212.371 ||         ||  1.000 ||
-|| bender      ||  5.516 || 16.163 ||  62.373 || 201.685 ||         ||        ||
-|| sunjammerold||  9.196 || 13.019 ||  85.394 || 216.806 ||         ||        ||
-|| buildslave4 ||  9.693 || 18.990 ||  73.788 || 202.622 ||         ||        ||
-|| giskard     ||  7.852 || 19.865 ||  89.311 || 266.837 || 153.761 ||  0.796 ||
-|| loongson    || 20.918 || 72.245 || 314.057 || 629.609 ||         ||        ||
---------------------------------------------------------------------------------
-|| **MB/s**    ||  33.68 ||  12.10 ||   2.85  ||    0.82 ||         ||        ||
-
-=== Notes ===
- * test file is a 175MB avi (southpark_12x12_about_last_night.avi)
- * MB/s refers to trinity
- * index is a performance index relative to trinity
- * all targets using 1 core only
- * bender and trinity run same lzma version
- * is xz slower than lzma?
+== A crude CPU benchmark using lossless compression algorithms ==
 
+=== How to test ===
+
+{{{
+time lzop  >/dev/null <testfile
+time gzip  >/dev/null <testfile
+time bzip2 >/dev/null <testfile
+time xz    >/dev/null <testfile
+}}}
+
+"testfile" is a 175MB non-compressible file.
+
+=== Results ===
+
+|| **Hostname** || **System**        || ** CPU Brand**              || **CPU**  ||**Clock**||**Arch**|| **OS**        ||
+|| nico-desk    || Gigabyte B75M-D3H || Intel(R) Core(TM)           || i5-3570K || 3.40GHz || x86_64 || Debian jessie ||
+|| xyzzy.cam    || Dell T3500        || Intel(R) Xeon(R) CPU        ||    W3690 || 3.47GHz || x86_64 ||               ||
+|| xyzzy.i      || XEN               || Intel(R) Xeon(R) CPU        ||    X5679 || 3.20GHz || x86_64 ||               ||
+|| giskard-x230 || Lenovo X230       || Intel(R) Core(TM) i5        ||    3320M || 2.60GHz || x86_64 || Ubuntu 14.04  ||
+|| giskard-x220 || Lenovo X220       || Intel(R) Core(TM) i5        ||    2520M || 2.50GHz || x86_64 || Ubuntu 14.04  ||
+|| glaptop-x220 || Lenovo X220       || Intel(R) Core(TM) i5        ||    2520M || 2.50GHz || x86_64 ||               ||
+|| giskard-x201 || Lenovo X201       || Intel(R) Core(TM) i7 CPU    ||    M 620 || 2.67GHz || x86_64 ||               ||
+|| istek        || Lenovo X201       || Intel(R) Core(TM) i5 CPU    ||    M 540 || 2.53GHz || x86_64 ||               ||
+|| r2d2         || PowerEdge R410    || Intel(R) Xeon(R) CPU        ||    E5520 || 2.27GHz || x86_64 ||               ||
+|| ummak        || Lenovo Laptop     || Intel(R) Core(TM)2 Duo CPU  ||    T9300 || 2.50GHz || x86_64 ||               ||
+|| groucho      ||                   || Intel(R) Core(TM)2          ||    Q6600 || 2.40GHz || x86_64 ||               ||
+|| asus-m2avm   || ASUS M2-AVM       || AMD Athlon 64 X2            ||    5600+ || 2.90GHz || x86_64 ||               ||
+|| triton       ||                   || AMD Quad-Core Opteron       ||  2374 HE || 2.21GHz || x86_64 ||               ||
+|| sroselli     || Lenovo x200s      || Intel(R) Core(TM)2 Duo CPU  ||    L9400 || 1.80GHz || x86_64 ||               ||
+|| helios       ||                   || Intel(R) Core(TM)2 Duo CPU  ||    P7350 || 2.00GHz || x86_64 ||               ||
+|| sunjammer    || XEN               || AMD Dual-Core Opteron       ||  2216 HE || 2.41GHz || x86_64 ||               ||
+|| treehouse    || Supermicro        || AMD Opteron 2214HE          ||          || 2.20GHz || x86_64 ||               ||
+|| beamrider    || KVM               || AMD Dual-Core Opteron       ||  2214 HE || 2.20GHz || x86_64 ||               ||
+|| trinity      || Supermicro        || Intel(R) Core(TM)2 CPU      ||     6400 || 2.13GHz || i386   ||               ||
+|| bender       || Desktop PC        || Intel(R) Core(TM)2 CPU      ||     6300 || 1.86GHz || x86_64 ||               ||
+|| sunjammerold || XEN               ||                             ||          ||         || x86_64 ||               ||
+|| buildslave4  || XEN               || AMD Quad-Core Opteron       ||   2347HE || 1.90GHz || x86_64 ||               ||
+|| giskard-x200s || Lenovo x200s     || Intel(R) Core(TM)2 Duo CPU  ||    U9300 || 1.20GHz || x86_64 ||               ||
+|| loongson     || Yeelong           || MIPS                        ||          ||         || mipsel ||               ||
+|| dfarning     || IdeaPad Y650      || Intel(R) Core(TM)2 Duo CPU  ||    P8700 || 2.53GHz || x86_64 ||               ||
+
+==== Time (seconds) ====
+
+|| **Hostname**     ||**lzop**||**gzip**||**bzip2**||**lzma** || **xz**  ||**lzip**||**index**||
+|| nico-desk        ||  0.169 ||  2.512 ||  23.294 ||         ||  63.660 || 78.744 ||         ||
+|| xyzzy.cam        ||  0.228 ||  5.375 ||  29.697 ||         ||  60.827 ||        ||         ||
+|| giskard-x230     ||  0.199 ||  6.418 ||  26.125 ||         ||  67.543 || 93.027 ||        ||
+|| xyzzy.i          ||  0.255 ||  7.056 ||  36.174 ||         ||  73.280 ||        ||        ||
+|| giskard-x220     ||  0.219 ||  6.826 ||  28.311 ||         ||  72.894 ||        ||        ||
+|| glaptop-x220     ||  2.622 ||  6.058 ||  31.523 ||         ||  72.578 ||        ||        ||
+|| giskard-x201     ||  2.960 ||  6.952 ||  37.157 ||  97.508 ||  95.945 ||        ||  2.213 ||
+|| istek            ||        ||  7.550 ||  35.480 ||         || 103.210 ||        ||        ||
+|| r2d2             ||  3.896 ||  9.029 ||  37.652 ||  84.727 ||  84.554 ||        ||        ||
+|| ummak            ||  3.790 ||  9.231 ||  36.311 ||  94.530 ||         ||        ||  2.247 ||
+|| dfarning         ||  4.041 ||  9.963 ||  42.631 || 104.108 || 105.507 ||        ||        ||
+|| groucho          ||  4.259 || 12.394 ||  56.541 || 158.497 ||         ||        ||
+|| asus-m2avm       ||  4.101 || 10.104 ||  66.804 || 201.453 ||         ||        ||
+|| triton           ||  4.445 || 11.363 ||  58.886 || 107.545 ||         ||        ||
+|| sroselli         ||  5.029 || 12.368 ||  48.520 || 113.379 || 108.542 ||        ||
+|| helios           ||  5.299 || 12.571 ||  50.886 || 115.713 ||         ||        ||
+|| sunjammer        ||  5.088 || 12.675 ||  71.956 || 130.412 || 154.248 ||        ||
+|| treehouse        ||        || 12.551 ||  76.207 || 139.021 || 150.076 ||        ||
+|| beamrider        ||  5.225 || 13.094 ||  77.227 || 139.882 || 155.931 ||        ||
+|| trinity          ||  5.196 || 15.462 ||  61.448 || 212.371 ||         ||  1.000 ||
+|| bender           ||  5.516 || 16.163 ||  62.373 || 201.685 ||         ||        ||
+|| sunjammerold     ||  9.196 || 13.019 ||  85.394 || 216.806 ||         ||        ||
+|| buildslave4      ||  9.693 || 18.990 ||  73.788 || 202.622 ||         ||        ||
+|| giskard-x200s    || 7.852 || 19.865 ||  89.311 || 266.837 || 153.761 ||  0.796 ||
+|| loongson         || 20.918 || 72.245 || 314.057 || 629.609 ||         ||        ||
+
+==== MB/s ====
+|| trinity      ||  33.68 ||  12.10 ||   2.85  ||    0.82 ||         ||        ||
+|| giskard-x201 ||        ||        ||         ||         ||    4.44 ||        ||
+|| glaptop-x220 || 754.31 ||  25.87 ||   5.87  ||    2.53 ||    2.30 ||        ||
+
+==== Notes ====
+ * all targets using 1 core only!
+ * "index" is gzip compression performance relative to trinity (probably)
+ * is xz faster or slower than lzma?
\ No newline at end of file