Site icon David Yin's Blog

VPS performance benchmark – DigitalOcean Basic Premium Intel

It is a brand new VPS, just created on DigitalOcean yesterday. It is a Basic Shared CPU, Premium Intel with NVMe SSD, 1vCPU, 1GB memory, 25GB NVMe storage, including 1TB transfer.

The monthly cost of this VPS is $6.

I just change the TCP Congestion Control Algorithms to BBR.

Yet-Another-Bench-Script (YABS)

It includes three parts.

  1.  Disk Speed tests – fio;
  2. iperf3 Network speed test IPv4 and IPv6;
  3. Geekbench 4 test.
davidyin@fig:~$ curl -sL yabs.sh | bash -s -- -4

# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
# Yet-Another-Bench-Script #
# v2022-05-06 #
# https://github.com/masonr/yet-another-bench-script #
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #

Tue May 17 15:56:00 PDT 2022

Basic System Information:
---------------------------------
Uptime : 0 days, 0 hours, 16 minutes
Processor : DO-Premium-Intel
CPU cores : 1 @ 2000.000 MHz
AES-NI : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM : 971.3 MiB
Swap : 0.0 KiB
Disk : 24.9 GiB
Distro : Ubuntu 22.04 LTS
Kernel : 5.15.0-30-generic

fio Disk Speed Tests (Mixed R/W 50/50):
---------------------------------
Block Size | 4k (IOPS) | 64k (IOPS)
------ | --- ---- | ---- ----
Read | 94.76 MB/s (23.6k) | 554.07 MB/s (8.6k)
Write | 95.01 MB/s (23.7k) | 556.99 MB/s (8.7k)
Total | 189.77 MB/s (47.4k) | 1.11 GB/s (17.3k)
| |
Block Size | 512k (IOPS) | 1m (IOPS)
------ | --- ---- | ---- ----
Read | 680.05 MB/s (1.3k) | 685.89 MB/s (669)
Write | 716.18 MB/s (1.3k) | 731.57 MB/s (714)
Total | 1.39 GB/s (2.7k) | 1.41 GB/s (1.3k)

iperf3 Network Speed Tests (IPv4):
---------------------------------
Provider | Location (Link) | Send Speed | Recv Speed
| | |
Clouvider | London, UK (10G) | 1.22 Gbits/sec | 1.22 Gbits/sec
Online.net | Paris, FR (10G) | 1.34 Gbits/sec | 1.23 Gbits/sec
Hybula | The Netherlands (40G) | 1.16 Gbits/sec | 1.21 Gbits/sec
Clouvider | NYC, NY, US (10G) | 1.89 Gbits/sec | 2.64 Gbits/sec
Velocity Online | Tallahassee, FL, US (10G) | 1.86 Gbits/sec | 2.26 Gbits/sec
Clouvider | Los Angeles, CA, US (10G) | 2.00 Gbits/sec | 8.80 Gbits/sec

iperf3 Network Speed Tests (IPv6):
---------------------------------
Provider | Location (Link) | Send Speed | Recv Speed
| | |
Clouvider | London, UK (10G) | 1.22 Gbits/sec | 1.28 Gbits/sec
Online.net | Paris, FR (10G) | 1.30 Gbits/sec | 1.23 Gbits/sec
Hybula | The Netherlands (40G) | 1.20 Gbits/sec | 1.21 Gbits/sec
Clouvider | NYC, NY, US (10G) | 1.80 Gbits/sec | 2.62 Gbits/sec
Clouvider | Los Angeles, CA, US (10G) | 2.00 Gbits/sec | 7.55 Gbits/sec

Running GB4 benchmark test... *cue elevator music*
Geekbench 4 Benchmark Test:
---------------------------------
Test | Value
|
Single Core | 3103
Multi Core | 3117
Full Test | https://browser.geekbench.com/v4/cpu/16553960

Bench.sh

It has following testing portions.

  1.   I/O test
  2.  Network Speed test

davidyin@fig:~/byte-unixbench/UnixBench$ wget -qO- bench.sh | bash

