I'd like to add an example of ping and iperf to some host in my network
which shows how wired network is:

  ~ $ ping 172.31.3.10
  PING 172.31.3.10 (172.31.3.10): 56 data bytes
  64 bytes from 172.31.3.10: icmp_seq=0 ttl=63 time=209.458 ms
  64 bytes from 172.31.3.10: icmp_seq=1 ttl=63 time=238.693 ms
  64 bytes from 172.31.3.10: icmp_seq=2 ttl=63 time=266.242 ms
  64 bytes from 172.31.3.10: icmp_seq=3 ttl=63 time=190.822 ms
  64 bytes from 172.31.3.10: icmp_seq=4 ttl=63 time=26.883 ms
  64 bytes from 172.31.3.10: icmp_seq=5 ttl=63 time=167.670 ms
  64 bytes from 172.31.3.10: icmp_seq=6 ttl=63 time=31.015 ms
  64 bytes from 172.31.3.10: icmp_seq=7 ttl=63 time=146.986 ms
  64 bytes from 172.31.3.10: icmp_seq=8 ttl=63 time=52.205 ms
  64 bytes from 172.31.3.10: icmp_seq=9 ttl=63 time=60.419 ms
  ^C
  --- 172.31.3.10 ping statistics ---
  10 packets transmitted, 10 packets received, 0.0% packet loss
  round-trip min/avg/max/std-dev = 26.883/139.039/266.242/85.208 ms
  ~ $ iperf3 -c 172.31.3.10 -P 1                 
  Connecting to host 172.31.3.10, port 5201
  [  4] local 172.31.2.77 port 10662 connected to 172.31.3.10 port 5201
  [ ID] Interval           Transfer     Bitrate         Retr  Cwnd
  [  4]   0.00-1.01   sec  0.00 Bytes  0.00 bits/sec    0   17.0 KBytes       
  [  4]   1.01-2.01   sec  0.00 Bytes  0.00 bits/sec    0   28.3 KBytes       
  [  4]   2.01-3.02   sec   128 KBytes  1.04 Mbits/sec    0   38.2 KBytes       
  [  4]   3.02-4.02   sec  0.00 Bytes  0.00 bits/sec    0   52.3 KBytes       
  [  4]   4.02-5.02   sec  0.00 Bytes  0.00 bits/sec    0   4.24 KBytes       
  [  4]   5.02-6.02   sec  0.00 Bytes  0.00 bits/sec    0   1.41 KBytes       
  [  4]   6.02-7.02   sec  0.00 Bytes  0.00 bits/sec    0   5.89 KBytes       
  [  4]   7.02-8.02   sec  0.00 Bytes  0.00 bits/sec    0   7.14 KBytes       
  [  4]   8.02-9.02   sec   128 KBytes  1.05 Mbits/sec    0   8.44 KBytes       
  [  4]   9.02-10.02  sec  0.00 Bytes  0.00 bits/sec    0   9.77 KBytes       
  - - - - - - - - - - - - - - - - - - - - - - - - -
  [ ID] Interval           Transfer     Bitrate         Retr
  [  4]   0.00-10.02  sec   256 KBytes   209 Kbits/sec    0             sender
  [  4]   0.00-10.76  sec   276 KBytes   210 Kbits/sec                  receiver

  iperf Done.
  ~ $

