Share your YABS bench of your VPS/VDS/Server here

AlbaHost

Well-known member
Moderator
Hosting Provider
Joined
Jan 18, 2017
Messages
640
Points
43
Yet-Another-Bench-Script
Here's an attempt to create yet another damn Linux server benchmarking script.

Logo design by Dian Pratama

This script isn't an attempt to be a golden standard. It's just yet another bench script to add to your arsenal. Included are several tests that I think are most beneficial for the end-user. If there's features that you would like to see added, feel free to submit an issue describing your feature request or fork the project!

View YABS usage stats here.

How to Run

Code:
curl -sL yabs.sh | bash
or

Code:
wget -qO- yabs.sh | bash
This script has been tested on the following Linux distributions: CentOS 6+, Debian 8+, Fedora 30, and Ubuntu 16.04+. It is designed to not require any external dependencies to be installed nor elevated privileges to run.

Local fio/iperf3 Packages: If the tested system has fio and/or iperf3 already installed, the local package will take precedence over the precompiled binary.

Experimental ARM Compatibility: Initial ARM compatibilty has been introduced, however, is not considered entirely stable due to limited testing on distinct ARM devices. Report any errors or issues.

IPv6-Only Machines: The above command will not work on IPv6-only machines. See below.

High Bandwidth Usage Notice: By default, this script will perform many iperf network tests, which will try to max out the network port for ~20s per location (10s in each direction). Low-bandwidth servers (such as a NAT VPS) should consider running this script with the -r flag (for reduced iperf locations) or the -i flag (to disable network tests entirely).

Flags (Skipping Tests, Reducing iperf Locations, Geekbench 4, etc.)
By default, the script runs all three tests described in the next section below. In the event that you wish to skip one or more of the tests, use the commands below:

curl -sL yabs.sh | bash -s -- -{fdighr49}

  • -f/-d this option disables the fio (disk performance) test
  • -i this option disables the iperf (network performance) test
  • -g this option disables the Geekbench (system performance) test
  • -h this option prints the help message with usage, flags detected, and local package (fio/iperf) status
  • -r this option reduces the number of iperf locations (Online.net/Clouvider LON+NYC) to lessen bandwidth usage
  • -4 this option overrides the Geekbench 5 performance test and runs a Geekbench 4 test instead
  • -9 this option runs the Geekbench 4 test in addition to the Geekbench 5 test
Options can be grouped together to skip multiple tests, i.e. -fg to skip the disk and system performance tests (effectively only testing network performance).

Geekbench License Key: A Geekbench license key can be utilized during the Geekbench test to unlock all features. Simply put the email and key for the license in a file called geekbench.license. echo "[email protected] ABCDE-12345-FGHIJ-57890" > geekbench.license

Tests Conducted
  • fio - the most comprehensive I/O testing software available, fio grants the ability to evaluate disk performance in a variety of methods with a variety of options. Four random read and write fio disk tests are conducted as part of this script with 4k, 64k, 512k, and 1m block sizes. The tests are designed to evaluate disk throughput in near-real world (using random) scenarios with a 50/50 split (50% reads and 50% writes per test).
  • iperf3 - the industry standard for testing download and upload speeds to various locations. This script utilizes iperf3 with 8 parallel threads and tests both download and upload speeds. If an iperf server is busy after 10 tries, the speed test for that location/direction is skipped.
  • Geekbench - Geekbench is a benchmarking program that measures system performance, which is widely used in the tech community. The web URL is displayed to be able to see complete test and individual benchmark results and allow comparison to other geekbench'd systems. The claim URL to add the Geekbench result to your Geekbench profile is written to a file in the directory that this script is executed from. By default, Geekbench 5 is the only Geekbench test performed, however, Geekbench 4 can also be toggled on by passing the appropriate flag.
Security Notice
This script relies on external binaries in order to complete the performance tests. The network (iperf3) and disk (fio) tests use binaries that are compiled by myself utilizing a Holy Build Box compiliation environment to ensure binary portability. The reasons for doing this include ensuring standardized (parsable) output, allowing support of both 32-bit and 64-bit architectures, bypassing the need for prerequisites to be compiled and/or installed, among other reasons. For the system test, a Geekbench tarball is downloaded, extracted, and the resulting binary is run. Use this script at your own risk as you would with any script publicly available on the net. Additional information regarding the binaries, including compilation notes and steps, can be found in the bin directory's README page.

Code:
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
#              Yet-Another-Bench-Script              #
#                     v2020-09-21                    #
# https://github.com/masonr/yet-another-bench-script #
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #

