ethtool -s eth0 speed 100 duplex full autoneg off
works the same. Switch shows 100 MBit/s in the web ui.
Receiving seems a little slow
Now for giggles, I tried -R with 1 Gbit/s. I am sure, I tried this before, and it was really bad. But now I get this:
root@osmckino:~# iperf3 -c whs3 -R
Connecting to host whs3, port 5201
Reverse mode, remote host whs3 is sending
[ 4] local 10.1.0.41 port 50299 connected to 10.1.0.10 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 74.6 MBytes 626 Mbits/sec
[ 4] 1.00-2.00 sec 112 MBytes 940 Mbits/sec
[ 4] 2.00-3.00 sec 110 MBytes 920 Mbits/sec
[ 4] 3.00-4.00 sec 112 MBytes 939 Mbits/sec
[ 4] 4.00-5.00 sec 112 MBytes 941 Mbits/sec
[ 4] 5.00-6.00 sec 112 MBytes 941 Mbits/sec
[ 4] 6.00-7.00 sec 112 MBytes 939 Mbits/sec
[ 4] 7.00-8.00 sec 112 MBytes 941 Mbits/sec
[ 4] 8.00-9.00 sec 110 MBytes 927 Mbits/sec
[ 4] 9.00-10.00 sec 112 MBytes 941 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 1.05 GBytes 906 Mbits/sec sender
[ 4] 0.00-10.00 sec 1.05 GBytes 906 Mbits/sec receiver
iperf Done.
What theā¦ ???
Sending is still bad with many retries.
After the test above I tried playback in Kodi. Should work fine, as receiving is fineā¦ No! Stutters and freezes like hell.
Now repeat the same test. Very, very bad:
root@osmckino:~# iperf3 -c whs3 -R
Connecting to host whs3, port 5201
Reverse mode, remote host whs3 is sending
[ 4] local 10.1.0.41 port 50497 connected to 10.1.0.10 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 77.0 MBytes 646 Mbits/sec
[ 4] 1.00-2.00 sec 1.71 MBytes 14.3 Mbits/sec
[ 4] 2.00-3.00 sec 1.09 MBytes 9.16 Mbits/sec
[ 4] 3.00-4.00 sec 489 KBytes 4.01 Mbits/sec
[ 4] 4.00-5.00 sec 894 KBytes 7.32 Mbits/sec
[ 4] 5.00-6.00 sec 1.94 MBytes 16.2 Mbits/sec
[ 4] 6.00-7.00 sec 5.47 MBytes 45.9 Mbits/sec
[ 4] 7.00-8.00 sec 1.66 MBytes 13.9 Mbits/sec
[ 4] 8.00-9.00 sec 73.5 KBytes 602 Kbits/sec
[ 4] 9.00-10.00 sec 2.42 MBytes 20.3 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 92.9 MBytes 77.9 Mbits/sec sender
[ 4] 0.00-10.00 sec 92.7 MBytes 77.8 Mbits/sec receiver
iperf Done.
If you have a configurable Switch - could you configure the Switch and the Vero to use 1GBps full duplex? wonder if that works.
No I donāt know, how to do this. And frankly, I donāt see the point. The problem seems to be very down at the link layer. Capturing packet doesnāt make sense to me.
As a reminder, same switch(es), same cable, and Amlogic S912 box with Libreelec wrxtasty build runs fine, Windows PCs run fine, Nvidia Shield with Kodi runs fine.
I suspect something is wrong with the āmagicā eth0 interface, which provides 1 GB Ethernet with the S905X. I have no idea, how this is actually possible. Is this an external Ethernet chip? But then, how is it connected to the SOC? Certainly not USBā¦
You mean non auto negotiation? Will try.
Exactly. Make sure you configure the same params on both sides.
What does that mean? What was Sending and Receiving average?
Done. Quite bad:
root@osmckino:~# iperf3 -c whs3
Connecting to host whs3, port 5201
[ 4] local 10.1.0.41 port 50671 connected to 10.1.0.10 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 4.42 MBytes 37.1 Mbits/sec 121 4.24 KBytes
[ 4] 1.00-2.00 sec 1.81 MBytes 15.2 Mbits/sec 70 2.83 KBytes
[ 4] 2.00-3.00 sec 1.01 MBytes 8.43 Mbits/sec 31 2.83 KBytes
[ 4] 3.00-4.00 sec 1.90 MBytes 15.9 Mbits/sec 66 2.83 KBytes
[ 4] 4.00-5.00 sec 1.93 MBytes 16.2 Mbits/sec 65 2.83 KBytes
[ 4] 5.00-6.00 sec 1.80 MBytes 15.1 Mbits/sec 62 2.83 KBytes
[ 4] 6.00-7.00 sec 2.35 MBytes 19.7 Mbits/sec 73 2.83 KBytes
[ 4] 7.00-8.00 sec 1.40 MBytes 11.7 Mbits/sec 47 2.83 KBytes
[ 4] 8.00-9.00 sec 745 KBytes 6.10 Mbits/sec 27 1.41 KBytes
[ 4] 9.00-10.00 sec 3.80 MBytes 31.9 Mbits/sec 129 2.83 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 21.1 MBytes 17.7 Mbits/sec 691 sender
[ 4] 0.00-10.00 sec 21.1 MBytes 17.7 Mbits/sec receiver
iperf Done.
But now the other direction:
root@osmckino:~# iperf3 -c whs3 -R
Connecting to host whs3, port 5201
Reverse mode, remote host whs3 is sending
[ 4] local 10.1.0.41 port 50708 connected to 10.1.0.10 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 110 MBytes 924 Mbits/sec
[ 4] 1.00-2.00 sec 109 MBytes 917 Mbits/sec
[ 4] 2.00-3.00 sec 112 MBytes 936 Mbits/sec
[ 4] 3.00-4.00 sec 106 MBytes 893 Mbits/sec
[ 4] 4.00-5.00 sec 111 MBytes 928 Mbits/sec
[ 4] 5.00-6.00 sec 111 MBytes 931 Mbits/sec
[ 4] 6.00-7.00 sec 107 MBytes 895 Mbits/sec
[ 4] 7.00-8.00 sec 106 MBytes 888 Mbits/sec
[ 4] 8.00-9.00 sec 76.5 MBytes 642 Mbits/sec
[ 4] 9.00-10.00 sec 112 MBytes 940 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 1.04 GBytes 889 Mbits/sec sender
[ 4] 0.00-10.00 sec 1.04 GBytes 889 Mbits/sec receiver
iperf Done.
???
root@osmckino:~# iperf3 -c whs3
Connecting to host whs3, port 5201
[ 4] local 10.1.0.41 port 50757 connected to 10.1.0.10 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 10.7 MBytes 89.4 Mbits/sec 0 250 KBytes
[ 4] 1.00-2.00 sec 10.0 MBytes 84.2 Mbits/sec 0 250 KBytes
[ 4] 2.00-3.00 sec 10.2 MBytes 85.8 Mbits/sec 0 272 KBytes
[ 4] 3.00-4.00 sec 9.96 MBytes 83.6 Mbits/sec 0 272 KBytes
[ 4] 4.00-5.00 sec 9.91 MBytes 83.1 Mbits/sec 0 272 KBytes
[ 4] 5.00-6.00 sec 9.83 MBytes 82.4 Mbits/sec 0 272 KBytes
[ 4] 6.00-7.00 sec 10.0 MBytes 84.1 Mbits/sec 0 273 KBytes
[ 4] 7.00-8.00 sec 10.0 MBytes 84.2 Mbits/sec 0 273 KBytes
[ 4] 8.00-9.00 sec 9.90 MBytes 83.1 Mbits/sec 0 273 KBytes
[ 4] 9.00-10.00 sec 9.98 MBytes 83.8 Mbits/sec 0 273 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 101 MBytes 84.4 Mbits/sec 0 sender
[ 4] 0.00-10.00 sec 99.2 MBytes 83.2 Mbits/sec receiver
iperf Done.
root@osmckino:~# iperf3 -c whs3 -R
Connecting to host whs3, port 5201
Reverse mode, remote host whs3 is sending
[ 4] local 10.1.0.41 port 50759 connected to 10.1.0.10 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 132 KBytes 1.08 Mbits/sec
[ 4] 1.00-2.00 sec 97.6 KBytes 799 Kbits/sec
[ 4] 2.00-3.00 sec 210 KBytes 1.72 Mbits/sec
[ 4] 3.00-4.00 sec 59.4 KBytes 486 Kbits/sec
[ 4] 4.00-5.00 sec 73.5 KBytes 603 Kbits/sec
[ 4] 5.00-6.00 sec 55.1 KBytes 452 Kbits/sec
[ 4] 6.00-7.00 sec 1.01 MBytes 8.44 Mbits/sec
[ 4] 7.00-8.00 sec 331 KBytes 2.71 Mbits/sec
[ 4] 8.00-9.00 sec 5.48 MBytes 46.0 Mbits/sec
[ 4] 9.00-10.00 sec 5.13 MBytes 43.0 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 12.8 MBytes 10.7 Mbits/sec sender
[ 4] 0.00-10.00 sec 12.7 MBytes 10.6 Mbits/sec receiver
iperf Done.
Any chance you can replicate the test where it is bad, and get on the vero at the same time (new putty/ssh connection open) a packet capture (dump)? Start the tcpdump capture prior making the iperf test.
sudo apt install tcpdump
sudo tcpdump -i eth0 -s100 -w /tmp/output.pcap
And hit Control-C when iperf is done. Let me know where I can download it. If itās not too large, I can send you my E-Mail.
Smurphy:
Any chance you can replicate the test where it is bad, and get on the vero at the same time (new putty/ssh connection open) a packet capture (dump)? Start the tcpdump capture prior making the iperf test.
sudo apt install tcpdump
sudo tcpdump -i eth0 -s100 -w /tmp/output.pcap
And hit Control-C when iperf is done. Let me know where I can download it. If itās not too large, I can send you my E-Mail.
Okay, but I have to do it later.
Thanks, so that is really confusing if you force 100Mbit the receiving is bad.
Guess from here onwards we have to wait for @sam_nazarko to show up with some magic
Some additional Info:
When I connect the Vero to the router (MikroTik CCR 1009) and not to the switch, I get super fast speed. Super smooth playback.
The Mikrotik is connected to the TP-Link Switch which is connected to the whs.box.
root@osmckino:~# iperf3 -c whs3
Connecting to host whs3, port 5201
[ 4] local 10.1.0.41 port 44303 connected to 10.1.0.10 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 111 MBytes 934 Mbits/sec 0 272 KBytes
[ 4] 1.00-2.00 sec 110 MBytes 923 Mbits/sec 0 272 KBytes
[ 4] 2.00-3.00 sec 111 MBytes 938 Mbits/sec 0 272 KBytes
[ 4] 3.00-4.00 sec 112 MBytes 937 Mbits/sec 0 272 KBytes
[ 4] 4.00-5.00 sec 112 MBytes 938 Mbits/sec 0 272 KBytes
[ 4] 5.00-6.00 sec 112 MBytes 937 Mbits/sec 0 272 KBytes
[ 4] 6.00-7.00 sec 112 MBytes 936 Mbits/sec 0 272 KBytes
[ 4] 7.00-8.00 sec 112 MBytes 937 Mbits/sec 0 272 KBytes
[ 4] 8.00-9.00 sec 111 MBytes 935 Mbits/sec 0 272 KBytes
[ 4] 9.00-10.00 sec 112 MBytes 938 Mbits/sec 0 272 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 1.09 GBytes 936 Mbits/sec 0 sender
[ 4] 0.00-10.00 sec 1.09 GBytes 934 Mbits/sec receiver
iperf Done.
root@osmckino:~# iperf3 -c whs3 -R
Connecting to host whs3, port 5201
Reverse mode, remote host whs3 is sending
[ 4] local 10.1.0.41 port 44318 connected to 10.1.0.10 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 111 MBytes 932 Mbits/sec
[ 4] 1.00-2.00 sec 112 MBytes 937 Mbits/sec
[ 4] 2.00-3.00 sec 110 MBytes 926 Mbits/sec
[ 4] 3.00-4.00 sec 109 MBytes 911 Mbits/sec
[ 4] 4.00-5.00 sec 112 MBytes 939 Mbits/sec
[ 4] 5.00-6.00 sec 112 MBytes 938 Mbits/sec
[ 4] 6.00-7.00 sec 112 MBytes 939 Mbits/sec
[ 4] 7.00-8.00 sec 110 MBytes 925 Mbits/sec
[ 4] 8.00-9.00 sec 112 MBytes 938 Mbits/sec
[ 4] 9.00-10.00 sec 112 MBytes 939 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 1.09 GBytes 933 Mbits/sec sender
[ 4] 0.00-10.00 sec 1.09 GBytes 933 Mbits/sec receiver
iperf Done.
So I guess there is an incompatibility on the Switch. thatās why I had requested the packet capture. Maybe we see something there.
I made a capture while doing this:
root@osmckino:~# iperf3 -c whs3 -R
Connecting to host whs3, port 5201
Reverse mode, remote host whs3 is sending
[ 4] local 10.1.0.41 port 44749 connected to 10.1.0.10 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 3.50 MBytes 29.3 Mbits/sec
[ 4] 1.00-2.00 sec 1.59 MBytes 13.4 Mbits/sec
[ 4] 2.00-3.00 sec 356 KBytes 2.92 Mbits/sec
[ 4] 3.00-4.00 sec 625 KBytes 5.12 Mbits/sec
[ 4] 4.00-5.00 sec 3.15 MBytes 26.4 Mbits/sec
[ 4] 5.00-6.00 sec 1.14 MBytes 9.58 Mbits/sec
[ 4] 6.00-7.00 sec 2.87 MBytes 24.0 Mbits/sec
[ 4] 7.00-8.00 sec 3.10 MBytes 26.0 Mbits/sec
[ 4] 8.00-9.00 sec 3.57 MBytes 29.9 Mbits/sec
[ 4] 9.00-10.00 sec 204 KBytes 1.67 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 20.2 MBytes 17.0 Mbits/sec sender
[ 4] 0.00-10.00 sec 20.1 MBytes 16.8 Mbits/sec receiver
iperf Done.
It is 459 kBytes compressed, so can be sent by email.
Where shall I send it?
EDIT:
Or can I attach it to a post?
Dropbox? Google drive link?
Please send me your E-Mail.
I am also interested in the capture so will make some space available shortly
Is everyone using a TP Link? I have these switches too but no issues
i use a Netgear Nighthawk R7000 Router where my Box is directly connected and to test my macbook 2013 (1300MBit AC Wifi)
SERVER Vero4k+:
Accepted connection from 192.168.1.3, port 61568
[ 5] local 192.168.1.15 port 5201 connected to 192.168.1.3 port 61569
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-1.00 sec 82.3 MBytes 689 Mbits/sec
[ 5] 1.00-2.00 sec 83.8 MBytes 702 Mbits/sec
[ 5] 2.00-3.00 sec 83.7 MBytes 704 Mbits/sec
[ 5] 3.00-4.00 sec 83.4 MBytes 699 Mbits/sec
[ 5] 4.00-5.00 sec 84.6 MBytes 709 Mbits/sec
[ 5] 5.00-6.00 sec 84.3 MBytes 708 Mbits/sec
[ 5] 6.00-7.00 sec 84.5 MBytes 708 Mbits/sec
[ 5] 7.00-8.00 sec 84.1 MBytes 706 Mbits/sec
[ 5] 8.00-9.00 sec 84.7 MBytes 711 Mbits/sec
[ 5] 9.00-10.00 sec 84.4 MBytes 708 Mbits/sec
[ 5] 10.00-10.01 sec 559 KBytes 437 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-10.01 sec 0.00 Bytes 0.00 bits/sec sender
[ 5] 0.00-10.01 sec 840 MBytes 704 Mbits/sec receiver
Client (Macbook):
Renes-MacBook-Pro:~ Rene$ iperf3 -c 192.168.1.15
Connecting to host 192.168.1.15, port 5201
[ 5] local 192.168.1.3 port 61569 connected to 192.168.1.15 port 5201
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 83.1 MBytes 697 Mbits/sec
[ 5] 1.00-2.00 sec 84.2 MBytes 706 Mbits/sec
[ 5] 2.00-3.00 sec 83.4 MBytes 701 Mbits/sec
[ 5] 3.00-4.00 sec 83.6 MBytes 701 Mbits/sec
[ 5] 4.00-5.00 sec 84.2 MBytes 708 Mbits/sec
[ 5] 5.00-6.00 sec 84.4 MBytes 707 Mbits/sec
[ 5] 6.00-7.00 sec 84.2 MBytes 706 Mbits/sec
[ 5] 7.00-8.00 sec 84.0 MBytes 705 Mbits/sec
[ 5] 8.00-9.00 sec 85.1 MBytes 714 Mbits/sec
[ 5] 9.00-10.00 sec 84.2 MBytes 707 Mbits/sec
[ ID] Interval Transfer Bitrate
[ 5] 0.00-10.00 sec 841 MBytes 705 Mbits/sec sender
[ 5] 0.00-10.00 sec 840 MBytes 705 Mbits/sec receiver
BTW: Tests are made while watching over NAS. For using Wifi on the macbook to test, the results are ok for me.
Iād like to work with people that have a transmit problem. Your network performance looks healthy.
Sam