Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Yet Another Benchmark Script (YABS) - Linux Benchmarking Script using dd, iperf, & Geekbench
New on LowEndTalk? Please Register and read our Community Rules.

Yet Another Benchmark Script (YABS) - Linux Benchmarking Script using dd, iperf, & Geekbench

Hey all,

Over the past few days I started working on a benchmarking script. The goal of the script was to make something slightly different than what's already out there, which incorporates benchmark tests that we find ourselves conducting quite often, namely dd, iperf, and Geekbench.

Here is the GitHub repo where you can review the script and get some additional information:
https://github.com/masonr/yet-another-bench-script

Benchmarking Tests

The script performs three main tests:

  • dd - to estimate disk performance. (disclaimer that read speeds may be heavily affected by cache)
  • iperf3 - to estimate network performance using parallel threads and by testing speeds in both directions (download and upload). Both IPv4 and IPv6 iperf tests are conducted (if available)
  • Geekbench 4 - to estimate total system performance by running a vast array of different CPU/memory intensive benchmarks. Both single and multi-core scores are given along with a link to view the complete system results. The URL to claim the test and add it to your Geekbench profile is written to disk.

Running the Script

The script is very easy to run and does not require any external dependencies to be installed nor elevated privileges to run:

curl -s https://raw.githubusercontent.com/masonr/yet-another-bench-script/master/yabs.sh | bash

The script has been tested on CentOS 7, Debian 9, Debian 10, Fedora 30, Ubuntu 16.04, and Ubuntu 18.04.

Skipping Test(s): Tests can be easily skipped if you don't want to run a specific test that's included with this script. More info can be found on the GitHub project page linked above.

Example Output

Here is example output from the script:

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

Sun Oct  6 22:03:26 EDT 2019

Basic System Information:
---------------------------------
Processor  : Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz
CPU cores  : 8 @ 1600.091 MHz
AES-NI     : ✔ Enabled
VM-x/AMD-V : ❌ Disabled
RAM        : 31G
Swap       : 7.5G
Disk       : 213G

dd Disk Speed Tests:
---------------------------------
       | Test 1     | Test 2     | Test 3     | Avg
       |            |            |            |
Write  | 361 MB/s   | 357 MB/s   | 357 MB/s   | 358.333 MB/s
Read*  | 409 MB/s   | 409 MB/s   | 410 MB/s   | 409.333 MB/s

iperf3 Network Speed Tests (IPv4):
---------------------------------
Provider                  | Location (Link)           | Send Speed      | Recv Speed
                          |                           |                 |
Bouygues Telecom          | Paris, FR (10G)           | 766 Mbits/sec   | 195 Mbits/sec
Online.net                | Paris, FR (10G)           | 771 Mbits/sec   | 156 Mbits/sec
Severius                  | The Netherlands (10G)     | 638 Mbits/sec   | 45.5 Mbits/sec
Worldstream               | The Netherlands (10G)     | 748 Mbits/sec   | 56.7 Mbits/sec
wilhelm.tel               | Hamburg, DE (10G)         | 756 Mbits/sec   | 69.1 Mbits/sec
Biznet                    | Bogor, Indonesia (1G)     | busy            | busy
Hostkey                   | Moscow, RU (1G)           | 722 Mbits/sec   | 489 Mbits/sec
Velocity Online           | Tallahassee, FL, US (1G)  | 528 Mbits/sec   | 374 Mbits/sec
Airstream Communications  | Eau Claire, WI, US (10G)  | 825 Mbits/sec   | 156 Mbits/sec
Hurricane Electric        | Fremont, CA, US (1G)      | 782 Mbits/sec   | busy

iperf3 Network Speed Tests (IPv6):
---------------------------------
Provider                  | Location (Link)           | Send Speed      | Recv Speed
                          |                           |                 |
Bouygues Telecom          | Paris, FR (10G)           | 463 Mbits/sec   | 186 Mbits/sec
Online.net                | Paris, FR (10G)           | 713 Mbits/sec   | 75.7 Mbits/sec
Severius                  | The Netherlands (10G)     | 753 Mbits/sec   | 73.5 Mbits/sec
Worldstream               | The Netherlands (10G)     | 740 Mbits/sec   | 58.6 Mbits/sec
wilhelm.tel               | Hamburg, DE (10G)         | 744 Mbits/sec   | 75.0 Mbits/sec
Airstream Communications  | Eau Claire, WI, US (10G)  | 473 Mbits/sec   | 149 Mbits/sec
Hurricane Electric        | Fremont, CA, US (1G)      | busy            | busy

Geekbench 4 Benchmark Test:
---------------------------------
Test            | Value
                |
Single Core     | 4012
Multi Core      | 13007
Full Test       | https://browser.geekbench.com/v4/cpu/14768101

More example output:

Feedback

I welcome any feedback you may have or any bug reports.

Thank you to those who provided input as this was being thought about and those who helped test the script as it was being developed -- thanks FHR, Rhys, scorpio18, Joshua, & ChrisM! Testing the script on different Linux distros was done using Hetzner Cloud.

Feel free to test it out and post your results. Thanks! :)
-Mason

HTTP/1.1 301 Moved Permanently

«13456

