Updated iperf3 test locations

This commit is contained in:
Mason Rowe 2020-09-21 00:52:00 -04:00
parent 96227f76a2
commit 77ec5af967
2 changed files with 61 additions and 53 deletions

View File

@ -32,9 +32,9 @@ curl -sL yabs.sh | bash -s -- -{fdighr49}
* `-i` this option disables the iperf (network performance) test * `-i` this option disables the iperf (network performance) test
* `-g` this option disables the Geekbench (system 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 * `-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/WorldStream/HE.net) to lessen bandwidth usage * `-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 * `-4` this option overrides the Geekbench 5 performance test and runs a Geekbench 4 test instead
* `-9` this option runs the Geekbench4 test in addition to the Geekbench 5 test * `-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). 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).
@ -55,68 +55,76 @@ This script relies on external binaries in order to complete the performance tes
``` ```
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## # # ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
# Yet-Another-Bench-Script # # Yet-Another-Bench-Script #
# v2020-02-04 # # v2020-09-21 #
# https://github.com/masonr/yet-another-bench-script # # https://github.com/masonr/yet-another-bench-script #
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## # # ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
Tue Feb 4 19:04:24 UTC 2020 Mon 21 Sep 2020 12:31:13 AM EDT
Basic System Information: Basic System Information:
--------------------------------- ---------------------------------
Processor : Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz Processor : Intel(R) Xeon(R) E-2276G CPU @ 3.80GHz
CPU cores : 8 @ 800.098 MHz CPU cores : 12 @ 800.087 MHz
AES-NI : ✔ Enabled AES-NI : ✔ Enabled
VM-x/AMD-V : ✔ Enabled VM-x/AMD-V : ✔ Enabled
RAM : 31G RAM : 15Gi
Swap : 0B Swap : 14Gi
Disk : 221G Disk : 865G
fio Disk Speed Tests (Mixed R/W 50/50): fio Disk Speed Tests (Mixed R/W 50/50):
--------------------------------- ---------------------------------
Block Size | 4kb (IOPS) | 64kb (IOPS) Block Size | 4k (IOPS) | 64k (IOPS)
------ | --- ---- | ---- ---- ------ | --- ---- | ---- ----
Read | 69.37 MB/s (17.3k) | 106.51 MB/s (1.6k) Read | 445.04 MB/s (111.2k) | 475.05 MB/s (7.4k)
Write | 69.57 MB/s (17.3k) | 107.07 MB/s (1.6k) Write | 446.22 MB/s (111.5k) | 477.55 MB/s (7.4k)
Total | 138.94 MB/s (34.7k) | 213.59 MB/s (3.3k) Total | 891.26 MB/s (222.8k) | 952.60 MB/s (14.8k)
| | | |
Block Size | 512kb (IOPS) | 1mb (IOPS) Block Size | 512k (IOPS) | 1m (IOPS)
------ | ----- ---- | --- ---- ------ | --- ---- | ---- ----
Read | 133.52 MB/s (260) | 141.90 MB/s (138) Read | 474.42 MB/s (926) | 472.32 MB/s (461)
Write | 140.61 MB/s (274) | 151.35 MB/s (147) Write | 499.63 MB/s (975) | 503.77 MB/s (491)
Total | 274.13 MB/s (534) | 293.26 MB/s (285) Total | 974.05 MB/s (1.9k) | 976.10 MB/s (952)
iperf3 Network Speed Tests (IPv4): iperf3 Network Speed Tests (IPv4):
--------------------------------- ---------------------------------
Provider | Location (Link) | Send Speed | Recv Speed Provider | Location (Link) | Send Speed | Recv Speed
| | | | | |
Bouygues Telecom | Paris, FR (10G) | 1.41 Gbits/sec | 1.13 Gbits/sec Clouvider | London, UK (10G) | 1.19 Gbits/sec | 2.39 Gbits/sec
Online.net | Paris, FR (10G) | 1.44 Gbits/sec | 1.29 Gbits/sec Online.net | Paris, FR (10G) | 2.35 Gbits/sec | 2.04 Gbits/sec
Worldstream | The Netherlands (10G) | 1.18 Gbits/sec | 1.22 Gbits/sec WorldStream | The Netherlands (10G) | 2.17 Gbits/sec | 1.29 Gbits/sec
wilhelm.tel | Hamburg, DE (10G) | 805 Mbits/sec | 1.13 Gbits/sec Wifx | Zurich, CH (10G) | 1.28 Gbits/sec | 522 Mbits/sec
Biznet | Bogor, Indonesia (1G) | 768 Mbits/sec | 38.5 Mbits/sec Biznet | Jakarta, Indonesia (1G) | 19.4 Mbits/sec | 41.8 Mbits/sec
Hostkey | Moscow, RU (1G) | 503 Mbits/sec | 686 Mbits/sec Clouvider | NYC, NY, US (10G) | 9.40 Gbits/sec | 9.41 Gbits/sec
Velocity Online | Tallahassee, FL, US (10G) | 2.74 Gbits/sec | 2.67 Gbits/sec Velocity Online | Tallahassee, FL, US (10G) | 2.39 Gbits/sec | 2.94 Gbits/sec
Airstream Communications | Eau Claire, WI, US (10G) | 3.36 Gbits/sec | 963 Mbits/sec Clouvider | Los Angeles, CA, US (10G) | 2.40 Gbits/sec | 2.89 Gbits/sec
Hurricane Electric | Fremont, CA, US (10G) | 6.34 Gbits/sec | 3.76 Gbits/sec Iveloz Telecom | Sao Paulo, BR (2G) | 136 Mbits/sec | 192 Mbits/sec
iperf3 Network Speed Tests (IPv6): iperf3 Network Speed Tests (IPv6):
--------------------------------- ---------------------------------
Provider | Location (Link) | Send Speed | Recv Speed Provider | Location (Link) | Send Speed | Recv Speed
| | | | | |
Bouygues Telecom | Paris, FR (10G) | 1.44 Gbits/sec | 1.25 Gbits/sec Clouvider | London, UK (10G) | 803 Mbits/sec | 2.09 Gbits/sec
Online.net | Paris, FR (10G) | 1.36 Gbits/sec | 972 Mbits/sec Online.net | Paris, FR (10G) | 2.32 Gbits/sec | 2.20 Gbits/sec
Worldstream | The Netherlands (10G) | 1.19 Gbits/sec | 1.20 Gbits/sec WorldStream | The Netherlands (10G) | 1.95 Gbits/sec | 1.49 Gbits/sec
wilhelm.tel | Hamburg, DE (10G) | 826 Mbits/sec | 1.14 Gbits/sec Wifx | Zurich, CH (10G) | 168 Mbits/sec | 579 Mbits/sec
Airstream Communications | Eau Claire, WI, US (10G) | busy | busy Clouvider | NYC, NY, US (10G) | 9.28 Gbits/sec | 9.28 Gbits/sec
Hurricane Electric | Fremont, CA, US (10G) | 6.36 Gbits/sec | 2.95 Gbits/sec Clouvider | Los Angeles, CA, US (10G) | 2.80 Gbits/sec | 2.90 Gbits/sec
Geekbench 4 Benchmark Test: Geekbench 4 Benchmark Test:
--------------------------------- ---------------------------------
Test | Value Test | Value
| |
Single Core | 5587 Single Core | 6035
Multi Core | 19093 Multi Core | 24473
Full Test | https://browser.geekbench.com/v4/cpu/15200550 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
``` ```

26
yabs.sh
View File

@ -15,7 +15,7 @@
echo -e '# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #' echo -e '# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #'
echo -e '# Yet-Another-Bench-Script #' echo -e '# Yet-Another-Bench-Script #'
echo -e '# v2020-09-15 #' echo -e '# v2020-09-21 #'
echo -e '# https://github.com/masonr/yet-another-bench-script #' echo -e '# https://github.com/masonr/yet-another-bench-script #'
echo -e '# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #' echo -e '# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #'
@ -458,8 +458,8 @@ function launch_iperf {
echo -e echo -e
echo -e "iperf3 Network Speed Tests ($MODE):" echo -e "iperf3 Network Speed Tests ($MODE):"
echo -e "---------------------------------" echo -e "---------------------------------"
printf "%-25s | %-25s | %-15s | %-15s\n" "Provider" "Location (Link)" "Send Speed" "Recv Speed" printf "%-15s | %-25s | %-15s | %-15s\n" "Provider" "Location (Link)" "Send Speed" "Recv Speed"
printf "%-25s | %-25s | %-15s | %-15s\n" printf "%-15s | %-25s | %-15s | %-15s\n"
# loop through iperf locations array to run iperf test using each public iperf server # loop through iperf locations array to run iperf test using each public iperf server
for (( i = 0; i < IPERF_LOCS_NUM; i++ )); do for (( i = 0; i < IPERF_LOCS_NUM; i++ )); do
@ -476,7 +476,7 @@ function launch_iperf {
[[ -z $IPERF_SENDRESULT_VAL || "$IPERF_SENDRESULT_VAL" == *"0.00"* ]] && IPERF_SENDRESULT_VAL="busy" && IPERF_SENDRESULT_UNIT="" [[ -z $IPERF_SENDRESULT_VAL || "$IPERF_SENDRESULT_VAL" == *"0.00"* ]] && IPERF_SENDRESULT_VAL="busy" && IPERF_SENDRESULT_UNIT=""
[[ -z $IPERF_RECVRESULT_VAL || "$IPERF_RECVRESULT_VAL" == *"0.00"* ]] && IPERF_RECVRESULT_VAL="busy" && IPERF_RECVRESULT_UNIT="" [[ -z $IPERF_RECVRESULT_VAL || "$IPERF_RECVRESULT_VAL" == *"0.00"* ]] && IPERF_RECVRESULT_VAL="busy" && IPERF_RECVRESULT_UNIT=""
# print the speed results for the iperf location currently being evaluated # print the speed results for the iperf location currently being evaluated
printf "%-25s | %-25s | %-15s | %-15s\n" "${IPERF_LOCS[i*5+2]}" "${IPERF_LOCS[i*5+3]}" "$IPERF_SENDRESULT_VAL $IPERF_SENDRESULT_UNIT" "$IPERF_RECVRESULT_VAL $IPERF_RECVRESULT_UNIT" printf "%-15s | %-25s | %-15s | %-15s\n" "${IPERF_LOCS[i*5+2]}" "${IPERF_LOCS[i*5+3]}" "$IPERF_SENDRESULT_VAL $IPERF_SENDRESULT_UNIT" "$IPERF_RECVRESULT_VAL $IPERF_RECVRESULT_UNIT"
fi fi
done done
} }
@ -510,26 +510,26 @@ if [ -z "$SKIP_IPERF" ]; then
# 4. location and advertised speed link of the iperf server # 4. location and advertised speed link of the iperf server
# 5. network modes supported by the iperf server (IPv4 = IPv4-only, IPv4|IPv6 = IPv4 + IPv6, etc.) # 5. network modes supported by the iperf server (IPv4 = IPv4-only, IPv4|IPv6 = IPv4 + IPv6, etc.)
IPERF_LOCS=( \ IPERF_LOCS=( \
"bouygues.iperf.fr" "5200-5209" "Bouygues Telecom" "Paris, FR (10G)" "IPv4|IPv6" \ "lon.speedtest.clouvider.net" "5201-5201" "Clouvider" "London, UK (10G)" "IPv4|IPv6" \
"ping.online.net" "5200-5209" "Online.net" "Paris, FR (10G)" "IPv4" \ "ping.online.net" "5200-5209" "Online.net" "Paris, FR (10G)" "IPv4" \
"ping6.online.net" "5200-5209" "Online.net" "Paris, FR (10G)" "IPv6" \ "ping6.online.net" "5200-5209" "Online.net" "Paris, FR (10G)" "IPv6" \
"iperf.worldstream.nl" "5201-5201" "WorldStream" "The Netherlands (10G)" "IPv4|IPv6" \ "iperf.worldstream.nl" "5201-5201" "WorldStream" "The Netherlands (10G)" "IPv4|IPv6" \
"speedtest.wtnet.de" "5200-5209" "wilhelm.tel" "Hamburg, DE (10G)" "IPv4|IPv6" \ "iperf.wifx.net" "5200-5209" "Wifx" "Zurich, CH (10G)" "IPv4|IPv6" \
"iperf.biznetnetworks.com" "5201-5203" "Biznet" "Bogor, Indonesia (1G)" "IPv4" \ "iperf.biznetnetworks.com" "5201-5203" "Biznet" "Jakarta, Indonesia (1G)" "IPv4" \
"speedtest.hostkey.ru" "5200-5203" "Hostkey" "Moscow, RU (1G)" "IPv4" \ "nyc.speedtest.clouvider.net" "5201-5201" "Clouvider" "NYC, NY, US (10G)" "IPv4|IPv6" \
"iperf3.velocityonline.net" "5201-5210" "Velocity Online" "Tallahassee, FL, US (10G)" "IPv4" \ "iperf3.velocityonline.net" "5201-5210" "Velocity Online" "Tallahassee, FL, US (10G)" "IPv4" \
"iperf.airstreamcomm.net" "5201-5205" "Airstream Comms" "Eau Claire, WI, US (10G)" "IPv4|IPv6" \ "la.speedtest.clouvider.net" "5201-5201" "Clouvider" "Los Angeles, CA, US (10G)" "IPv4|IPv6" \
"iperf.he.net" "5201-5201" "Hurricane Electric" "Fremont, CA, US (10G)" "IPv4|IPv6" \ "speedtest.iveloz.net.br" "5201-5209" "Iveloz Telecom" "Sao Paulo, BR (2G)" "IPv4" \
) )
# if the "REDUCE_NET" flag is activated, then do a shorter iperf test with only three locations # if the "REDUCE_NET" flag is activated, then do a shorter iperf test with only three locations
# (Online.net, WorldStream, and Hurricane Electric) # (Clouvider London, Clouvider NYC, and Online.net France)
if [ ! -z "$REDUCE_NET" ]; then if [ ! -z "$REDUCE_NET" ]; then
IPERF_LOCS=( \ IPERF_LOCS=( \
"lon.speedtest.clouvider.net" "5201-5201" "Clouvider" "London, UK (10G)" "IPv4|IPv6" \
"ping.online.net" "5200-5209" "Online.net" "Paris, FR (10G)" "IPv4" \ "ping.online.net" "5200-5209" "Online.net" "Paris, FR (10G)" "IPv4" \
"ping6.online.net" "5200-5209" "Online.net" "Paris, FR (10G)" "IPv6" \ "ping6.online.net" "5200-5209" "Online.net" "Paris, FR (10G)" "IPv6" \
"iperf.worldstream.nl" "5201-5201" "WorldStream" "The Netherlands (10G)" "IPv4|IPv6" \ "nyc.speedtest.clouvider.net" "5201-5201" "Clouvider" "NYC, NY, US (10G)" "IPv4|IPv6" \
"iperf.he.net" "5201-5201" "Hurricane Electric" "Fremont, CA, US (10G)" "IPv4|IPv6" \
) )
fi fi