This week, i add a VPN and Aryaka Dedicated network from US AWS VPC to CN AWS VPC. In order to compare these two type of net work, i use find iperf can be a good hand.
iperf is open source:https://iperf.fr/iperf-download.php#source
- Download iperf
I install iperf3 on CentOS, if you are on another platform, check https://iperf.fr/iperf-download.php and find your version.
#rpm -ivh https://iperf.fr/download/fedora/iperf3-3.1.3-1.fc24.x86_64.rpm
We need to set one site as server and the other site as cilent.
- start iperf on server
#iperf3 -s
shows:
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
if you want change the port 8888 and use it as a service
#iperf3 -s -D -p 8888
- start the client
#iperf3 -c ip.of.your.server
or
#iperf3 -c ip.of.your.server -p 8888 -d
The test result shows:
Test data:
VPN network test resault:
[root@ip-10-38-0-9 ~]# iperf3 -c 52.9.222.90
Connecting to host 52.9.222.90, port 5201
[ 4] local 10.38.0.9 port 38726 connected to 52.9.222.90 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 117 KBytes 961 Kbits/sec 0 28.3 KBytes
[ 4] 1.00-2.00 sec 725 KBytes 5.94 Mbits/sec 0 226 KBytes
[ 4] 2.00-3.00 sec 636 KBytes 5.21 Mbits/sec 15 195 KBytes
[ 4] 3.00-4.00 sec 191 KBytes 1.56 Mbits/sec 14 35.4 KBytes
[ 4] 4.00-5.00 sec 382 KBytes 3.13 Mbits/sec 0 154 KBytes
[ 4] 5.00-6.00 sec 382 KBytes 3.13 Mbits/sec 1 120 KBytes
[ 4] 6.00-7.00 sec 318 KBytes 2.61 Mbits/sec 1 89.1 KBytes
[ 4] 7.00-8.00 sec 318 KBytes 2.61 Mbits/sec 0 102 KBytes
[ 4] 8.00-9.00 sec 191 KBytes 1.56 Mbits/sec 1 80.6 KBytes
[ 4] 9.00-10.00 sec 191 KBytes 1.56 Mbits/sec 1 76.4 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 3.37 MBytes 2.83 Mbits/sec 33 sender
[ 4] 0.00-10.00 sec 2.69 MBytes 2.26 Mbits/sec receiver
iperf Done.
Aryaka Dedicated test resault:
[root@ip-10-0-6-25 ~]# iperf3 -c 10.38.2.107
Connecting to host 10.38.2.107, port 5201
[ 4] local 10.0.6.25 port 42640 connected to 10.38.2.107 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 2.74 MBytes 23.0 Mbits/sec 0 43.2 KBytes
[ 4] 1.00-2.00 sec 2.36 MBytes 19.8 Mbits/sec 0 43.2 KBytes
[ 4] 2.00-3.00 sec 2.29 MBytes 19.2 Mbits/sec 0 43.2 KBytes
[ 4] 3.00-4.00 sec 2.36 MBytes 19.8 Mbits/sec 0 43.2 KBytes
[ 4] 4.00-5.00 sec 2.29 MBytes 19.2 Mbits/sec 0 43.2 KBytes
[ 4] 5.00-6.00 sec 2.29 MBytes 19.2 Mbits/sec 0 43.2 KBytes
[ 4] 6.00-7.00 sec 2.29 MBytes 19.2 Mbits/sec 0 43.2 KBytes
[ 4] 7.00-8.00 sec 2.36 MBytes 19.8 Mbits/sec 0 43.2 KBytes
[ 4] 8.00-9.00 sec 2.29 MBytes 19.2 Mbits/sec 0 43.2 KBytes
[ 4] 9.00-10.00 sec 2.29 MBytes 19.2 Mbits/sec 0 43.2 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 23.6 MBytes 19.8 Mbits/sec 0 sender
[ 4] 0.00-10.00 sec 22.7 MBytes 19.1 Mbits/sec receiver
iperf Done.
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于