站点图标 ITGeeker技术奇客

Synology群晖NAS如何安装iperf3内网测速工具 非Docker运行模式

装了ESXi8,发现了第一个问题,华硕Z490-A自带的Interl I225-V 2.5G网卡只能被识别成100M。幸亏另加的英特尔I350T2X1双网口网卡能被正确识别成1000M的,而且显示支持SR-IOV,但是设置了好多次SR-IOV,重启后模拟网卡数量就会跳回0个,无法正确启用。不知道是ESXi版本问题还是别的什么原因

因为低配高价,放弃升级群晖NAS的想法 转而 来玩玩ESXi 8.0吧

趁着这个机会,把所有ESXi的虚拟机和路由器的速度都测了一遍,果然只要把虚拟机的网络适配器改为英特尔I350T2X1网卡的端口组,速度马上就从百兆变为千兆。

100M速度
1K速度

这个时候想到测试一下我的群晖DS418play到路由器的速度,结果一下子还找不到iperf3在Synology的应用,网上又编译的spk是针对DSM6.3的,而且无法下载,DSM7又提到的一般是用Docker运行,而我的群晖DS418play无法运行Docker。

几经搜索,发现了群晖的Diagnosis Tool工具,里面有78个工具,其中就包括iperf3,方法很简单。

群晖NAS内网速度测试

  1. SSH登录群晖NAS,并切换到管理员权限sudo -i
  2. 安装Diagnosis Tool,sudo synogear install
  3. 运行/var/packages/DiagnosisTool/target/tool/iperf3 -c 192.168.188.1

群晖NAS外网速度测试

如果不想使用synogear了, 一个命令就可移除:

sudo synogear remove

78个群晖的Diagnosis Tool工具命令行参考

  1. /var/packages/DiagnosisTool/target/tool/addr2name
  2. /var/packages/DiagnosisTool/target/tool/arping
  3. /var/packages/DiagnosisTool/target/tool/ash
  4. /var/packages/DiagnosisTool/target/tool/bash
  5. /var/packages/DiagnosisTool/target/tool/cifsiostat
  6. /var/packages/DiagnosisTool/target/tool/clockdiff
  7. /var/packages/DiagnosisTool/target/tool/dig
  8. /var/packages/DiagnosisTool/target/tool/domain_test.sh
  9. /var/packages/DiagnosisTool/target/tool/file
  10. /var/packages/DiagnosisTool/target/tool/fix_idmap.sh
  11. /var/packages/DiagnosisTool/target/tool/free
  12. /var/packages/DiagnosisTool/target/tool/gcore
  13. /var/packages/DiagnosisTool/target/tool/gdb
  14. /var/packages/DiagnosisTool/target/tool/gdbserver
  15. /var/packages/DiagnosisTool/target/tool/iftop
  16. /var/packages/DiagnosisTool/target/tool/iostat
  17. /var/packages/DiagnosisTool/target/tool/iotop
  18. /var/packages/DiagnosisTool/target/tool/iperf
  19. /var/packages/DiagnosisTool/target/tool/iperf3
  20. /var/packages/DiagnosisTool/target/tool/kill
  21. /var/packages/DiagnosisTool/target/tool/killall
  22. /var/packages/DiagnosisTool/target/tool/ldd
  23. /var/packages/DiagnosisTool/target/tool/lsof
  24. /var/packages/DiagnosisTool/target/tool/ltrace
  25. /var/packages/DiagnosisTool/target/tool/mpstat
  26. /var/packages/DiagnosisTool/target/tool/name2addr
  27. /var/packages/DiagnosisTool/target/tool/ncat
  28. /var/packages/DiagnosisTool/target/tool/ndisc6
  29. /var/packages/DiagnosisTool/target/tool/nethogs
  30. /var/packages/DiagnosisTool/target/tool/nfsiostat-sysstat
  31. /var/packages/DiagnosisTool/target/tool/nmap
  32. /var/packages/DiagnosisTool/target/tool/nping
  33. /var/packages/DiagnosisTool/target/tool/nslookup
  34. /var/packages/DiagnosisTool/target/tool/perf-check.py
  35. /var/packages/DiagnosisTool/target/tool/pgrep
  36. /var/packages/DiagnosisTool/target/tool/pidof
  37. /var/packages/DiagnosisTool/target/tool/pidstat
  38. /var/packages/DiagnosisTool/target/tool/ping6
  39. /var/packages/DiagnosisTool/target/tool/ping
  40. /var/packages/DiagnosisTool/target/tool/pkill
  41. /var/packages/DiagnosisTool/target/tool/pmap
  42. /var/packages/DiagnosisTool/target/tool/ps
  43. /var/packages/DiagnosisTool/target/tool/pstree
  44. /var/packages/DiagnosisTool/target/tool/pwdx
  45. /var/packages/DiagnosisTool/target/tool/rarpd
  46. /var/packages/DiagnosisTool/target/tool/rdisc6
  47. /var/packages/DiagnosisTool/target/tool/rdisc
  48. /var/packages/DiagnosisTool/target/tool/rltraceroute6
  49. /var/packages/DiagnosisTool/target/tool/sa1
  50. /var/packages/DiagnosisTool/target/tool/sa2
  51. /var/packages/DiagnosisTool/target/tool/sadc
  52. /var/packages/DiagnosisTool/target/tool/sadf
  53. /var/packages/DiagnosisTool/target/tool/sar
  54. /var/packages/DiagnosisTool/target/tool/sh
  55. /var/packages/DiagnosisTool/target/tool/sid2ugid.sh
  56. /var/packages/DiagnosisTool/target/tool/slabtop
  57. /var/packages/DiagnosisTool/target/tool/sockstat
  58. /var/packages/DiagnosisTool/target/tool/speedtest-cli.py
  59. /var/packages/DiagnosisTool/target/tool/strace
  60. /var/packages/DiagnosisTool/target/tool/sysctl
  61. /var/packages/DiagnosisTool/target/tool/sysstat
  62. /var/packages/DiagnosisTool/target/tool/tcpdump
  63. /var/packages/DiagnosisTool/target/tool/tcpdump_wrapper
  64. /var/packages/DiagnosisTool/target/tool/tcpspray6
  65. /var/packages/DiagnosisTool/target/tool/tcptraceroute6
  66. /var/packages/DiagnosisTool/target/tool/telnet
  67. /var/packages/DiagnosisTool/target/tool/tload
  68. /var/packages/DiagnosisTool/target/tool/top
  69. /var/packages/DiagnosisTool/target/tool/tracepath
  70. /var/packages/DiagnosisTool/target/tool/traceroute6
  71. /var/packages/DiagnosisTool/target/tool/tracert6
  72. /var/packages/DiagnosisTool/target/tool/uptime
  73. /var/packages/DiagnosisTool/target/tool/vmstat
  74. /var/packages/DiagnosisTool/target/tool/w
  75. /var/packages/DiagnosisTool/target/tool/watch
  76. /var/packages/DiagnosisTool/target/tool/zblacklist
  77. /var/packages/DiagnosisTool/target/tool/zmap
  78. /var/packages/DiagnosisTool/target/tool/ztee
退出移动版