ConoHa 4CPU 4GBのベンチマークを行いました。
# cd /usr/local/src # git clone https://github.com/kdlucas/byte-unixbench # cd byte-unixbench/UnixBench
# ./Run gcc -o pgms/arithoh -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME -Darithoh src/arith.c gcc -o pgms/register -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME -Ddatum='register int' src/arith.c gcc -o pgms/short -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME -Ddatum=short src/arith.c gcc -o pgms/int -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME -Ddatum=int src/arith.c gcc -o pgms/long -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME -Ddatum=long src/arith.c gcc -o pgms/float -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME -Ddatum=float src/arith.c gcc -o pgms/double -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME -Ddatum=double src/arith.c gcc -o pgms/hanoi -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME src/hanoi.c gcc -o pgms/syscall -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME src/syscall.c gcc -o pgms/context1 -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME src/context1.c gcc -o pgms/pipe -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME src/pipe.c gcc -o pgms/spawn -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME src/spawn.c gcc -o pgms/execl -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME src/execl.c gcc -o pgms/dhry2 -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME -DHZ= ./src/dhry_1.c ./src/dhry_2.c gcc -o pgms/dhry2reg -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME -DHZ= -DREG=register ./src/dhry_1.c ./src/dhry_2.c gcc -o pgms/looper -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME src/looper.c gcc -o pgms/fstime -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME src/fstime.c gcc -o pgms/whetstone-double -Wall -pedantic -O3 -ffast-math -march=native -mtune=native -I ./src -DTIME -DDP -DGTODay -DUNIXBENCH src/whets.c -lm make all make[1]: Entering directory `/usr/local/src/byte-unixbench/UnixBench' make distr make[2]: Entering directory `/usr/local/src/byte-unixbench/UnixBench' Checking distribution of files ./pgms exists ./src exists ./testdir exists make[2]: Leaving directory `/usr/local/src/byte-unixbench/UnixBench' make programs make[2]: Entering directory `/usr/local/src/byte-unixbench/UnixBench' make[2]: Nothing to be done for `programs'. make[2]: Leaving directory `/usr/local/src/byte-unixbench/UnixBench' make[1]: Leaving directory `/usr/local/src/byte-unixbench/UnixBench' sh: 3dinfo: command 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 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 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 ======================================================================== BYTE UNIX Benchmarks (Version 5.1.3) System: 133-xxx-xxx-31.conoha.io: GNU/Linux OS: GNU/Linux -- 3.10.0-693.2.2.el7.x86_64 -- #1 SMP Tue Sep 12 22:26:13 UTC 2017 Machine: x86_64 (x86_64) Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8") CPU 0: Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz (5200.0 bogomips) x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 1: Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz (5200.0 bogomips) x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 2: Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz (5200.0 bogomips) x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET CPU 3: Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz (5200.0 bogomips) x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET 20:49:03 up 6:07, 1 user, load average: 0.39, 0.29, 0.29; runlevel 2017-10-21 ------------------------------------------------------------------------ Benchmark Run: Sat Oct 21 2017 20:49:03 - 21:17:12 4 CPUs in system; running 1 parallel copy of tests Dhrystone 2 using register variables 34169874.4 lps (10.0 s, 7 samples) Double-Precision Whetstone 4328.2 MWIPS (9.8 s, 7 samples) Execl Throughput 2624.5 lps (29.8 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 709756.2 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 226956.9 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 1502191.6 KBps (30.0 s, 2 samples) Pipe Throughput 1830234.5 lps (10.0 s, 7 samples) Pipe-based Context Switching 332690.0 lps (10.0 s, 7 samples) Process Creation 6068.5 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 5411.6 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 1913.3 lpm (60.0 s, 2 samples) System Call Overhead 2525559.3 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 34169874.4 2928.0 Double-Precision Whetstone 55.0 4328.2 786.9 Execl Throughput 43.0 2624.5 610.3 File Copy 1024 bufsize 2000 maxblocks 3960.0 709756.2 1792.3 File Copy 256 bufsize 500 maxblocks 1655.0 226956.9 1371.3 File Copy 4096 bufsize 8000 maxblocks 5800.0 1502191.6 2590.0 Pipe Throughput 12440.0 1830234.5 1471.2 Pipe-based Context Switching 4000.0 332690.0 831.7 Process Creation 126.0 6068.5 481.6 Shell Scripts (1 concurrent) 42.4 5411.6 1276.3 Shell Scripts (8 concurrent) 6.0 1913.3 3188.8 System Call Overhead 15000.0 2525559.3 1683.7 ======== System Benchmarks Index Score 1348.5 ------------------------------------------------------------------------ Benchmark Run: Sat Oct 21 2017 21:17:12 - 21:45:22 4 CPUs in system; running 4 parallel copies of tests Dhrystone 2 using register variables 127991815.2 lps (10.0 s, 7 samples) Double-Precision Whetstone 16823.8 MWIPS (9.1 s, 7 samples) Execl Throughput 10791.1 lps (29.9 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks 824151.9 KBps (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks 239969.1 KBps (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks 2057794.6 KBps (30.0 s, 2 samples) Pipe Throughput 6885130.0 lps (10.0 s, 7 samples) Pipe-based Context Switching 1272869.6 lps (10.0 s, 7 samples) Process Creation 23623.2 lps (30.0 s, 2 samples) Shell Scripts (1 concurrent) 14159.1 lpm (60.0 s, 2 samples) Shell Scripts (8 concurrent) 2386.8 lpm (60.1 s, 2 samples) System Call Overhead 6157017.0 lps (10.0 s, 7 samples) System Benchmarks Index Values BASELINE RESULT INDEX Dhrystone 2 using register variables 116700.0 127991815.2 10967.6 Double-Precision Whetstone 55.0 16823.8 3058.9 Execl Throughput 43.0 10791.1 2509.6 File Copy 1024 bufsize 2000 maxblocks 3960.0 824151.9 2081.2 File Copy 256 bufsize 500 maxblocks 1655.0 239969.1 1450.0 File Copy 4096 bufsize 8000 maxblocks 5800.0 2057794.6 3547.9 Pipe Throughput 12440.0 6885130.0 5534.7 Pipe-based Context Switching 4000.0 1272869.6 3182.2 Process Creation 126.0 23623.2 1874.9 Shell Scripts (1 concurrent) 42.4 14159.1 3339.4 Shell Scripts (8 concurrent) 6.0 2386.8 3978.0 System Call Overhead 15000.0 6157017.0 4104.7 ======== System Benchmarks Index Score 3292.5