北京联通双拨网络性能测试

本次使用iperf 测试了从北京到青岛vps和日本vps的网络质量:

上传测试
router -> qingdao
[  1] local 192.168.x.x port 52396 connected with 47.104.x.x port 5001 (icwnd/mss/irtt=13/1428/17241)
[ ID] Interval       Transfer     Bandwidth
[  1] 0.0000-10.7898 sec  53.8 MBytes  41.8 Mbits/sec

nas -> qingdao
[  1] local 114.246.x.x port 46764 connected with 47.104.x.x port 5001 (icwnd/mss/irtt=14/1440/14253)
[ ID] Interval       Transfer     Bandwidth
[  1] 0.0000-10.2162 sec  51.4 MBytes  42.2 Mbits/sec

router -> japan
[  1] local 192.168.x.x port 60656 connected with 150.95.x.x port 5001 (icwnd/mss/irtt=13/1428/159108)
[ ID] Interval       Transfer     Bandwidth
[  1] 0.0000-10.6766 sec  49.3 MBytes  38.7 Mbits/sec

nas -> japan
[  1] local 114.246.x.x port 36826 connected with 150.95.x.x port 5001 (icwnd/mss/irtt=14/1440/176131)
[ ID] Interval       Transfer     Bandwidth
[  1] 0.0000-11.3190 sec  45.3 MBytes  33.5 Mbits/sec

下载测试:
japan -> nas
[  1] local 150.95.x.x port 58670 connected with 114.246.x.x port 5001 (icwnd/mss/irtt=14/1440/286320)
[ ID] Interval       Transfer     Bandwidth
[  1] 0.0000-10.4263 sec   131 MBytes   105 Mbits/sec

qingdao -> nas 国内某大厂的vps,太小气了,辣鸡
[  3] local 172.31.x.x port 56760 connected with 114.246.x.x port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.8 sec  1.62 MBytes  1.27 Mbits/sec

japan -> router
[  1] local 150.95.x.x port 34584 connected with 114.246.x.x port 5001 (icwnd/mss/irtt=13/1428/163864)
[ ID] Interval       Transfer     Bandwidth
[  1] 0.0000-10.1922 sec   144 MBytes   118 Mbits/sec

qingdao -> router 辣鸡
[  3] local 172.31.x.x port 51146 connected with 114.246.x.x port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.4 sec  1.88 MBytes  1.51 Mbits/sec

最后,还测试了并发请求多出口ip并发和ip v4,v6双栈的并发测试,都没能超过千兆的限制,事实上,只是略超百兆,跟单拨没什么区别。看来靠多播实现两千兆带宽不用想了。

最最后,经热心群友提醒,没有测并发的上传带宽。测了一下,发现惊喜。上传带宽能叠加!
但是SUM数据只是两个ipv4的和。ipv6没有被SUM进去。。。本来想测试ipv4x2+ipv6x2,无奈路由器不支持ipv6转发,我不知道该怎么测。

之前使用的数据有问题,上传测试的数据后面有空了再补上。

以上测试使用的软硬件说明:

  • iperf server运行在nas上,同时监听ipv4和ipv6。
  • 光猫是装联通宽带送的千兆猫。
  • router是小米AX9000。拨号使用的是2.5G口。
  • nas是群晖1821+,4个网口都是千兆,前两个口(eth0,eth1)做了链路聚合,由router端口转发到这个聚合口。
  • 另nas使用eth3拨号。
  • nas和router,两个设备分别拨号,各获得一个公网ip。