hey folks,
I’m using the iperf3 integration. the TL;DR is that the download data collected from within HA is quite a bit slower than results run from the same machine from the command line. I’ve been able to reproduce this over 48 hours and at least 15 tests.
Logs show literally nothing.
I’m using an iperf3 server from my ISP which is 3 hops from my HA box. My HA Box has no issues moving 10Gbps traffic inside its own vLAN and I’d expect to see about 6-8Gbps to the remote iperf3 server. That’s consistent with what I get from the command line.
I am getting about 6-7Gbps of upload with the integration’s test. But the download seems to always report about 1.1-1.3Gbps.
I have it configured as follows:
iperf3:
monitored_conditions:
- download
- upload
hosts:
- host: 198.60.x.x
parallel: 20
scan_interval: 12:00:00
logger:
default: info
logs:
homeassistant.components.iperf3: debug
I’m calling the test in HA via:
service: iperf3.speedtest
data:
host: 198.60.22.18
and I get:
download 1,852.91 Mbit/s
upload 7,479.98 Mbits/s
Here are the command line results:
iperf3 -c 198.60.x.x -P 20
[SUM] 0.00-10.00 sec 9.62 GBytes 8.27 Gbits/sec 1235 sender
[SUM] 0.00-10.03 sec 9.59 GBytes 8.21 Gbits/sec receiver