Comments

  • HostEONSHostEONS Member, Provider

    Good one

    hostEONS.com - Premium Ryzen VPS, Budget SSD KVM and OpenVZ7 VPS in LA, NY, Jacksonville - Florida, Las Vegas, Dalla, Direct Admin LiteSpeed SSD Web Hosting, etc.. Free Blesta License, Direct Admin License, Windows 2019 License and more

  • Tested it on my personal laptop (Running MX linux).. worked perfectly. Just the right amount of information/detail. Disk speed, network speed, Geekbench. I appreciate how it's not cluttered by anything else. No doubt you had input/testing. :smile:

  • @DA_Mark said:
    Tested it on my personal laptop (Running MX linux).. worked perfectly. Just the right amount of information/detail. Disk speed, network speed, Geekbench. I appreciate how it's not cluttered by anything else. No doubt you had input/testing. :smile:

    Awesome, thanks for the feedback, Mark! Happy to hear it worked well on MX linux as I hadn't tested that specific distro. Took quite a bit of trial and error to get things working cross-distros. Thanks again!

    Thanked by 1receivedthanks

    HTTP/1.1 301 Moved Permanently

  • @MasonR said:

    Awesome, thanks for the feedback, Mark! Happy to hear it worked well on MX linux as I hadn't tested that specific distro. Took quite a bit of trial and error to get things working cross-distros. Thanks again!

    I'm running MX 18 which is based on Debian 9, so it's not too weird of a distro (I hope). :smile: My biggest compliment is to the information provided by your benchmark script. I can only speak for myself, but when I run a benchmark script I'm looking for disk speed and network speed primarily, and the Geekbench is a nice touch. You presented the results in an easy to understand way without being annoying or confusing (or overwhelming), so it's a genuine compliment from this end. I'm definitely bookmarking this one.

    Good job on providing necessary info without the clutter.

  • This looks great!

    Would be awesome if it also shows ping results as well

  • @sanvit said:
    This looks great!

    Would be awesome if it also shows ping results as well

    Thank you! Ping results is a pretty good idea. I will try to find a way to incorporate that in.

    HTTP/1.1 301 Moved Permanently

  • BlaZeBlaZe Member, Provider
    #        _____                    _____                    _____                    _____          
    #       |\    \                  /\    \                  /\    \                  /\    \         
    #       |:\____\                /::\    \                /::\    \                /::\    \        
    #       |::|   |               /::::\    \              /::::\    \              /::::\    \       
    #       |::|   |              /::::::\    \            /::::::\    \            /::::::\    \      
    #       |::|   |             /:::/\:::\    \          /:::/\:::\    \          /:::/\:::\    \     
    #       |::|   |            /:::/__\:::\    \        /:::/__\:::\    \        /:::/__\:::\    \    
    #       |::|   |           /::::\   \:::\    \      /::::\   \:::\    \       \:::\   \:::\    \   
    #       |::|___|______    /::::::\   \:::\    \    /::::::\   \:::\    \    ___\:::\   \:::\    \  
    #       /::::::::\    \  /:::/\:::\   \:::\    \  /:::/\:::\   \:::\ ___\  /\   \:::\   \:::\    \ 
    #      /::::::::::\____\/:::/  \:::\   \:::\____\/:::/__\:::\   \:::|    |/::\   \:::\   \:::\____\
    #     /:::/~~~~/~~      \::/    \:::\  /:::/    /\:::\   \:::\  /:::|____|\:::\   \:::\   \::/    /
    #    /:::/    /          \/____/ \:::\/:::/    /  \:::\   \:::\/:::/    /  \:::\   \:::\   \/____/ 
    #   /:::/    /                    \::::::/    /    \:::\   \::::::/    /    \:::\   \:::\    \     
    #  /:::/    /                      \::::/    /      \:::\   \::::/    /      \:::\   \:::\____\    
    #  \::/    /                       /:::/    /        \:::\  /:::/    /        \:::\  /:::/    /    
    #   \/____/                       /:::/    /          \:::\/:::/    /          \:::\/:::/    /     
    #                                /:::/    /            \::::::/    /            \::::::/    /      
    #                               /:::/    /              \::::/    /              \::::/    /       
    #                               \::/    /                \::/____/                \::/    /        
    #                                \/____/                  ~~                       \/____/         
    #                                                                                                  
    

    Artnet - Poland (Gdańsk) based instant setup express dedicated servers & cloud VPS
    ExoticVM.com - Find VPS in exotic locations! - Discussion Thread

  • BlaZeBlaZe Member, Provider
    #  ____    ____  ___      .______        _______.
    #  \   \  /   / /   \     |   _  \      /       |
    #   \   \/   / /  ^  \    |  |_)  |    |   (----`
    #    \_    _/ /  /_\  \   |   _  <      \   \    
    #      |  |  /  _____  \  |  |_)  | .----)   |   
    #      |__| /__/     \__\ |______/  |_______/    
    #                                                
    

    Artnet - Poland (Gdańsk) based instant setup express dedicated servers & cloud VPS
    ExoticVM.com - Find VPS in exotic locations! - Discussion Thread

  • Not bad but a bit slow on first dd.

    # ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
    #              Yet-Another-Bench-Script              #
    #                     v2019-10-06                    #
    # https://github.com/masonr/yet-another-bench-script #
    # ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
    
    Mon Oct  7 01:32:21 EDT 2019
    
    Basic System Information:
    ---------------------------------
    Processor  : Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz
    CPU cores  : 4 @ 2063.862 MHz
    AES-NI     : ✔ Enabled
    VM-x/AMD-V : ❌ Disabled
    RAM        : 15Gi
    Swap       : 29Gi
    Disk       : 3.6T
    Performing dd disk performance test. This may take a couple minutes to complete.
    dd Disk Speed Tests:
    ---------------------------------
           | Test 1     | Test 2     | Test 3     | Avg       
           |            |            |            |           
    Write  | 93.0 MB/s  | 98.1 MB/s  | 124 MB/s   | 105.033 MB/s
    Read*  | 363 MB/s   | 358 MB/s   | 367 MB/s   | 362.667 MB/s
    man: can't set the locale; make sure $LC_* and $LANG are correct
    
    iperf3 Network Speed Tests (IPv4):
    ---------------------------------
    Provider                  | Location (Link)           | Send Speed      | Recv Speed     
                              |                           |                 |                
    Bouygues Telecom          | Paris, FR (10G)           | 1.35 Gbits/sec  | 1.18 Gbits/sec 
    Online.net                | Paris, FR (10G)           | 1.48 Gbits/sec  | 1.31 Gbits/sec 
    Severius                  | The Netherlands (10G)     | 1.11 Gbits/sec  | busy           
    Worldstream               | The Netherlands (10G)     | 1.22 Gbits/sec  | 1.21 Gbits/sec 
    wilhelm.tel               | Hamburg, DE (10G)         | 1.09 Gbits/sec  | 1.13 Gbits/sec 
    Biznet                    | Bogor, Indonesia (1G)     | 459 Mbits/sec   | 32.2 Mbits/sec 
    Hostkey                   | Moscow, RU (1G)           | 281 Mbits/sec   | 839 Mbits/sec  
    Velocity Online           | Tallahassee, FL, US (1G)  | 2.21 Gbits/sec  | 2.71 Gbits/sec 
    Airstream Communications  | Eau Claire, WI, US (10G)  | 3.28 Gbits/sec  | 2.88 Gbits/sec 
    Hurricane Electric        | Fremont, CA, US (1G)      | 5.89 Gbits/sec  | busy           
    
    iperf3 Network Speed Tests (IPv6):
    ---------------------------------
    Provider                  | Location (Link)           | Send Speed      | Recv Speed     
                              |                           |                 |                
    Bouygues Telecom          | Paris, FR (10G)           | 1.32 Gbits/sec  | 1.21 Gbits/sec 
    Online.net                | Paris, FR (10G)           | busy            | busy           
    Severius                  | The Netherlands (10G)     | 1.12 Gbits/sec  | 39.3 Mbits/sec 
    Worldstream               | The Netherlands (10G)     | 1.21 Gbits/sec  | 1.10 Gbits/sec 
    wilhelm.tel               | Hamburg, DE (10G)         | 1.06 Gbits/sec  | 1.14 Gbits/sec 
    Airstream Communications  | Eau Claire, WI, US (10G)  | 3.30 Gbits/sec  | 2.89 Gbits/sec 
    Hurricane Electric        | Fremont, CA, US (1G)      | 6.05 Gbits/sec  | busy           
    Performing Geekbench 4 benchmark test. This may take a couple minutes to complet
    Geekbench 4 Benchmark Test:
    ---------------------------------
    Test            | Value                         
                    |                               
    Single Core     | 4180                          
    Multi Core      | 11944                         
    Full Test       | https://browser.geekbench.com/v4/cpu/14768636
    

    signature for rent - ^_^

  • mrclown said: Hurricane Electric | Fremont, CA, US (1G) | 5.89 Gbits/sec | busy

    Is that HE a 10G link?

  • @sanvit said:
    Is that HE a 10G link?

    Yeah.

    signature for rent - ^_^

  • FootKaputFootKaput Member
    edited October 2019

    Not sure why the speedtest didn't work.

    Also, I do have a 40G NVMe and a 100G HDD, which are shown as a combined total; the speeds shown are obviously from the NVMe. Not sure if that's a common setup, or the majority of servers just have one drive to deal with.

    Happy to check/retest if you want. Otherwise, nice script!

    [[email protected] ~]# curl -s https://raw.githubusercontent.com/masonr/yet-another-bench-script/master/yabs.sh | bash
    # ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
    #              Yet-Another-Bench-Script              #
    #                     v2019-10-06                    #
    # https://github.com/masonr/yet-another-bench-script #
    # ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
    
    Mon Oct  7 06:29:34 UTC 2019
    
    Basic System Information:
    ---------------------------------
    Processor  : Intel(R) Xeon(R) Gold 6128 CPU @ 3.40GHz
    CPU cores  : 4 @ 3392.026 MHz
    AES-NI     : ✔ Enabled
    VM-x/AMD-V : ❌ Disabled
    RAM        : 3.9G
    Swap       : 0B
    Disk       : 138G
    
    dd Disk Speed Tests:
    ---------------------------------
           | Test 1     | Test 2     | Test 3     | Avg
           |            |            |            |
    Write  | 288 MB/s   | 296 MB/s   | 284 MB/s   | 289.333 MB/s
    Read*  | 864 MB/s   | 1.3 GB/s   | 974 MB/s   | 1.046 GB/s
    
    iperf3 Network Speed Tests (IPv4):
    ---------------------------------
    Provider                  | Location (Link)           | Send Speed      | Recv Speed
                              |                           |                 |
    Bouygues Telecom          | Paris, FR (10G)           | busy            | busy
    Online.net                | Paris, FR (10G)           | busy            | busy
    Severius                  | The Netherlands (10G)     | busy            | busy
    Worldstream               | The Netherlands (10G)     | busy            | busy
    wilhelm.tel               | Hamburg, DE (10G)         | busy            | busy
    Biznet                    | Bogor, Indonesia (1G)     | busy            | busy
    Hostkey                   | Moscow, RU (1G)           | busy            | busy
    Velocity Online           | Tallahassee, FL, US (1G)  | busy            | busy
    Airstream Communications  | Eau Claire, WI, US (10G)  | busy            | busy
    Hurricane Electric        | Fremont, CA, US (1G)      | busy            | busy
    
    iperf3 Network Speed Tests (IPv6):
    ---------------------------------
    Provider                  | Location (Link)           | Send Speed      | Recv Speed
                              |                           |                 |
    Bouygues Telecom          | Paris, FR (10G)           | busy            | busy
    Online.net                | Paris, FR (10G)           | busy            | busy
    Severius                  | The Netherlands (10G)     | busy            | busy
    Worldstream               | The Netherlands (10G)     | busy            | busy
    wilhelm.tel               | Hamburg, DE (10G)         | busy            | busy
    Airstream Communications  | Eau Claire, WI, US (10G)  | busy            | busy
    Hurricane Electric        | Fremont, CA, US (1G)      | busy            | busy
    
    Geekbench 4 Benchmark Test:
    ---------------------------------
    Test            | Value
                    |
    Single Core     | 3615
    Multi Core      | 9901
    Full Test       | https://browser.geekbench.com/v4/cpu/14768765
    

    Slowly working to cure my VPS addiction.

  • EleutheriaEleutheria Member
    edited October 2019
    # ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
    #              Yet-Another-Bench-Script              #
    #                     v2019-10-06                    #
    # https://github.com/masonr/yet-another-bench-script #
    # ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
    
    Mon Oct  7 09:23:31 CEST 2019
    
    Basic System Information:
    ---------------------------------
    Processor  : Intel(R) Xeon(R) CPU E3-1230 v6 @ 3.50GHz
    CPU cores  : 8 @ 2695.958 MHz
    AES-NI     : ✔ Enabled
    VM-x/AMD-V : ❌ Disabled
    RAM        : 15G
    

    Swap : 7.4G
    Disk : 221G

    dd Disk Speed Tests:


       | Test 1     | Test 2     | Test 3     | Avg       
       |            |            |            |           
     Write  | 22.1 MB/s  | 14.1 MB/s  | 14.1 MB/s  | 16.7667 MB/s
     Read*  | 536 MB/s   | 533 MB/s   | 535 MB/s   | 534.667 MB/s
    
     iperf3 Network Speed Tests (IPv4):
     ---------------------------------
    Provider                  | Location (Link)           | Send Speed      | Recv Speed     
                          |                           |                 |                
    Bouygues Telecom          | Paris, FR (10G)           | 934 Mbits/sec   | 956 Mbits/sec  
    Online.net                | Paris, FR (10G)           | 936 Mbits/sec   | 955 Mbits/sec  
    Severius                  | The Netherlands (10G)     | 0.00 bits/sec   | 0.00 bits/sec  
    Worldstream               | The Netherlands (10G)     | 942 Mbits/sec   | 959 Mbits/sec  
    wilhelm.tel               | Hamburg, DE (10G)         | 937 Mbits/sec   | 948 Mbits/sec  
    Biznet                    | Bogor, Indonesia (1G)     | 687 Mbits/sec   | 594 Mbits/sec  
    Hostkey                   | Moscow, RU (1G)           | 921 Mbits/sec   | 927 Mbits/sec  
    Velocity Online           | Tallahassee, FL, US (1G)  | 871 Mbits/sec   | 901 Mbits/sec  
    Airstream Communications  | Eau Claire, WI, US (10G)  | 830 Mbits/sec   | 837 Mbits/sec  
    Hurricane Electric        | Fremont, CA, US (1G)      | 849 Mbits/sec   | busy           
    
    iperf3 Network Speed Tests (IPv6):
    ---------------------------------
    Provider                  | Location (Link)           | Send Speed      | Recv Speed     
                          |                           |                 |                
    Bouygues Telecom          | Paris, FR (10G)           | 935 Mbits/sec   | 957 Mbits/sec   
    Online.net                | Paris, FR (10G)           | busy            | busy           
    Severius                  | The Netherlands (10G)     | 0.00 bits/sec   | 0.00 bits/sec  
    Worldstream               | The Netherlands (10G)     | 942 Mbits/sec   | 949 Mbits/sec  
    wilhelm.tel               | Hamburg, DE (10G)         | 937 Mbits/sec   | 954 Mbits/sec  
    Airstream Communications  | Eau Claire, WI, US (10G)  | 832 Mbits/sec   | 836 Mbits/sec  
    Hurricane Electric        | Fremont, CA, US (1G)      | 849 Mbits/sec   | busy           
    
    Geekbench 4 Benchmark Test:
    ---------------------------------
    Test            | Value                         
                    |                               
    

    Single Core | 4963
    Multi Core | 15898
    Full Test | https://browser.geekbench.com/v4/cpu/14768944

    Edit: this is a Worldstream server that will be used for a VPN service in a few months

  • FoxelVoxFoxelVox Member
    edited October 2019

    Notes:

    • The write speed seems off? I'm running 6x500G ssd in Raid10, and getting +-800MB/s writes with a different benchmark

    • my / is 70GB, and my LVM pool 1.29t. I also have a HDD mounted at /hdd but it seems it doesn't count this, so that's good :)

    • You stated that the Velocity server is 1Gbit, but im getting 2Gbit+- speeds. Same for he.net. Server location is in the Netherlands :smile:

    # ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
    #              Yet-Another-Bench-Script              #
    #                     v2019-10-06                    #
    # https://github.com/masonr/yet-another-bench-script #
    # ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
    
    Mon Oct  7 03:11:29 CDT 2019
    
    Basic System Information:
    ---------------------------------
    Processor  : Intel(R) Xeon(R) CPU E5-2643 v3 @ 3.40GHz
    CPU cores  : 24 @ 3599.740 MHz
    AES-NI     : ✔ Enabled
    VM-x/AMD-V : ❌ Disabled
    RAM        : 220G
    Swap       : 5.6G
    Disk       : 69G
    
    dd Disk Speed Tests:
    ---------------------------------
           | Test 1     | Test 2     | Test 3     | Avg       
           |            |            |            |           
    Write  | 101 MB/s   | 104 MB/s   | 103 MB/s   | 102.667 MB/s
    Read*  | 1.4 GB/s   | 1.4 GB/s   | 1.4 GB/s   | 1.4 GB/s  
    
    iperf3 Network Speed Tests (IPv4):
    ---------------------------------
    Provider                  | Location (Link)           | Send Speed      | Recv Speed     
                              |                           |                 |                
    Bouygues Telecom          | Paris, FR (10G)           | 6.90 Gbits/sec  | 2.77 Gbits/sec 
    Online.net                | Paris, FR (10G)           | 8.12 Gbits/sec  | 3.60 Gbits/sec 
    Severius                  | The Netherlands (10G)     | 4.01 Gbits/sec  | 9.25 Gbits/sec 
    Worldstream               | The Netherlands (10G)     | 9.04 Gbits/sec  | 9.36 Gbits/sec 
    wilhelm.tel               | Hamburg, DE (10G)         | 6.67 Gbits/sec  | 2.03 Gbits/sec 
    Biznet                    | Bogor, Indonesia (1G)     | 787 Mbits/sec   | 502 Mbits/sec  
    Hostkey                   | Moscow, RU (1G)           | 660 Mbits/sec   | 926 Mbits/sec  
    Velocity Online           | Tallahassee, FL, US (1G)  | 1.78 Gbits/sec  | 1.62 Gbits/sec 
    Airstream Communications  | Eau Claire, WI, US (10G)  | 1.67 Gbits/sec  | 319 Mbits/sec  
    Hurricane Electric        | Fremont, CA, US (1G)      | 1.50 Gbits/sec  | busy           
    
    iperf3 Network Speed Tests (IPv6):
    ---------------------------------
    Provider                  | Location (Link)           | Send Speed      | Recv Speed     
                              |                           |                 |                
    Bouygues Telecom          | Paris, FR (10G)           | 6.69 Gbits/sec  | 2.57 Gbits/sec 
    Online.net                | Paris, FR (10G)           | busy            | busy           
    Severius                  | The Netherlands (10G)     | 3.61 Gbits/sec  | 9.13 Gbits/sec 
    Worldstream               | The Netherlands (10G)     | 9.23 Gbits/sec  | 8.15 Gbits/sec 
    wilhelm.tel               | Hamburg, DE (10G)         | 7.30 Gbits/sec  | 1.99 Gbits/sec 
    Airstream Communications  | Eau Claire, WI, US (10G)  | 1.68 Gbits/sec  | 289 Mbits/sec  
    Hurricane Electric        | Fremont, CA, US (1G)      | 1.47 Gbits/sec  | busy           
    
    Geekbench 4 Benchmark Test:
    ---------------------------------
    Test            | Value                         
                    |                               
    Single Core     | 3436                          
    Multi Core      | 24145                         
    Full Test       | https://browser.geekbench.com/v4/cpu/14769071
    
  • AlwaysSkintAlwaysSkint Member
    edited October 2019

    A few issues:
    SYS ARM Debian 9

    /tmp/2019-10-07T11_19_13+02_00//iperf/iperf3: /tmp/2019-10-07T11_19_13+02_00//iperf/iperf3: cannot execute binary file

    Scaleway Debian 10

    timeout: failed to run command ‘/tmp/2019-10-07T11_20_02+02_00//iperf/iperf3’: Permission denied

    Standard install of iperf is version 2 with this debian buster.
    I suspect 'noexec' for /tmp won't be helping ;)

    Then=sequence/consequence; than=compare || Brought=bring; bought=buy || Paid=NotSkint; payed=some naval thing || Staff=group of workers; Staffs=bunch of sticks || Stuff=things; stuffs=to force in.

  • loeloe Member

    Nice! Adding ioping would be great. IOPS matters!

  • Thanks for the bug reports, guys! Going to try and fix those up. Will probably be messaging a few of y'all to figure out your exact system config/specs. Cheers!

    Thanked by 1receivedthanks

    HTTP/1.1 301 Moved Permanently

  • I'm pretty annoyed with geekbench profiles these days, since there's not much way to comment on them, connect them with particular server offers, or download all of them in a batch. Geekbench itself isn't that predictive a benchmark either. On single cpu machines passmark has been pretty good. The dual socket passmark results always seem suspicious to me though.

    #lexit spread the word.

  • This is benchmark from PHP-friend 10GB offer:

    # ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
    #              Yet-Another-Bench-Script              #
    #                     v2019-10-06                    #
    # https://github.com/masonr/yet-another-bench-script #
    # ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
    
    Mo 7. Okt 12:23:50 CEST 2019
    
    Basic System Information:
    ---------------------------------
    Processor  : Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
    CPU cores  : 2 @ 2199.998 MHz
    AES-NI     : ✔ Enabled
    VM-x/AMD-V : ❌ Disabled
    RAM        : 9,8G
    Swap       : 0B
    Disk       : 40G
    
    dd Disk Speed Tests:
    ---------------------------------
           | Test 1     | Test 2     | Test 3     | Avg       
           |            |            |            |           
    Write  | 142 MB/s   | 145 MB/s   | 122 MB/s   | 136.333 MB/s
    Read*  | 48,1 MB/s  | 347 MB/s   | 361 MB/s   | 252 MB/s  
    
    iperf3 Network Speed Tests (IPv4):
    ---------------------------------
    Provider                  | Location (Link)           | Send Speed      | Recv Speed     
                              |                           |                 |                
    Bouygues Telecom          | Paris, FR (10G)           | 732 Mbits/sec   | 836 Mbits/sec  
    Online.net                | Paris, FR (10G)           | 518 Mbits/sec   | 872 Mbits/sec  
    Severius                  | The Netherlands (10G)     | busy            | 855 Mbits/sec  
    Worldstream               | The Netherlands (10G)     | 654 Mbits/sec   | 862 Mbits/sec  
    wilhelm.tel               | Hamburg, DE (10G)         | 608 Mbits/sec   | 852 Mbits/sec  
    Biznet                    | Bogor, Indonesia (1G)     | busy            | busy           
    Hostkey                   | Moscow, RU (1G)           | 755 Mbits/sec   | 833 Mbits/sec  
    Velocity Online           | Tallahassee, FL, US (1G)  | 412 Mbits/sec   | 639 Mbits/sec  
    Airstream Communications  | Eau Claire, WI, US (10G)  | 699 Mbits/sec   | 440 Mbits/sec  
    Hurricane Electric        | Fremont, CA, US (1G)      | 547 Mbits/sec   | busy           
    
    iperf3 Network Speed Tests (IPv6):
    ---------------------------------
    Provider                  | Location (Link)           | Send Speed      | Recv Speed     
                              |                           |                 |                
    Bouygues Telecom          | Paris, FR (10G)           | 768 Mbits/sec   | 854 Mbits/sec  
    Online.net                | Paris, FR (10G)           | 636 Mbits/sec   | 850 Mbits/sec  
    Severius                  | The Netherlands (10G)     | 892 Mbits/sec   | 737 Mbits/sec  
    Worldstream               | The Netherlands (10G)     | 532 Mbits/sec   | 856 Mbits/sec  
    wilhelm.tel               | Hamburg, DE (10G)         | 690 Mbits/sec   | 854 Mbits/sec  
    Airstream Communications  | Eau Claire, WI, US (10G)  | 520 Mbits/sec   | 512 Mbits/sec  
    Hurricane Electric        | Fremont, CA, US (1G)      | 343 Mbits/sec   | busy           
    
    Geekbench 4 Benchmark Test:
    ---------------------------------
    Test            | Value                         
                    |                               
    Single Core     | 2570                          
    Multi Core      | 4106                          
    Full Test       | https://browser.geekbench.com/v4/cpu/14769465
    

    The CPU is told to be nested virtual but on your bench script there is VM-x disabled.
    I am not a profil and this is CPU flags:

    [email protected]:~# cat /proc/cpuinfo 
    processor   : 0
    vendor_id   : GenuineIntel
    cpu family  : 6
    model       : 79
    model name  : Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
    stepping    : 1
    microcode   : 0x1
    cpu MHz     : 2199.998
    cache size  : 4096 KB
    physical id : 0
    siblings    : 1
    core id     : 0
    cpu cores   : 1
    apicid      : 0
    initial apicid  : 0
    fpu     : yes
    fpu_exception   : yes
    cpuid level : 13
    wp      : yes
    flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap xsaveopt
    bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs
    bogomips    : 4399.99
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 46 bits physical, 48 bits virtual
    power management:
    
    processor   : 1
    vendor_id   : GenuineIntel
    cpu family  : 6
    model       : 79
    model name  : Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
    stepping    : 1
    microcode   : 0x1
    cpu MHz     : 2199.998
    cache size  : 4096 KB
    physical id : 1
    siblings    : 1
    core id     : 0
    cpu cores   : 1
    apicid      : 1
    initial apicid  : 1
    fpu     : yes
    fpu_exception   : yes
    cpuid level : 13
    wp      : yes
    flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap xsaveopt
    bugs        : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs
    bogomips    : 4399.99
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 46 bits physical, 48 bits virtual
    power management:
    
  • @mrclown said:
    Not bad but a bit slow on first dd.

    Thanks for the test! A few of the output lines should be overwritten after showing up (the "performing x test..." lines), so I'm curious to find out what specific environment you're running this in.

    Can you let me know the info below for your environment?

    OS, Kernel, and 32 or 64 bit architecture?

    @sanvit said:

    mrclown said: Hurricane Electric | Fremont, CA, US (1G) | 5.89 Gbits/sec | busy

    Is that HE a 10G link?

    Thanks, not sure how I missed that. Fixed.

    @FootKaput said:
    Not sure why the speedtest didn't work.

    Also, I do have a 40G NVMe and a 100G HDD, which are shown as a combined total; the speeds shown are obviously from the NVMe. Not sure if that's a common setup, or the majority of servers just have one drive to deal with.

    Happy to check/retest if you want. Otherwise, nice script!

    Send me some info on your environment so I can debug the speedtest stuffs. It's probably failing to launch iperf for some reason.

    Can you let me know your OS, Kernel, and 32 or 64 bit architecture?

    The disk space is intentionally supposed to be a grand total of all space on the machine (minus tmpfs and mounted nfs partitions). Where ever the script is ran from is which disk will be tested (i.e. if /data is mounted with the HDD, then run the script from /data to benchmark the HDD speeds).

    @FoxelVox said:
    Notes:

    • The write speed seems off? I'm running 6x500G ssd in Raid10, and getting +-800MB/s writes with a different benchmark

    • my / is 70GB, and my LVM pool 1.29t. I also have a HDD mounted at /hdd but it seems it doesn't count this, so that's good :)

    • You stated that the Velocity server is 1Gbit, but im getting 2Gbit+- speeds. Same for he.net. Server location is in the Netherlands :smile:

    Yeah, seems that dd is more finicky with benchmarking speeds than I originally anticitipated. Going to look into an alternative to dd to benchmark speeds (possibly ioping and/or fio). Hopefully the speed results would be more reliable after that change.

    As for disk space, I tried to make it so that it counts and totals up any disk space on the system (minus tmpfs and mounted nfs partitions). If you don't mind, for the disks that weren't counted, can you let me know the "Type" of the partition? - df -T

    Fixed the Velocity and HE.net link display. Couldn't find them reported anywhere, so had to make a best guess with the limited 10G servers I have access to :P. Thanks for reporting the issues and testing the script! :)

    @AlwaysSkint said:
    A few issues:

    My guess is that ARM has issues with the downloaded binary. Since it's a pre-compiled binary and isn't installed/compiled locally. Might just have to put in a check and output that iperf tests aren't supported if ARM is the detected architecture.

    @loe said:
    Nice! Adding ioping would be great. IOPS matters!

    I'll look into that! Might be easily doable if I switch from dd to some

    @kmmm said:

    The CPU is told to be nested virtual but on your bench script there is VM-x disabled.
    I am not a profil and this is CPU flags:

    Thanks for the report! Just fixed this and pushed an update to the repo. Had made a small typo in the line that detects VM-x/AMD-v. :)

    HTTP/1.1 301 Moved Permanently

  • Nice script. Im kinda bored with freevps.us script, yours gives a nicer touch. Great job

    https://myip.my.id/ what is my IP address.

  • Nice... Ran the script on a few vpses. Threw up interesting results. Will post update in the morning

  • I should also point out that refactoring and adding comments to the code are both on my to-do list for this project. For the most part, I just went along and tinkered to try and get things working, then moved on, leaving those portions as is.

    Many things in the script should probably be standardized (consistent variable names, consistent if/then statement structure, etc.) and comments added to describe what the hell it's actually doing to make the code more readable and able to be picked up by someone else that may want to contribute.

    The script in its current state should be viewed as a 'beta test' of sorts. I only started working on it last week after all, so I'm sure there will be a few iterations of it moving forward as more feedback/bug reports come in.

    Anyways, thanks for the interest and comments thus far everyone!

    HTTP/1.1 301 Moved Permanently

  • MissFortuneMissFortune Member
    edited October 2019

    Awesome.

    Encountered issue with Virmach Centos

    timeout: failed to run command ‘/tmp/2019-10-07T11_20_02+02_00//iperf/iperf3’: Permission denied

    Works fine with my Upcloud Ubuntu.

    ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##

    Yet-Another-Bench-Script

    v2019-10-07

    https://github.com/masonr/yet-another-bench-script

    ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##

    Mon Oct 7 15:58:05 UTC 2019

    Basic System Information:

    Processor : Intel(R) Xeon(R) CPU E5-2687W v4 @ 3.00GHz
    CPU cores : 1 @ 2999.994 MHz
    AES-NI : ✔ Enabled
    VM-x/AMD-V : ❌ Disabled
    RAM : 1.9G
    Swap : 0B
    Disk : 50G

    dd Disk Speed Tests:

       | Test 1     | Test 2     | Test 3     | Avg
       |            |            |            |
    

    Write | 197 MB/s | 163 MB/s | 214 MB/s | 191.333 MB/s
    Read* | 421 MB/s | 424 MB/s | 425 MB/s | 423.333 MB/s

    iperf3 Network Speed Tests (IPv4):

    Provider | Location (Link) | Send Speed | Recv Speed
    | | |
    Bouygues Telecom | Paris, FR (10G) | 522 Mbits/sec | 589 Mbits/sec
    Online.net | Paris, FR (10G) | 394 Mbits/sec | 660 Mbits/sec
    Severius | The Netherlands (10G) | 414 Mbits/sec | 368 Mbits/sec
    Worldstream | The Netherlands (10G) | 576 Mbits/sec | 653 Mbits/sec
    wilhelm.tel | Hamburg, DE (10G) | 587 Mbits/sec | 542 Mbits/sec
    Biznet | Bogor, Indonesia (1G) | busy | busy
    Hostkey | Moscow, RU (1G) | 501 Mbits/sec | 831 Mbits/sec
    Velocity Online | Tallahassee, FL, US (10G) | 433 Mbits/sec | 502 Mbits/sec
    Airstream Communications | Eau Claire, WI, US (10G) | 410 Mbits/sec | 440 Mbits/sec
    Hurricane Electric | Fremont, CA, US (10G) | 265 Mbits/sec | busy

    iperf3 Network Speed Tests (IPv6):

    Provider | Location (Link) | Send Speed | Recv Speed
    | | |
    Bouygues Telecom | Paris, FR (10G) | 414 Mbits/sec | 611 Mbits/sec
    Online.net | Paris, FR (10G) | 304 Mbits/sec | 317 Mbits/sec
    Severius | The Netherlands (10G) | busy | busy
    Worldstream | The Netherlands (10G) | 596 Mbits/sec | 618 Mbits/sec
    wilhelm.tel | Hamburg, DE (10G) | 579 Mbits/sec | 419 Mbits/sec
    Airstream Communications | Eau Claire, WI, US (10G) | 456 Mbits/sec | 442 Mbits/sec
    Hurricane Electric | Fremont, CA, US (10G) | 320 Mbits/sec | busy

    <3

  • @MissFortune said:
    Awesome.

    Encountered issue with Virmach Centos

    timeout: failed to run command ‘/tmp/2019-10-07T11_20_02+02_00//iperf/iperf3’: Permission denied

    Works fine with my Upcloud Ubuntu.

    Thanks for the report and test! I believe the error is because your /tmp fs has the non-executable flag. I'm going to have it put and run everything in the same directory that the script is run to avoid running into this error in the future, as it seems to be a recurring problem.

    Thanked by 1receivedthanks

    HTTP/1.1 301 Moved Permanently

  • # ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
    #              Yet-Another-Bench-Script              #
    #                     v2019-10-07                    #
    # https://github.com/masonr/yet-another-bench-script #
    # ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
    
    Mon Oct  7 13:05:27 EDT 2019
    
    Basic System Information:
    ---------------------------------
    Processor  : Intel(R) Xeon(R) CPU E5-2660 v2 @ 2.20GHz
    CPU cores  : 1 @ 2199.998 MHz
    AES-NI     : ✔ Enabled
    VM-x/AMD-V : ❌ Disabled
    RAM        : 996M
    Swap       : 1.0G
    Disk       : 49G
    Performing dd disk performance test. This may take a couple minutes to complete.                                                                                        
    dd Disk Speed Tests:
    ---------------------------------
           | Test 1     | Test 2     | Test 3     | Avg
           |            |            |            |
    Write  | 117 MB/s   | 102 MB/s   | 88.0 MB/s  | 102.333 MB/s
    Read*  | 280 MB/s   | 288 MB/s   | 299 MB/s   | 289 MB/s
    
    iperf3 Network Speed Tests (IPv4):
    ---------------------------------
    Provider                  | Location (Link)           | Send Speed      | Recv Speed
                              |                           |                 |
    Bouygues Telecom          | Paris, FR (10G)           | 0.00 bits/sec   | 0.00 bits/sec
    Online.net                | Paris, FR (10G)           | 0.00 bits/sec   | 0.00 bits/sec
    Severius                  | The Netherlands (10G)     | 0.00 bits/sec   | 0.00 bits/sec
    Worldstream               | The Netherlands (10G)     | 0.00 bits/sec   | 0.00 bits/sec
    wilhelm.tel               | Hamburg, DE (10G)         | 0.00 bits/sec   | 0.00 bits/sec
    Biznet                    | Bogor, Indonesia (1G)     | 0.00 bits/sec   | 0.00 bits/sec
    Hostkey                   | Moscow, RU (1G)           | 0.00 bits/sec   | 0.00 bits/sec
    Velocity Online           | Tallahassee, FL, US (10G) | 0.00 bits/sec   | 0.00 bits/sec
    Airstream Communications  | Eau Claire, WI, US (10G)  | 0.00 bits/sec   | 0.00 bits/sec
    Hurricane Electric        | Fremont, CA, US (10G)     | 0.00 bits/sec   | 0.00 bits/sec
    
    iperf3 Network Speed Tests (IPv6):
    ---------------------------------
    Provider                  | Location (Link)           | Send Speed      | Recv Speed
                              |                           |                 |
    Performing IPv6 iperf3 test to Bouygues Telecom...
    

    IPv4 test took more than 30 minutes to complete. And now it is running IPv6 which looks like will take another 30+ minutes.

  • @alilet said:
    IPv4 test took more than 30 minutes to complete. And now it is running IPv6 which looks like will take another 30+ minutes.

    Hmm... Something is definitely off there. Doesn't seem to be able to connect to any of the iperf locations for whatever reason. If you could, send me more info about your environment - OS, Kernel, and 32 or 64 bit architecture?

    Also maybe try installing and running iperf3 locally to see if the issue persists even when it's installed natively.

    Thanked by 1receivedthanks

    HTTP/1.1 301 Moved Permanently

  • Disabled ufw and ran network test again. By the way does "Send Speed" mean from my VPS to provider or from provider to VPS?
    This is a VirMach VPS and I thought ColoCrossing doesn't support IPv6 so how come IPv6 test is showing result?

    iperf3 Network Speed Tests (IPv4):
    ---------------------------------
    Provider                  | Location (Link)           | Send Speed      | Recv S                                                                                        peed
                              |                           |                 |                                                                                               
    Bouygues Telecom          | Paris, FR (10G)           | 915 Mbits/sec   | 522 Mb                                                                                        its/sec
    Online.net                | Paris, FR (10G)           | 920 Mbits/sec   | 644 Mb                                                                                        its/sec
    Severius                  | The Netherlands (10G)     | 840 Mbits/sec   | 222 Mbits/sec
    Worldstream               | The Netherlands (10G)     | 1.04 Gbits/sec  | 616 Mbits/sec
    wilhelm.tel               | Hamburg, DE (10G)         | 851 Mbits/sec   | 637 Mbits/sec
    Biznet                    | Bogor, Indonesia (1G)     | 494 Mbits/sec   | 13.8 Mbits/sec
    Hostkey                   | Moscow, RU (1G)           | 333 Mbits/sec   | 851 Mbits/sec
    Velocity Online           | Tallahassee, FL, US (10G) | 1.27 Gbits/sec  | 687 Mbits/sec
    Airstream Communications  | Eau Claire, WI, US (10G)  | 1.21 Gbits/sec  | 285 Mbits/sec
    Hurricane Electric        | Fremont, CA, US (10G)     | 998 Mbits/sec   | busy
    
    iperf3 Network Speed Tests (IPv6):
    ---------------------------------
    Provider                  | Location (Link)           | Send Speed      | Recv Speed
                              |                           |                 |
    Bouygues Telecom          | Paris, FR (10G)           | 772 Mbits/sec   | 541 Mbits/sec
    Online.net                | Paris, FR (10G)           | busy            | busy
    Severius                  | The Netherlands (10G)     | 911 Mbits/sec   | 206 Mbits/sec
    Worldstream               | The Netherlands (10G)     | 756 Mbits/sec   | 480 Mbits/sec
    wilhelm.tel               | Hamburg, DE (10G)         | 968 Mbits/sec   | 675 Mbits/sec
    Airstream Communications  | Eau Claire, WI, US (10G)  | 1.11 Gbits/sec  | 565 Mbits/sec
    Hurricane Electric        | Fremont, CA, US (10G)     | 778 Mbits/sec   | busy
    
  • @alilet said:
    Disabled ufw and ran network test again. By the way does "Send Speed" mean from my VPS to provider or from provider to VPS?

    Glad that solved it. I'll add a disclaimer to the github readme that firewalls might need to be disabled since it uses non-standard ports.

    Speeds are from the perspective of the machine that you're benchmarking. So,
    Send Speed means: Your VPS ----> Remote Server
    Recv Speed means: Remote Server ----> Your VPS

    This is a VirMach VPS and I thought ColoCrossing doesn't support IPv6 so how come IPv6 test is showing result?

    Some of their locations do have IPv6, I believe. At least the ones that are still ServerHub. Which location do you have with them? Or have you possibly set up a HE.net IPv4-to-v6 tunnel?

    Thanked by 1receivedthanks

    HTTP/1.1 301 Moved Permanently

Sign In or Register to comment.