Mon 21 Sep 2020 12:31:13 AM EDT

Basic System Information:
---------------------------------
Processor  : Intel(R) Xeon(R) E-2276G CPU @ 3.80GHz
CPU cores  : 12 @ 800.087 MHz
AES-NI     : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM        : 15Gi
Swap       : 14Gi
Disk       : 865G

fio Disk Speed Tests (Mixed R/W 50/50):
---------------------------------
Block Size | 4k            (IOPS) | 64k           (IOPS)
  ------   | ---            ----  | ----           ----
Read       | 445.04 MB/s (111.2k) | 475.05 MB/s   (7.4k)
Write      | 446.22 MB/s (111.5k) | 477.55 MB/s   (7.4k)
Total      | 891.26 MB/s (222.8k) | 952.60 MB/s  (14.8k)
           |                      |
Block Size | 512k          (IOPS) | 1m            (IOPS)
  ------   | ---            ----  | ----           ----
Read       | 474.42 MB/s    (926) | 472.32 MB/s    (461)
Write      | 499.63 MB/s    (975) | 503.77 MB/s    (491)
Total      | 974.05 MB/s   (1.9k) | 976.10 MB/s    (952)

iperf3 Network Speed Tests (IPv4):
---------------------------------
Provider        | Location (Link)           | Send Speed      | Recv Speed
                |                           |                 |
Clouvider       | London, UK (10G)          | 1.19 Gbits/sec  | 2.39 Gbits/sec
Online.net      | Paris, FR (10G)           | 2.35 Gbits/sec  | 2.04 Gbits/sec
WorldStream     | The Netherlands (10G)     | 2.17 Gbits/sec  | 1.29 Gbits/sec
Wifx            | Zurich, CH (10G)          | 1.28 Gbits/sec  | 522 Mbits/sec
Biznet          | Jakarta, Indonesia (1G)   | 19.4 Mbits/sec  | 41.8 Mbits/sec
Clouvider       | NYC, NY, US (10G)         | 9.40 Gbits/sec  | 9.41 Gbits/sec
Velocity Online | Tallahassee, FL, US (10G) | 2.39 Gbits/sec  | 2.94 Gbits/sec
Clouvider       | Los Angeles, CA, US (10G) | 2.40 Gbits/sec  | 2.89 Gbits/sec
Iveloz Telecom  | Sao Paulo, BR (2G)        | 136 Mbits/sec   | 192 Mbits/sec

iperf3 Network Speed Tests (IPv6):
---------------------------------
Provider        | Location (Link)           | Send Speed      | Recv Speed
                |                           |                 |
Clouvider       | London, UK (10G)          | 803 Mbits/sec   | 2.09 Gbits/sec
Online.net      | Paris, FR (10G)           | 2.32 Gbits/sec  | 2.20 Gbits/sec
WorldStream     | The Netherlands (10G)     | 1.95 Gbits/sec  | 1.49 Gbits/sec
Wifx            | Zurich, CH (10G)          | 168 Mbits/sec   | 579 Mbits/sec
Clouvider       | NYC, NY, US (10G)         | 9.28 Gbits/sec  | 9.28 Gbits/sec
Clouvider       | Los Angeles, CA, US (10G) | 2.80 Gbits/sec  | 2.90 Gbits/sec

Geekbench 4 Benchmark Test:
---------------------------------
Test            | Value
                |
Single Core     | 6035
Multi Core      | 24473
Full Test       | https://browser.geekbench.com/v4/cpu/15770150

Geekbench 5 Benchmark Test:
---------------------------------
Test            | Value
                |
Single Core     | 1348
Multi Core      | 5857
Full Test       | https://browser.geekbench.com/v5/cpu/3844555

IPv6 Only Machines
GitHub's CDN does not resolve via IPv6. You will need to run the following command to download and run the script.

curl -s -k -g --header 'Host: raw.githubusercontent.com' "https://[2a04:4e42::133]/masonr/yet-another-bench-script/master/yabs.sh" | bash

(2a04:4e42::133 is fastly.net's [GitHub's CDN Provider] IPv6 address)

Acknowledgements
This script was inspired by several great benchmarking scripts out there, including, but not limited to, bench.sh, nench.sh, ServerBench, among others. Members of the hosting-related communities play a pivotal role in testing, evaluating, and shaping this script as it matures.

License

Code:
            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE

Version 2, December 2004



Copyright (C) 2019 Mason Rowe <[email protected]>



