I have discovered interesting behaviour of the clearfogpro switching between lk4.19 and 5.8 and would like to know if others are able to reproduce. And maybe have ideas on how to fix.
- set the lan1-6 interfaces to bridging (example via following /etc/network/interfaces : https://pastebin.com/dpXEBe6g )
- reboot
- plug into your network should be GBit (on lan1-5). Verify you get ip, and can reach other devices.
- run iperf3 between clearfogpro and other gbit device in your network. Should yield about 900MBit/s
Now the interesting part:
- attach another device to the switch
- see how both status leds blink when transfering data via iperf3 ? The bridge seems to run as a hub and not a switch.
- now plug a 100mbit/s device into the bridge.
- test speed to a gbit device with iperf (both directions): one direction will only yield about 100mbit/s.
- while iperf3 is running to the gbit device, unplug and replug the 100mbit/s device on the switch, you should see the rate jump between 100 and 1000.....
NOTICE: This only happens in the direction where the clearfogpro is receiving data. Send speed is still at 1gbit/s.
Now use armbian-config and switch to LK4.19, reproduce steps from above. You should only see one activity led blinking and the switch functioning correctly at 1gbit/s even with a 100mbit/s device connected.
So this leads me to think there's either some difference in the handling of the clearfogpro switch chip (between LK4 and 5) or some difference in bridge package.
It would be great if someone could confirm so I am sure, it is not a problem with my setup.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
Heisath
Hello,
I have discovered interesting behaviour of the clearfogpro switching between lk4.19 and 5.8 and would like to know if others are able to reproduce. And maybe have ideas on how to fix.
Steps to reproduce:
- have a clearfogpro
- get the current armbian image https://archive.armbian.com/clearfogpro/archive/ 20.08
- 'apt update && apt full-upgrade'
- set the lan1-6 interfaces to bridging (example via following /etc/network/interfaces : https://pastebin.com/dpXEBe6g )
- reboot
- plug into your network should be GBit (on lan1-5). Verify you get ip, and can reach other devices.
- run iperf3 between clearfogpro and other gbit device in your network. Should yield about 900MBit/s
Now the interesting part:
- attach another device to the switch
- see how both status leds blink when transfering data via iperf3 ? The bridge seems to run as a hub and not a switch.
- now plug a 100mbit/s device into the bridge.
- test speed to a gbit device with iperf (both directions): one direction will only yield about 100mbit/s.
- while iperf3 is running to the gbit device, unplug and replug the 100mbit/s device on the switch, you should see the rate jump between 100 and 1000.....
NOTICE: This only happens in the direction where the clearfogpro is receiving data. Send speed is still at 1gbit/s.
Now use armbian-config and switch to LK4.19, reproduce steps from above. You should only see one activity led blinking and the switch functioning correctly at 1gbit/s even with a 100mbit/s device connected.
So this leads me to think there's either some difference in the handling of the clearfogpro switch chip (between LK4 and 5) or some difference in bridge package.
It would be great if someone could confirm so I am sure, it is not a problem with my setup.
root@clearfogpro:~# iperf3 -c 192.168.42.3 -t 100 -R Connecting to host 192.168.42.3, port 5201 Reverse mode, remote host 192.168.42.3 is sending [ 5] local 192.168.42.106 port 33648 connected to 192.168.42.3 port 5201 [ ID] Interval Transfer Bitrate [ 5] 0.00-1.00 sec 11.3 MBytes 94.3 Mbits/sec # 100mbit/s device plugged into the switch [ 5] 1.00-2.00 sec 11.2 MBytes 94.1 Mbits/sec [ 5] 2.00-3.00 sec 11.2 MBytes 94.1 Mbits/sec [ 5] 3.00-4.00 sec 11.2 MBytes 94.1 Mbits/sec [ 5] 4.00-5.00 sec 26.7 MBytes 224 Mbits/sec # 100mbit/s device removed [ 5] 5.00-6.00 sec 107 MBytes 900 Mbits/sec [ 5] 6.00-7.00 sec 105 MBytes 878 Mbits/sec [ 5] 7.00-8.00 sec 107 MBytes 893 Mbits/sec ^C[ 5] 8.00-8.61 sec 63.9 MBytes 885 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate [ 5] 0.00-8.61 sec 0.00 Bytes 0.00 bits/sec sender [ 5] 0.00-8.61 sec 454 MBytes 443 Mbits/sec receiver
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.