Site icon David Yin's Blog

Benchmark test of Google Cloud VM

It is a VM on Google Cloud.

The basic information is as below:

Machine type e2-standard-2
CPU platform Intel Broadwell
Architecture x86/64
2vCPU, 8GB Memory
US-West1 (Oregon)
US-West1-C Zone
25GB SSD Persistent disk
Ubuntu 22.04lts.
davidyin@acone:~$ curl -sL yabs.sh | bash
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
#              Yet-Another-Bench-Script              #
#                     v2023-04-23                    #
# https://github.com/masonr/yet-another-bench-script #
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #

Fri Jun  9 01:42:26 UTC 2023

Basic System Information:
---------------------------------
Uptime     : 0 days, 0 hours, 36 minutes
Processor  : Intel(R) Xeon(R) CPU @ 2.20GHz
CPU cores  : 2 @ 2199.998 MHz
AES-NI     : ✔ Enabled
VM-x/AMD-V : ❌ Disabled
RAM        : 7.8 GiB
Swap       : 0.0 KiB
Disk       : 24.1 GiB
Distro     : Ubuntu 22.04.2 LTS
Kernel     : 5.19.0-1025-gcp
VM Type    : KVM
IPv4/IPv6  : ✔ Online / ❌ Offline

IPv4 Network Information:
---------------------------------
ISP        : Google LLC
ASN        : AS396982 Google LLC
Host       : Google Cloud (us-west1)
Location   : The Dalles, Oregon (OR)
Country    : United States

fio Disk Speed Tests (Mixed R/W 50/50):
---------------------------------
Block Size | 4k            (IOPS) | 64k           (IOPS)
  ------   | ---            ----  | ----           ----
Read       | 14.27 MB/s    (3.5k) | 223.82 MB/s   (3.4k)
Write      | 14.28 MB/s    (3.5k) | 225.00 MB/s   (3.5k)
Total      | 28.55 MB/s    (7.1k) | 448.82 MB/s   (7.0k)
           |                      |
Block Size | 512k          (IOPS) | 1m            (IOPS)
  ------   | ---            ----  | ----           ----
Read       | 235.84 MB/s    (460) | 232.50 MB/s    (227)
Write      | 248.37 MB/s    (485) | 247.99 MB/s    (242)
Total      | 484.21 MB/s    (945) | 480.50 MB/s    (469)

iperf3 Network Speed Tests (IPv4):
---------------------------------
Provider        | Location (Link)           | Send Speed      | Recv Speed      | Ping
-----           | -----                     | ----            | ----            | ----
Clouvider       | London, UK (10G)          | 1.33 Gbits/sec  | 1.41 Gbits/sec  | 127 ms
Scaleway        | Paris, FR (10G)           | busy            | 1.31 Gbits/sec  | 138 ms
NovoServe       | North Holland, NL (40G)   | 1.33 Gbits/sec  | 1.35 Gbits/sec  | 131 ms
Uztelecom       | Tashkent, UZ (10G)        | busy            | 757 Mbits/sec   | 226 ms
Clouvider       | NYC, NY, US (10G)         | 3.12 Gbits/sec  | 3.17 Gbits/sec  | 59.9 ms
Clouvider       | Dallas, TX, US (10G)      | 3.63 Gbits/sec  | 3.75 Gbits/sec  | 51.1 ms
Clouvider       | Los Angeles, CA, US (10G) | 3.92 Gbits/sec  | 6.81 Gbits/sec  | 25.0 ms

Geekbench 6 Benchmark Test:
---------------------------------
Test            | Value
                |
Single Core     | 885
Multi Core      | 1045
Full Test       | https://browser.geekbench.com/v6/cpu/1530238

YABS completed in 14 min 23 sec

One more test by Sysbench

$ sysbench --test=cpu run

 

davidyin@acone:~$ sysbench --test=cpu run
WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
sysbench 1.0.20 (using system LuaJIT 2.1.0-beta3)

Running the test with following options:
Number of threads: 1
Initializing random number generator from current time


Prime numbers limit: 10000

Initializing worker threads...

Threads started!

CPU speed:
    events per second:   942.99

General statistics:
    total time:                          10.0001s
    total number of events:              9432

Latency (ms):
         min:                                    1.00
         avg:                                    1.06
         max:                                    1.56
         95th percentile:                        1.08
         sum:                                 9995.30

Threads fairness:
    events (avg/stddev):           9432.0000/0.00
    execution time (avg/stddev):   9.9953/0.00

This is one core score: 942.99 events per second.

Test the two core performances.

davidyin@acone:~$ sysbench --test=cpu --num-threads=2 run
WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
WARNING: --num-threads is deprecated, use --threads instead
sysbench 1.0.20 (using system LuaJIT 2.1.0-beta3)

Running the test with following options:
Number of threads: 2
Initializing random number generator from current time


Prime numbers limit: 10000

Initializing worker threads...

Threads started!

CPU speed:
    events per second:  1380.11

General statistics:
    total time:                          10.0016s
    total number of events:              13807

Latency (ms):
         min:                                    1.25
         avg:                                    1.45
         max:                                   13.48
         95th percentile:                        1.44
         sum:                                19993.79

Threads fairness:
    events (avg/stddev):           6903.5000/8.50
    execution time (avg/stddev):   9.9969/0.00

The performance is not as good as what I have on Contabo.

The sysbench score of Contabo VPS is 1542 on one thread and 6099 on four threads.

This post is just for reference and my own record.

 

Exit mobile version