Everyone is permitted to copy and distribute verbatim or modified

copies of this license document, and changing it is allowed as long

as the name is changed.



DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION



0. You just DO WHAT THE FUCK YOU WANT TO.
 

djb1829

Member
Hosting Provider
Registered
Joined
Sep 14, 2021
Messages
48
Points
6
My UK server tested below..

Code:
 curl -sL yabs.sh | bash
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
#              Yet-Another-Bench-Script              #
#                     v2021-06-05                    #
# https://github.com/masonr/yet-another-bench-script #
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #

Fri 17 Sep 13:15:17 BST 2021

Basic System Information:
---------------------------------
Processor  : Intel(R) Xeon(R) CPU E3-1231 v3 @ 3.40GHz
CPU cores  : 8 @ 3414.733 MHz
AES-NI     : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM        : 31.2 GiB
Swap       : 15.8 GiB
Disk       : 460.9 GiB

Preparing system for disk tests...
[0KGenerating fio test file...
[0KRunning fio random mixed R+W disk test with 4k block size...
[0KRunning fio random mixed R+W disk test with 64k block size...
[0KRunning fio random mixed R+W disk test with 512k block size...
[0KRunning fio random mixed R+W disk test with 1m block size...
[0Kfio Disk Speed Tests (Mixed R/W 50/50):
---------------------------------
Block Size | 4k            (IOPS) | 64k           (IOPS)
  ------   | ---            ----  | ----           ---- 
Read       | 136.02 MB/s  (34.0k) | 178.63 MB/s   (2.7k)
Write      | 136.38 MB/s  (34.0k) | 179.57 MB/s   (2.8k)
Total      | 272.40 MB/s  (68.1k) | 358.21 MB/s   (5.5k)
           |                      |                     
Block Size | 512k          (IOPS) | 1m            (IOPS)
  ------   | ---            ----  | ----           ---- 
Read       | 214.47 MB/s    (418) | 222.10 MB/s    (216)
Write      | 225.87 MB/s    (441) | 236.89 MB/s    (231)
Total      | 440.34 MB/s    (859) | 458.99 MB/s    (447)

iperf3 Network Speed Tests (IPv4):
---------------------------------
Provider        | Location (Link)           | Send Speed      | Recv Speed     
                |                           |                 |                
Performing IPv4 iperf3 send test to Clouvider (Attempt #1 of 5)...
[0KPerforming IPv4 iperf3 recv test from Clouvider (Attempt #1 of 5)...
[0KClouvider       | London, UK (10G)          | 599 Mbits/sec   | 722 Mbits/sec  
Performing IPv4 iperf3 send test to Online.net (Attempt #1 of 5)...
[0KPerforming IPv4 iperf3 send test to Online.net (Attempt #2 of 5)...
[0KPerforming IPv4 iperf3 send test to Online.net (Attempt #3 of 5)...
[0KPerforming IPv4 iperf3 send test to Online.net (Attempt #4 of 5)...
[0KPerforming IPv4 iperf3 recv test from Online.net (Attempt #1 of 5)...
[0KPerforming IPv4 iperf3 recv test from Online.net (Attempt #2 of 5)...
[0KOnline.net      | Paris, FR (10G)           | 505 Mbits/sec   | 421 Mbits/sec  
Performing IPv4 iperf3 send test to WorldStream (Attempt #1 of 5)...
[0KPerforming IPv4 iperf3 recv test from WorldStream (Attempt #1 of 5)...
[0KWorldStream     | The Netherlands (10G)     | 464 Mbits/sec   | 616 Mbits/sec  
Performing IPv4 iperf3 send test to Biznet (Attempt #1 of 5)...
[0KPerforming IPv4 iperf3 send test to Biznet (Attempt #2 of 5)...
[0KPerforming IPv4 iperf3 send test to Biznet (Attempt #3 of 5)...
[0KPerforming IPv4 iperf3 send test to Biznet (Attempt #4 of 5)...
[0KPerforming IPv4 iperf3 send test to Biznet (Attempt #5 of 5)...
[0KPerforming IPv4 iperf3 recv test from Biznet (Attempt #1 of 5)...
[0KPerforming IPv4 iperf3 recv test from Biznet (Attempt #2 of 5)...
[0KPerforming IPv4 iperf3 recv test from Biznet (Attempt #3 of 5)...
[0KPerforming IPv4 iperf3 recv test from Biznet (Attempt #4 of 5)...
[0KPerforming IPv4 iperf3 recv test from Biznet (Attempt #5 of 5)...
[0KBiznet          | Jakarta, Indonesia (1G)   | busy            | busy           
Performing IPv4 iperf3 send test to Clouvider (Attempt #1 of 5)...
[0KPerforming IPv4 iperf3 recv test from Clouvider (Attempt #1 of 5)...
[0KClouvider       | NYC, NY, US (10G)         | 279 Mbits/sec   | 205 Mbits/sec  
Performing IPv4 iperf3 send test to Velocity Online (Attempt #1 of 5)...
[0KPerforming IPv4 iperf3 recv test from Velocity Online (Attempt #1 of 5)...
[0KVelocity Online | Tallahassee, FL, US (10G) | 246 Mbits/sec   | 191 Mbits/sec  
Performing IPv4 iperf3 send test to Clouvider (Attempt #1 of 5)...
[0KPerforming IPv4 iperf3 recv test from Clouvider (Attempt #1 of 5)...
[0KClouvider       | Los Angeles, CA, US (10G) | 149 Mbits/sec   | 166 Mbits/sec  
Performing IPv4 iperf3 send test to Iveloz Telecom (Attempt #1 of 5)...
[0KPerforming IPv4 iperf3 recv test from Iveloz Telecom (Attempt #1 of 5)...
[0KIveloz Telecom  | Sao Paulo, BR (2G)        | 162 Mbits/sec   | 110 Mbits/sec  

Running GB5 benchmark test... *cue elevator music*
 

AlbaHost

Well-known member
Moderator
Hosting Provider
Joined
Jan 18, 2017
Messages
640
Points
43
Our basic line dedicated servers :

Code:
[[email protected] ~]# curl -sL yabs.sh | bash
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
#              Yet-Another-Bench-Script              #
#                     v2021-06-05                    #
# https://github.com/masonr/yet-another-bench-script #
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #

Fri Sep 17 15:05:06 CEST 2021

Basic System Information:
---------------------------------
Processor  : AMD Ryzen 5 3600 6-Core Processor
CPU cores  : 12 @ 3600.000 MHz
AES-NI     : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM        : 62.9 GiB
Swap       : 30.6 GiB
Disk       : 905.4 GiB

fio Disk Speed Tests (Mixed R/W 50/50):
---------------------------------
Block Size | 4k            (IOPS) | 64k           (IOPS)
  ------   | ---            ----  | ----           ----
Read       | 358.75 MB/s  (89.6k) | 637.69 MB/s   (9.9k)
Write      | 359.69 MB/s  (89.9k) | 641.05 MB/s  (10.0k)
Total      | 718.44 MB/s (179.6k) | 1.27 GB/s    (19.9k)
           |                      |
Block Size | 512k          (IOPS) | 1m            (IOPS)
  ------   | ---            ----  | ----           ----
Read       | 1.21 GB/s     (2.3k) | 1.30 GB/s     (1.2k)
Write      | 1.27 GB/s     (2.4k) | 1.38 GB/s     (1.3k)
Total      | 2.48 GB/s     (4.8k) | 2.69 GB/s     (2.6k)

iperf3 Network Speed Tests (IPv4):
---------------------------------
Provider        | Location (Link)           | Send Speed      | Recv Speed
                |                           |                 |
Clouvider       | London, UK (10G)          | 925 Mbits/sec   | 898 Mbits/sec
Online.net      | Paris, FR (10G)           | 926 Mbits/sec   | 912 Mbits/sec
WorldStream     | The Netherlands (10G)     | 926 Mbits/sec   | 66.6 Mbits/sec
Biznet          | Jakarta, Indonesia (1G)   | busy            | busy
Clouvider       | NYC, NY, US (10G)         | 876 Mbits/sec   | 316 Mbits/sec
Velocity Online | Tallahassee, FL, US (10G) | 845 Mbits/sec   | 231 Mbits/sec
Clouvider       | Los Angeles, CA, US (10G) | 648 Mbits/sec   | 201 Mbits/sec
Iveloz Telecom  | Sao Paulo, BR (2G)        | busy            | busy

iperf3 Network Speed Tests (IPv6):
---------------------------------
Provider        | Location (Link)           | Send Speed      | Recv Speed
                |                           |                 |
Clouvider       | London, UK (10G)          | 914 Mbits/sec   | 912 Mbits/sec
Online.net      | Paris, FR (10G)           | 916 Mbits/sec   | busy
WorldStream     | The Netherlands (10G)     | 911 Mbits/sec   | 748 Mbits/sec
Clouvider       | NYC, NY, US (10G)         | 712 Mbits/sec   | 382 Mbits/sec
Clouvider       | Los Angeles, CA, US (10G) | 454 Mbits/sec   | 273 Mbits/sec

Geekbench 5 Benchmark Test:
---------------------------------
Test            | Value
                |
Single Core     | 1269
Multi Core      | 6881
Full Test       | https://browser.geekbench.com/v5/cpu/9884713
 

Cheerag Nundlall

Well-known member
Registered
Joined
Oct 12, 2016
Messages
254
Points
18
A server tested with your command

Code:
Sat Sep 18 07:46:24 EDT 2021

Basic System Information:
---------------------------------
Processor  : Intel(R) Xeon(R) CPU E3-1245 V2 @ 3.40GHz
CPU cores  : 8 @ 3654.418 MHz
AES-NI     : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM        : 31.2 GiB
Swap       : 4.0 GiB
Disk       : 441.8 GiB

fio Disk Speed Tests (Mixed R/W 50/50):
---------------------------------
Block Size | 4k            (IOPS) | 64k           (IOPS)
  ------   | ---            ----  | ----           ----
Read       | 126.76 MB/s  (31.6k) | 198.18 MB/s   (3.0k)
Write      | 127.09 MB/s  (31.7k) | 199.22 MB/s   (3.1k)
Total      | 253.86 MB/s  (63.4k) | 397.41 MB/s   (6.2k)
           |                      |
Block Size | 512k          (IOPS) | 1m            (IOPS)
  ------   | ---            ----  | ----           ----
Read       | 229.87 MB/s    (448) | 223.39 MB/s    (218)
Write      | 242.08 MB/s    (472) | 238.27 MB/s    (232)
Total      | 471.95 MB/s    (920) | 461.67 MB/s    (450)

iperf3 Network Speed Tests (IPv4):
---------------------------------
Provider        | Location (Link)           | Send Speed      | Recv Speed
                |                           |                 |
Clouvider       | London, UK (10G)          | 218 Mbits/sec   | 236 Mbits/sec
Online.net      | Paris, FR (10G)           | 213 Mbits/sec   | 352 Mbits/sec
WorldStream     | The Netherlands (10G)     | 236 Mbits/sec   | 172 Mbits/sec
Biznet          | Jakarta, Indonesia (1G)   | busy            | busy
Clouvider       | NYC, NY, US (10G)         | 258 Mbits/sec   | 416 Mbits/sec
Velocity Online | Tallahassee, FL, US (10G) | 240 Mbits/sec   | 227 Mbits/sec
Clouvider       | Los Angeles, CA, US (10G) | 213 Mbits/sec   | 497 Mbits/sec
Iveloz Telecom  | Sao Paulo, BR (2G)        | 128 Mbits/sec   | 576 Mbits/sec

iperf3 Network Speed Tests (IPv6):
---------------------------------
Provider        | Location (Link)           | Send Speed      | Recv Speed
                |                           |                 |
Clouvider       | London, UK (10G)          | 222 Mbits/sec   | 192 Mbits/sec
Online.net      | Paris, FR (10G)           | 209 Mbits/sec   | 286 Mbits/sec
WorldStream     | The Netherlands (10G)     | 209 Mbits/sec   | 167 Mbits/sec
Clouvider       | NYC, NY, US (10G)         | 246 Mbits/sec   | 477 Mbits/sec
Clouvider       | Los Angeles, CA, US (10G) | 216 Mbits/sec   | 177 Mbits/sec

Geekbench 5 Benchmark Test:
---------------------------------
Test            | Value
                |
Single Core     | 663
Multi Core      | 1937
It is fast? a decided server or cloud server?
 

AlbaHost

Well-known member
Moderator
Hosting Provider
Joined
Jan 18, 2017
Messages
640
Points
43
AlbaHost
Somehow it is ok, only downside is your internet speed... It might be cloud since your single core score and multi cannot be that low, in your server cpu is stated 8 core processor, and in your geekbench your multi core is not even 2k, which in other words mean not even 2 dedicated core.
 
Last edited:

Harry P

Well-known member
Registered
Joined
Feb 3, 2015
Messages
396
Points
28
This command is running very slow to generate stats, I can not wait till it finishes.
 
Latest Threads
Replies
2
Views
59
Replies
3
Views
122
Replies
2
Views
70
Replies
4
Views
166
Recommended Threads
Replies
25
Views
5,762
Replies
8
Views
2,036
  • Locked
Replies
5
Views
3,451

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top