-------------------- A Bench.sh Script By Teddysun -------------------
Version : v2022-02-22
Usage : wget -qO- bench.sh | bash
----------------------------------------------------------------------
CPU Model : DO-Premium-Intel
CPU Cores : 1 @ 2000.000 MHz
CPU Cache : 4096 KB
AES-NI : Enabled
VM-x/AMD-V : Enabled
Total Disk : 24.9 GB (3.4 GB Used)
Total Mem : 971.3 MB (286.8 MB Used)
System uptime : 0 days, 1 hour 18 min
Load average : 0.04, 1.49, 1.50
OS : Ubuntu 22.04 LTS
Arch : x86_64 (64 Bit)
Kernel : 5.15.0-30-generic
TCP CC : bbr
Virtualization : Dedicated
Organization : AS14061 DigitalOcean, LLC
Location : Santa Clara / US
Region : California
----------------------------------------------------------------------
I/O Speed(1st run) : 799 MB/s
I/O Speed(2nd run) : 911 MB/s
I/O Speed(3rd run) : 781 MB/s
I/O Speed(average) : 830.3 MB/s
----------------------------------------------------------------------
Node Name Upload Speed Download Speed Latency
Speedtest.net 921.10 Mbps 921.18 Mbps 1.37 ms
Los Angeles, US 945.04 Mbps 9123.11 Mbps 11.44 ms
Dallas, US 726.44 Mbps 9032.18 Mbps 39.37 ms
Montreal, CA 565.71 Mbps 927.12 Mbps 66.44 ms
Paris, FR 532.74 Mbps 3248.28 Mbps 149.05 ms
Amsterdam, NL 555.20 Mbps 5297.75 Mbps 147.42 ms
Shanghai, CN 471.21 Mbps 12.93 Mbps 173.18 ms
Nanjing, CN 606.52 Mbps 2642.92 Mbps 138.61 ms
Guangzhou, CN 301.67 Mbps 601.55 Mbps 151.91 ms
Seoul, KR 548.93 Mbps 616.51 Mbps 136.66 ms
Singapore, SG 478.73 Mbps 294.52 Mbps 169.05 ms
Tokyo, JP 741.71 Mbps 7270.30 Mbps 101.09 ms
----------------------------------------------------------------------
Finished in : 5 min 58 sec
Timestamp : 2022-05-17 17:03:55 PDT
----------------------------------------------------------------------

UnixBench

First I need to clone the project, then install the build-essential software, build the software. At last run the test.


davidyin@fig:~$ git clone https://github.com/kdlucas/byte-unixbench
davidyin@fig:~/byte-unixbench/UnixBench$ sudo apt install build-essential
davidyin@fig:~/byte-unixbench/UnixBench$ make all
davidyin@fig:~/byte-unixbench/UnixBench$ ./Run

========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)

System: fig: GNU/Linux
OS: GNU/Linux -- 5.15.0-30-generic -- #31-Ubuntu SMP Thu May 5 10:00:34 UTC 2022
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: DO-Premium-Intel (4000.0 bogomips)
x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
16:24:38 up 44 min, 1 user, load average: 0.26, 0.22, 0.16; runlevel 2022-05-17

------------------------------------------------------------------------
Benchmark Run: Tue May 17 2022 16:24:38 - 16:52:46
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables 29327266.4 lps (10.0 s, 7 samples)
Double-Precision Whetstone 5091.1 MWIPS (9.9 s, 7 samples)
Execl Throughput 2665.9 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 797031.8 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 251161.6 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 1733295.7 KBps (30.0 s, 2 samples)
Pipe Throughput 1640042.5 lps (10.0 s, 7 samples)
Pipe-based Context Switching 174424.4 lps (10.0 s, 7 samples)
Process Creation 8022.0 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 5913.8 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 772.3 lpm (60.0 s, 2 samples)
System Call Overhead 1650284.2 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 29327266.4 2513.0
Double-Precision Whetstone 55.0 5091.1 925.7
Execl Throughput 43.0 2665.9 620.0
File Copy 1024 bufsize 2000 maxblocks 3960.0 797031.8 2012.7
File Copy 256 bufsize 500 maxblocks 1655.0 251161.6 1517.6
File Copy 4096 bufsize 8000 maxblocks 5800.0 1733295.7 2988.4
Pipe Throughput 12440.0 1640042.5 1318.4
Pipe-based Context Switching 4000.0 174424.4 436.1
Process Creation 126.0 8022.0 636.7
Shell Scripts (1 concurrent) 42.4 5913.8 1394.8
Shell Scripts (8 concurrent) 6.0 772.3 1287.1
System Call Overhead 15000.0 1650284.2 1100.2
========
System Benchmarks Index Score 1206.5

 

Exit mobile version