the same OpenBSD laptop but via Ethernet:

  ~ $ ping 172.31.3.10 
  PING 172.31.3.10 (172.31.3.10): 56 data bytes
  64 bytes from 172.31.3.10: icmp_seq=0 ttl=64 time=7.316 ms
  64 bytes from 172.31.3.10: icmp_seq=1 ttl=64 time=1.261 ms
  64 bytes from 172.31.3.10: icmp_seq=2 ttl=64 time=1.380 ms
  64 bytes from 172.31.3.10: icmp_seq=3 ttl=64 time=1.069 ms
  64 bytes from 172.31.3.10: icmp_seq=4 ttl=64 time=1.135 ms
  64 bytes from 172.31.3.10: icmp_seq=5 ttl=64 time=1.147 ms
  64 bytes from 172.31.3.10: icmp_seq=6 ttl=64 time=1.130 ms
  64 bytes from 172.31.3.10: icmp_seq=7 ttl=64 time=1.084 ms
  64 bytes from 172.31.3.10: icmp_seq=8 ttl=64 time=1.088 ms
  64 bytes from 172.31.3.10: icmp_seq=9 ttl=64 time=1.094 ms
  ^C
  --- 172.31.3.10 ping statistics ---
  10 packets transmitted, 10 packets received, 0.0% packet loss
  round-trip min/avg/max/std-dev = 1.069/1.770/7.316/1.851 ms
  ~ $ iperf3 -c 172.31.3.10 -P 1 
  Connecting to host 172.31.3.10, port 5201
  [  4] local 172.31.3.7 port 40633 connected to 172.31.3.10 port 5201
  [ ID] Interval           Transfer     Bitrate         Retr  Cwnd
  [  4]   0.00-1.01   sec  34.2 MBytes   285 Mbits/sec    0    176 KBytes       
  [  4]   1.01-2.02   sec  34.1 MBytes   283 Mbits/sec    0    243 KBytes       
  [  4]   2.02-3.02   sec  34.1 MBytes   286 Mbits/sec    0    295 KBytes       
  [  4]   3.02-4.02   sec  34.4 MBytes   288 Mbits/sec    0    339 KBytes       
  [  4]   4.02-5.02   sec  33.8 MBytes   283 Mbits/sec    0   21.2 KBytes       
  [  4]   5.02-6.02   sec  34.1 MBytes   286 Mbits/sec    0    172 KBytes       
  [  4]   6.02-7.02   sec  34.2 MBytes   287 Mbits/sec    0    240 KBytes       
  [  4]   7.02-8.02   sec  34.1 MBytes   286 Mbits/sec    0    293 KBytes       
  [  4]   8.02-9.02   sec  34.1 MBytes   286 Mbits/sec    0    337 KBytes       
  [  4]   9.02-10.02  sec  34.2 MBytes   287 Mbits/sec    0    374 KBytes       
  - - - - - - - - - - - - - - - - - - - - - - - - -
  [ ID] Interval           Transfer     Bitrate         Retr
  [  4]   0.00-10.02  sec   342 MBytes   286 Mbits/sec    0             sender
  [  4]   0.00-10.22  sec   342 MBytes   280 Mbits/sec                  receiver

  iperf Done.
  ~ $ 

and MBP via the same WiFi / AP:

  √ ~ % ping 172.31.3.10
  PING 172.31.3.10 (172.31.3.10): 56 data bytes
  64 bytes from 172.31.3.10: icmp_seq=0 ttl=63 time=3.231 ms
  64 bytes from 172.31.3.10: icmp_seq=1 ttl=63 time=4.165 ms
  64 bytes from 172.31.3.10: icmp_seq=2 ttl=63 time=2.891 ms
  64 bytes from 172.31.3.10: icmp_seq=3 ttl=63 time=2.738 ms
  64 bytes from 172.31.3.10: icmp_seq=4 ttl=63 time=2.619 ms
  64 bytes from 172.31.3.10: icmp_seq=5 ttl=63 time=2.603 ms
  64 bytes from 172.31.3.10: icmp_seq=6 ttl=63 time=2.990 ms
  64 bytes from 172.31.3.10: icmp_seq=7 ttl=63 time=2.631 ms
  64 bytes from 172.31.3.10: icmp_seq=8 ttl=63 time=3.170 ms
  64 bytes from 172.31.3.10: icmp_seq=9 ttl=63 time=3.140 ms
  ^C
  --- 172.31.3.10 ping statistics ---
  10 packets transmitted, 10 packets received, 0.0% packet loss
  round-trip min/avg/max/stddev = 2.603/3.018/4.165/0.444 ms
  √ ~ % iperf3 -c 172.31.3.10 -P 1 
  Connecting to host 172.31.3.10, port 5201
  [  5] local 172.31.2.7 port 64543 connected to 172.31.3.10 port 5201
  [ ID] Interval           Transfer     Bitrate
  [  5]   0.00-1.00   sec  25.4 MBytes   212 Mbits/sec                  
  [  5]   1.00-2.00   sec  21.0 MBytes   176 Mbits/sec                  
  [  5]   2.00-3.00   sec  18.9 MBytes   159 Mbits/sec                  
  [  5]   3.00-4.00   sec  16.5 MBytes   138 Mbits/sec                  
  [  5]   4.00-5.01   sec  13.6 MBytes   113 Mbits/sec                  
  [  5]   5.01-6.00   sec  17.9 MBytes   151 Mbits/sec                  
  [  5]   6.00-7.00   sec  17.6 MBytes   148 Mbits/sec                  
  [  5]   7.00-8.00   sec  18.6 MBytes   156 Mbits/sec                  
  [  5]   8.00-9.00   sec  12.9 MBytes   108 Mbits/sec                  
  [  5]   9.00-10.00  sec  15.4 MBytes   129 Mbits/sec                  
  - - - - - - - - - - - - - - - - - - - - - - - - -
  [ ID] Interval           Transfer     Bitrate
  [  5]   0.00-10.00  sec   178 MBytes   149 Mbits/sec                  sender
  [  5]   0.00-10.04  sec   176 MBytes   147 Mbits/sec                  receiver

  iperf Done.
  √ ~ % 

all of this seems like a strong indicator that the issue is inside iwx

Meanwhile, I have't got anythin inside dmesg.

-- 
wbr, Kirill

Reply via email to