装了ESXi8,发现了第一个问题,华硕Z490-A自带的Interl I225-V 2.5G网卡只能被识别成100M。幸亏另加的英特尔I350T2X1双网口网卡能被正确识别成1000M的,而且显示支持SR-IOV,但是设置了好多次SR-IOV,重启后模拟网卡数量就会跳回0个,无法正确启用。不知道是ESXi版本问题还是别的什么原因
因为低配高价,放弃升级群晖NAS的想法 转而 来玩玩ESXi 8.0吧
趁着这个机会,把所有ESXi的虚拟机和路由器的速度都测了一遍,果然只要把虚拟机的网络适配器改为英特尔I350T2X1网卡的端口组,速度马上就从百兆变为千兆。
这个时候想到测试一下我的群晖DS418play到路由器的速度,结果一下子还找不到iperf3在Synology的应用,网上又编译的spk是针对DSM6.3的,而且无法下载,DSM7又提到的一般是用Docker运行,而我的群晖DS418play无法运行Docker。
几经搜索,发现了群晖的Diagnosis Tool工具,里面有78个工具,其中就包括iperf3,方法很简单。
群晖NAS内网速度测试
- SSH登录群晖NAS,并切换到管理员权限sudo -i
- 安装Diagnosis Tool,sudo synogear install
- 运行/var/packages/DiagnosisTool/target/tool/iperf3 -c 192.168.188.1
群晖NAS外网速度测试
- 运行:/var/packages/DiagnosisTool/target/tool/speedtest-cli.py
- 会在结果可以找到Download: 138.89 Mbit/s;Upload: 63.01 Mbit/s(这是我千兆移动的测试结果)
如果不想使用synogear了, 一个命令就可移除:
sudo synogear remove
78个群晖的Diagnosis Tool工具命令行参考
- /var/packages/DiagnosisTool/target/tool/addr2name
- /var/packages/DiagnosisTool/target/tool/arping
- /var/packages/DiagnosisTool/target/tool/ash
- /var/packages/DiagnosisTool/target/tool/bash
- /var/packages/DiagnosisTool/target/tool/cifsiostat
- /var/packages/DiagnosisTool/target/tool/clockdiff
- /var/packages/DiagnosisTool/target/tool/dig
- /var/packages/DiagnosisTool/target/tool/domain_test.sh
- /var/packages/DiagnosisTool/target/tool/file
- /var/packages/DiagnosisTool/target/tool/fix_idmap.sh
- /var/packages/DiagnosisTool/target/tool/free
- /var/packages/DiagnosisTool/target/tool/gcore
- /var/packages/DiagnosisTool/target/tool/gdb
- /var/packages/DiagnosisTool/target/tool/gdbserver
- /var/packages/DiagnosisTool/target/tool/iftop
- /var/packages/DiagnosisTool/target/tool/iostat
- /var/packages/DiagnosisTool/target/tool/iotop
- /var/packages/DiagnosisTool/target/tool/iperf
- /var/packages/DiagnosisTool/target/tool/iperf3
- /var/packages/DiagnosisTool/target/tool/kill
- /var/packages/DiagnosisTool/target/tool/killall
- /var/packages/DiagnosisTool/target/tool/ldd
- /var/packages/DiagnosisTool/target/tool/lsof
- /var/packages/DiagnosisTool/target/tool/ltrace
- /var/packages/DiagnosisTool/target/tool/mpstat
- /var/packages/DiagnosisTool/target/tool/name2addr
- /var/packages/DiagnosisTool/target/tool/ncat
- /var/packages/DiagnosisTool/target/tool/ndisc6
- /var/packages/DiagnosisTool/target/tool/nethogs
- /var/packages/DiagnosisTool/target/tool/nfsiostat-sysstat
- /var/packages/DiagnosisTool/target/tool/nmap
- /var/packages/DiagnosisTool/target/tool/nping
- /var/packages/DiagnosisTool/target/tool/nslookup
- /var/packages/DiagnosisTool/target/tool/perf-check.py
- /var/packages/DiagnosisTool/target/tool/pgrep
- /var/packages/DiagnosisTool/target/tool/pidof
- /var/packages/DiagnosisTool/target/tool/pidstat
- /var/packages/DiagnosisTool/target/tool/ping6
- /var/packages/DiagnosisTool/target/tool/ping
- /var/packages/DiagnosisTool/target/tool/pkill
- /var/packages/DiagnosisTool/target/tool/pmap
- /var/packages/DiagnosisTool/target/tool/ps
- /var/packages/DiagnosisTool/target/tool/pstree
- /var/packages/DiagnosisTool/target/tool/pwdx
- /var/packages/DiagnosisTool/target/tool/rarpd
- /var/packages/DiagnosisTool/target/tool/rdisc6
- /var/packages/DiagnosisTool/target/tool/rdisc
- /var/packages/DiagnosisTool/target/tool/rltraceroute6
- /var/packages/DiagnosisTool/target/tool/sa1
- /var/packages/DiagnosisTool/target/tool/sa2
- /var/packages/DiagnosisTool/target/tool/sadc
- /var/packages/DiagnosisTool/target/tool/sadf
- /var/packages/DiagnosisTool/target/tool/sar
- /var/packages/DiagnosisTool/target/tool/sh
- /var/packages/DiagnosisTool/target/tool/sid2ugid.sh
- /var/packages/DiagnosisTool/target/tool/slabtop
- /var/packages/DiagnosisTool/target/tool/sockstat
- /var/packages/DiagnosisTool/target/tool/speedtest-cli.py
- /var/packages/DiagnosisTool/target/tool/strace
- /var/packages/DiagnosisTool/target/tool/sysctl
- /var/packages/DiagnosisTool/target/tool/sysstat
- /var/packages/DiagnosisTool/target/tool/tcpdump
- /var/packages/DiagnosisTool/target/tool/tcpdump_wrapper
- /var/packages/DiagnosisTool/target/tool/tcpspray6
- /var/packages/DiagnosisTool/target/tool/tcptraceroute6
- /var/packages/DiagnosisTool/target/tool/telnet
- /var/packages/DiagnosisTool/target/tool/tload
- /var/packages/DiagnosisTool/target/tool/top
- /var/packages/DiagnosisTool/target/tool/tracepath
- /var/packages/DiagnosisTool/target/tool/traceroute6
- /var/packages/DiagnosisTool/target/tool/tracert6
- /var/packages/DiagnosisTool/target/tool/uptime
- /var/packages/DiagnosisTool/target/tool/vmstat
- /var/packages/DiagnosisTool/target/tool/w
- /var/packages/DiagnosisTool/target/tool/watch
- /var/packages/DiagnosisTool/target/tool/zblacklist
- /var/packages/DiagnosisTool/target/tool/zmap
- /var/packages/DiagnosisTool/target/tool/ztee