折角なのでベンチマーク取ってみた。
UnixBench5を使ってのテスト。Desktop 16.04だと、特にパッケージ入れることなくできた(本当にデフォルトで可能か分からない)。
wget https://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz
tar xvf UnixBench5.1.3.tgz
cd UnixBench/
make
./Run
テスト結果
make all
make[1]: ディレクトリ '/home/arimasou16/UnixBench' に入ります
Checking distribution of files
./pgms exists
./src exists
./testdir exists
./tmp exists
./results exists
make[1]: ディレクトリ '/home/arimasou16/UnixBench' から出ます
sh: 1: 3dinfo: not found
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
Version 5.1.3 Based on the Byte Magazine Unix Benchmark
Multi-CPU version Version 5 revisions by Ian Smith,
Sunnyvale, CA, USA
January 13, 2011 johantheghost at yahoo period com
Wide character in print at ./Run line 1511.
Wide character in printf at ./Run line 1542.
1 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10
1 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10
1 x Execl Throughput 1 2 3
1 x File Copy 1024 bufsize 2000 maxblocks 1 2 3
1 x File Copy 256 bufsize 500 maxblocks 1 2 3
1 x File Copy 4096 bufsize 8000 maxblocks 1 2 3
1 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10
1 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10
1 x Process Creation 1 2 3
1 x System Call Overhead 1 2 3 4 5 6 7 8 9 10
1 x Shell Scripts (1 concurrent) 1 2 3
1 x Shell Scripts (8 concurrent) 1 2 3
Wide character in printf at ./Run line 1484.
4 x Dhrystone 2 using register variables 1 2 3 4 5 6 7 8 9 10
4 x Double-Precision Whetstone 1 2 3 4 5 6 7 8 9 10
4 x Execl Throughput 1 2 3
4 x File Copy 1024 bufsize 2000 maxblocks 1 2 3
4 x File Copy 256 bufsize 500 maxblocks 1 2 3
4 x File Copy 4096 bufsize 8000 maxblocks 1 2 3
4 x Pipe Throughput 1 2 3 4 5 6 7 8 9 10
4 x Pipe-based Context Switching 1 2 3 4 5 6 7 8 9 10
4 x Process Creation 1 2 3
4 x System Call Overhead 1 2 3 4 5 6 7 8 9 10
4 x Shell Scripts (1 concurrent) 1 2 3
4 x Shell Scripts (8 concurrent) 1 2 3
Wide character in printf at ./Run line 1484.
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: arimasou16-Desktop: GNU/Linux
OS: GNU/Linux -- 4.4.0-24-generic -- #43-Ubuntu SMP Wed Jun 8 19:27:37 UTC 2016
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz (5183.9 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 1: Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz (5183.9 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 2: Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz (5183.9 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
CPU 3: Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz (5183.9 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
16:10:06 up 7 min, 1 user, load average: 0.33, 0.33, 0.18; runlevel 5
------------------------------------------------------------------------
Benchmark Run: 土 6月 25 2016 16:10:06 - 16:38:08
4 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 35235024.0 lps (10.0 s, 7 samples)
Double-Precision Whetstone 4016.9 MWIPS (9.1 s, 7 samples)
Execl Throughput 2651.9 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 1156705.7 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 335673.8 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 2405838.5 KBps (30.0 s, 2 samples)
Pipe Throughput 2241463.2 lps (10.0 s, 7 samples)
Pipe-based Context Switching 244754.1 lps (10.0 s, 7 samples)
Process Creation 17107.1 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 13104.8 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 3329.7 lpm (60.0 s, 2 samples)
System Call Overhead 3976208.8 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 35235024.0 3019.3
Double-Precision Whetstone 55.0 4016.9 730.3
Execl Throughput 43.0 2651.9 616.7
File Copy 1024 bufsize 2000 maxblocks 3960.0 1156705.7 2921.0
File Copy 256 bufsize 500 maxblocks 1655.0 335673.8 2028.2
File Copy 4096 bufsize 8000 maxblocks 5800.0 2405838.5 4148.0
Pipe Throughput 12440.0 2241463.2 1801.8
Pipe-based Context Switching 4000.0 244754.1 611.9
Process Creation 126.0 17107.1 1357.7
Shell Scripts (1 concurrent) 42.4 13104.8 3090.8
Shell Scripts (8 concurrent) 6.0 3329.7 5549.6
System Call Overhead 15000.0 3976208.8 2650.8
========
System Benchmarks Index Score 1904.3
------------------------------------------------------------------------
Benchmark Run: 土 6月 25 2016 16:38:08 - 17:06:16
4 CPUs in system; running 4 parallel copies of tests
Dhrystone 2 using register variables 91585368.4 lps (10.0 s, 7 samples)
Double-Precision Whetstone 14602.4 MWIPS (9.5 s, 7 samples)
Execl Throughput 16262.0 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 1260167.9 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 340730.9 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 3159055.8 KBps (30.0 s, 2 samples)
Pipe Throughput 5913218.0 lps (10.0 s, 7 samples)
Pipe-based Context Switching 1048646.4 lps (10.0 s, 7 samples)
Process Creation 42259.2 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 28992.3 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 3637.1 lpm (60.0 s, 2 samples)
System Call Overhead 9399620.5 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 91585368.4 7847.9
Double-Precision Whetstone 55.0 14602.4 2655.0
Execl Throughput 43.0 16262.0 3781.9
File Copy 1024 bufsize 2000 maxblocks 3960.0 1260167.9 3182.2
File Copy 256 bufsize 500 maxblocks 1655.0 340730.9 2058.8
File Copy 4096 bufsize 8000 maxblocks 5800.0 3159055.8 5446.6
Pipe Throughput 12440.0 5913218.0 4753.4
Pipe-based Context Switching 4000.0 1048646.4 2621.6
Process Creation 126.0 42259.2 3353.9
Shell Scripts (1 concurrent) 42.4 28992.3 6837.8
Shell Scripts (8 concurrent) 6.0 3637.1 6061.9
System Call Overhead 15000.0 9399620.5 6266.4
========
System Benchmarks Index Score 4204.6
グラフィックテストもやろうと UnixBench
のmakefileの
GRAPHIC_TESTS = defined
をコメントアウトしたど、できなかったし、入れるべきパッケージが分からなかったので、
glmark2
を入れた。
sudo apt-get install glmark2
glmark2
テスト結果
=======================================================
glmark2 2014.03+git20150611.fa71af2d
=======================================================
OpenGL Information
GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2)
GL_VERSION: 3.0 Mesa 11.2.0
=======================================================
[build] use-vbo=false: FPS: 1924 FrameTime: 0.520 ms
[build] use-vbo=true: FPS: 1934 FrameTime: 0.517 ms
[texture] texture-filter=nearest: FPS: 1832 FrameTime: 0.546 ms
[texture] texture-filter=linear: FPS: 1847 FrameTime: 0.541 ms
[texture] texture-filter=mipmap: FPS: 1784 FrameTime: 0.561 ms
[shading] shading=gouraud: FPS: 1671 FrameTime: 0.598 ms
[shading] shading=blinn-phong-inf: FPS: 1678 FrameTime: 0.596 ms
[shading] shading=phong: FPS: 1652 FrameTime: 0.605 ms
[shading] shading=cel: FPS: 1629 FrameTime: 0.614 ms
[bump] bump-render=high-poly: FPS: 1124 FrameTime: 0.890 ms
[bump] bump-render=normals: FPS: 1921 FrameTime: 0.521 ms
[bump] bump-render=height: FPS: 1853 FrameTime: 0.540 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 1271 FrameTime: 0.787 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 664 FrameTime: 1.506 ms
[pulsar] light=false:quads=5:texture=false: FPS: 1716 FrameTime: 0.583 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 488 FrameTime: 2.049 ms
[desktop] effect=shadow:windows=4: FPS: 785 FrameTime: 1.274 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 563 FrameTime: 1.776 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 737 FrameTime: 1.357 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 370 FrameTime: 2.703 ms
[ideas] speed=duration: FPS: 1484 FrameTime: 0.674 ms
[jellyfish] <default>: FPS: 1069 FrameTime: 0.935 ms
[terrain] <default>: FPS: 125 FrameTime: 8.000 ms
[shadow] <default>: FPS: 584 FrameTime: 1.712 ms
[refract] <default>: FPS: 242 FrameTime: 4.132 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 1437 FrameTime: 0.696 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 1423 FrameTime: 0.703 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 1431 FrameTime: 0.699 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 1381 FrameTime: 0.724 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 1306 FrameTime: 0.766 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 1347 FrameTime: 0.742 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 1336 FrameTime: 0.749 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 1000 FrameTime: 1.000 ms
=======================================================
glmark2 Score: 1260
=======================================================
正直どうなのかさっぱり分からない。