GCEのf1-microのUnix Bench
タイトルの通り、GCE(Google Compute Engine)のf1-micro(無料枠で使えるもの)のベンチマークを取りましたので、 備忘録として貼っておきます。
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
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
------------------------------------------------------------------------------
Use directories for:
* File I/O tests (named fs***) = /home/xxx/byte-unixbench/UnixBench/tmp
* Results = /home/xxx/byte-unixbench/UnixBench/results
------------------------------------------------------------------------------
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
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: db: GNU/Linux
OS: GNU/Linux -- 4.15.0-1029-gcp -- #31-Ubuntu SMP Thu Mar 21 09:40:28 UTC 2019
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Intel(R) Xeon(R) CPU @ 2.20GHz (4400.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
00:12:07 up 3 days, 11:23, 1 user, load average: 0.13, 0.03, 0.01; runlevel 2019-04-30
------------------------------------------------------------------------
Benchmark Run: Sat May 04 2019 00:12:07 - 00:43:23
1 CPU in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 19549752.8 lps (10.1 s, 7 samples)
Double-Precision Whetstone 965.7 MWIPS (33.6 s, 7 samples)
Execl Throughput 771.9 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 112448.3 KBps (30.1 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 37081.8 KBps (30.1 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 246207.9 KBps (30.1 s, 2 samples)
Pipe Throughput 281428.4 lps (10.2 s, 7 samples)
Pipe-based Context Switching 66004.8 lps (10.1 s, 7 samples)
Process Creation 2366.5 lps (30.2 s, 2 samples)
Shell Scripts (1 concurrent) 1486.9 lpm (60.2 s, 2 samples)
Shell Scripts (8 concurrent) 205.7 lpm (60.2 s, 2 samples)
System Call Overhead 202476.7 lps (10.1 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 19549752.8 1675.2
Double-Precision Whetstone 55.0 965.7 175.6
Execl Throughput 43.0 771.9 179.5
File Copy 1024 bufsize 2000 maxblocks 3960.0 112448.3 284.0
File Copy 256 bufsize 500 maxblocks 1655.0 37081.8 224.1
File Copy 4096 bufsize 8000 maxblocks 5800.0 246207.9 424.5
Pipe Throughput 12440.0 281428.4 226.2
Pipe-based Context Switching 4000.0 66004.8 165.0
Process Creation 126.0 2366.5 187.8
Shell Scripts (1 concurrent) 42.4 1486.9 350.7
Shell Scripts (8 concurrent) 6.0 205.7 342.8
System Call Overhead 15000.0 202476.7 135.0
========
System Benchmarks Index Score 271.8
Amazon Lightsailのベンチマーク(UnixBench)とか貼っておきますね。と比べてみると、かなりパフォーマンスは低いようです。 最後のSystem Benchmarks Index Scoreでは、Lightsailの1971.6に対して、271.8と13%程度の性能です。