Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#4221 - R7800 poor download rate when client connects with 100FD #9202

Open
openwrt-bot opened this issue Jan 9, 2022 · 62 comments
Open
Labels
bug issue report with a confirmed bug flyspray target/ipq806x pull request/issue for ipq806x target

Comments

@openwrt-bot
Copy link

Ernie63:

Netgear Nighthawk X4S R7800 with OpenWrt 21.02.1 freshly installed

ISP line is 250/25. Wan port is 1G (auto).

Steps to reproduce:
Laptop connected on LAN-side with 1G (auto): Ookla speedtest is 250/25.
Laptop connected on LAN-side with 100FD: Ookla speedtest is only 30/25.

This performance degration only occurs, when the R7800 is routing and natting the traffic.
"Switched only" traffic inside the LAN is not affected.

With stock ROM the download rate is as expected:
Laptop connected on LAN-side with 100FD: Ookla speedtest is 80/25.

@sppmasterspp
Copy link

sppmasterspp commented Mar 16, 2022

I experience the same low download/upload speeds when there is LAN traffic.
I fully explained the things in several posts here
https://forum.openwrt.org/t/ipq806x-nss-build-netgear-r7800-tp-link-c2600-linksys-ea8500/82525/1877?u=sppmaster
I have issues with download / upload rates only when there is traffic on the LAN-side like playing a 4K movie from LAN.
If a device is playing a 4K movie over WAN side (like HBOMax) there are no speed drops.

@sppmasterspp
Copy link

sppmasterspp commented Mar 17, 2022

After lots of tests - here is the problem completely reproducible using iperf3 to create LAN traffic between LAN clients. In my case I run iperf3 (with a predefined throughput of 60Mbps) between a Laptop connected at 100Mbps! (this is the culprit) and PC connected at 1000Mbps. The result - the PC can only download/upload from/to WAN at really low speeds.
If the same test is performed when a Laptop is connected at 1000Mbps then there is no problem for the PC to achieve full speeds.
The slowdown only occurs when a device (Laptop, PC, Smart TV) is connected via cable and the negotiated speed is 100Mbps (I've used a 100Mbps cable). Then the other device even connected at 1000Mbps cannot download/upload to WAN at high speed if there is LAN traffic at the same time.

@sppmasterspp
Copy link

sppmasterspp commented Mar 18, 2022

I have to add that two compulsory conditions should be met at the same time in order to reproduce the WAN performance drop. A client connected at 100Mbps (let's call it "Problem Client") and a LAN traffic between the "Problem Client" and any other device connected to LAN by cable.

@Ansuel
Copy link
Member

Ansuel commented Mar 20, 2022

@sppmasterspp what we should really test is if the original firmware also suffer from the same problem. Can you that simple test? It's just to have a direction if internally they fixed the bug and we are just missing the workaround on our code

@sppmasterspp
Copy link

sppmasterspp commented Mar 20, 2022

@Ansuel What I've been able to test so far is this:
With Voxel firmware based on original Netgear firmware the router can reach maximum download speeds (considering the scenario with LAN traffic and 100Mbps Problem client takes place) even with ping being 50-70 ms. But the WAN upload speed in this case is limited to around 150Mbps.
Will add more test data as soon as I can.

@sppmasterspp
Copy link

sppmasterspp commented Apr 8, 2022

@Ansuel @quarkysg
I've tested extensively the latest stock Netgear firmware and latest Voxel firmware for R7800.
I've found that both have almost the same issue as OpenWRT.
There are a few differences. The stock firmware is more resilient and when the LAN traffic is present (between PC and 100Mbps client) the full WAN download speed is still achievable even though with higher ping times. But when the WAN speed is at full there are drops in LAN transfer speed.
The upload WAN speed is limited as with OpenWRT firmware.
Original Netgear firmware experiences issues with WAN download speeds too but this happens when there are two different 100Mbps devices connected to the LAN ports and there is a LAN transfer involving one desktop PC (1Gbps) sending files over LAN (or running iperf3 server) to both 100Mbps clients. Using this scenario the R7800 has problems to achieve full WAN down/up speeds.
If the clients are connected at 1Gbps full WAN/LAN speeds at low pings are possible.

@sppmasterspp
Copy link

I've posted the exact steps to reproduce/trigger the bug.
https://forum.openwrt.org/t/netgear-r7800-exploration-ipq8065-qca9984/285/3187?u=sppmaster

@sppmasterspp
Copy link

@quarkysg and @Ansuel
Today I've benchmarked a Belkin RT3200 with the same tests with a 100Mbps client connected to the LAN switch port of RT3200. It still runs factory firmware. I can hardly reach 200Mbps down and 20Mbps upload speeds.
I can only say that I see the same decrease in the WAN throughput. The same issue is present as with R7800. So probably the bug is not connected to the specific hardware as both are based on different SoC.
Probably the reason is the same regarding this issue too #9420
Is it clear what exactly cause this erratic behaviour.

@sppmasterspp
Copy link

@quarkysg @Ansuel
Just for the record about the WAN/LAN performance drop with 100Mbps client connected to a LAN port.
I've tried all the speed tests with Belkin RT3200 with all the builds starting with Dangowrt Release v0.6.5, next updating to the 22.03 snapshot, and finally with latest master (kernel 5.15). The issue is repeatable.
Additionally I've tried all tests with old TP-Link WDR4300 (running current master) - the above issue with WAN/LAN slowdown is present on WDR4300 too.

@sppmasterspp
Copy link

@Ansuel @quarkysg
I've tried this with several gigabit routers - Netgear R7800, TP-Link WDR4300, Belkin RT3200. With all of them the results are completely repeatable using the same bench test setup. These three routers are based on different SoC's. The hardware is different but I see almost the same WAN/LAN performance degradation with only negligible variances.
I've tried several OpenWRT versions with default and custom configurations. The issue is present on all stock firmwares I've tried too and they are based on older OpenWRT code.

No such loss of performance can be observed when only Gigabit clients are connected to the gigabit switch. Instead we achieve Gigabit Full Duplex speeds as can be expected - simultaneous 1Gbps download and 1Gbps upload WAN/LAN performance no matter of the LAN traffic.

@Ansuel
Copy link
Member

Ansuel commented Jun 4, 2022 via email

@sppmasterspp
Copy link

sppmasterspp commented Jun 4, 2022

@Ansuel
I still think this is a software bug because a really cheap gigabit router I've tested based on a Ralink chipset doesn't experience this slowdown.
If it was a hardware limitation shouldn't we observe a fixed limited result every time like 50Mbps for example.
For Netgear R7800, TP-Link WDR4300 and Belkin RT3200 the results vary a lot - if the LAN traffic is low the WAN performance can reach 300-400, sometimes even 500Mbps.
And if I run two or three LAN transfers to 100Mbps devices the WAN speed drops to as low as 20-30Mbps. That's far even from the Fast Ethernet era.

@sppmasterspp
Copy link

sppmasterspp commented Jun 5, 2022

@Ansuel @quarkysg
Very similar performance discussion on Mikrotik forum although it's about 2.5G router and mixed 1G, 2.5G ports/devices.
https://forum.mikrotik.com/viewtopic.php?p=920760#p895221

@nikito7
Copy link

nikito7 commented Jun 5, 2022

Only affects one direction.

My 1000/400 connection turns into 1000/100.

Maybe is some "switch qos" bug. Or cpu port.

@sppmasterspp
Copy link

sppmasterspp commented Jun 5, 2022

@nikito7
Have you actually tried with LAN traffic during WAN speed test. Can you give more details about your network setup, devices and what you observed.
Personally I don't use QOS but I've tried NSS fq_codel to see if there is any difference. There wasn't.

@sppmasterspp
Copy link

sppmasterspp commented Jun 5, 2022

@robhancock
Copy link

As I posted on the forum, it's quite possible that having Ethernet flow control enabled on the wired ports will cause such issues. It seems to be enabled by default, on Linksys E8450 at least, but you really don't want it enabled, especially when mixed speed devices are connected to the switch ports.

@sppmasterspp
Copy link

Disabling Flow Control of the built-in R7800 switch gives full WAN speed but breaks LAN transfers. So this isn't a solution yet to the WAN/LAN performance issue.

@sppmasterspp
Copy link

@Ansuel
Today I had some spare time and devoted it to testing this further for almost three hours.
You can see here that when Flow Control was disabled on the R7800 built-in switch I couldn't get uninterrupted LAN traffic.
In the next tests I've used R7800 with default switch settings (Flow Control is Enabled).
This time I decided to disable the Flow Control of the PC NIC (Realtek) as I posted here.
As you can see from the post I didn't get the uninterrupted LAN traffic with Belkin RT3200.
For my latest tests I've used R7800 but I've disabled Flow Control of the PC Realtek NIC.
To my surprise this time I was able to get full WAN speed on the PC while it was streaming the same 4K movie stream (I've used for the previous tests) simultaneously to three 100Mbps devices (two 4K AndroidTV boxes and a 4K Smart TV) connected to second gigabit switch and one Laptop, connected as a 100Mbps device to the R7800 built-in switch, which was running iperf3 session to the PC server.
This way I had four simultaneous LAN transfers all from the PC to four different 100Mbps devices. All LAN traffic was going almost completely uninterrupted. I had only 4 or 5 single occasional ping losses to the 100Mbps devices for more than 30 minutes while I was running numerous (more than 50) WAN speed tests on the PC at full WAN speed. I didn't observe any LAN traffic interruption during this long test session.
With this setup I can say that my task is 99% possible.
I doubt that I can surely say the issue is completely resolved only because there are different hardware combinations that still cannot complete the goal of uninterrupted WAN/LAN traffic at full duplex speeds.
Any other thoughts from anyone here on the subject?

@Ansuel
Copy link
Member

Ansuel commented Jun 13, 2022

@sppmasterspp nice that we are noticing a pattern with flow control...
Wonder if you can do the same by disabling the flow control on the single port of the router instead of the realtek nic

Could be that there is a problem with flow control and how it's handled by the switch...

Also this is half or full duplex?

@sppmasterspp
Copy link

sppmasterspp commented Jun 14, 2022

@Ansuel

Wonder if you can do the same by disabling the flow control on the single port of the router instead of the realtek nic

Could be that there is a problem with flow control and how it's handled by the switch...

Also this is half or full duplex?

With the help of @quarkysg I've disabled the Flow Control of the single port of the R7800 switch (where the PC server is connected to).

dev0@qca>port flowCtrl get 1
[Flow control]:ENABLE
operation done.

dev0@qca>port flowCtrlforcemode set 1 enable

operation done.

dev0@qca>port flowCtrl set 1 disable

operation done.

dev0@qca>port flowCtrl get 1
[Flow control]:DISABLE
operation done.

dev0@qca>

I think it's set at full duplex.
I can completely confirm that disabling only the single port gives the same positive results.
After running the same tests as above with four 100Mbps devices I see the same successful results running WAN speed tests on the PC server with only occasional single ping drops to any 100Mbps device and really rare and very short single pauses of video playback. Most of the time everything works OK.
Screenshot (335)

Unfortunately I put the Belkin RT3200 at service and currently I'm unable to repeat the same tests with it when the Flow Control of the switch is disabled.
Anything else I could do?

@Ansuel
Copy link
Member

Ansuel commented Jun 14, 2022

So the current hack is to disable flow control for 100mbps interesting stuff.... I wonder if this is related to the trottle values...

Do you remember having lots of dropped packet? Or the connection was just slow?
I'm trying to understand what the switch is doing... Currently to me it looks like the switch is sending pause frame to all the devices... That is something to check...

Your belkin is at service now so you have the bug right? Can you post some stats from both your switch and the router ?

(ethtool -S < the port lan1 lan2 wan.... >)

@quarkysg can you help me with this? I would love to test some values for the flow control threshold

Currently my 2 idea are

  • switch bug where flow control is flawed with 100FD
  • not correct documentation that change the flow control threshold limits with 100FD client (and cause pause frame to be emitted and slow down every other port)

I would first investigate the threshold by setting a stupid high value (and low value) and check if that makes a difference.

@sppmasterspp
Copy link

@Ansuel @quarkysg
No, the Belkin RT3200 is at service on a remote location and I cannot use it for tests right now.
I have my R7800 and I can run tests using it but I suppose I should enable Flow Control on the PC NIC (currently disabled).
What command should I use for stats. ethtool -S br-lan, maybe.

@Ansuel
Copy link
Member

Ansuel commented Jun 14, 2022

ethtool -S lan1 if for example you have connected it to lan1 port...
Also we need stats of the pc nic

@sppmasterspp
Copy link

Any command to run?

@Ansuel
Copy link
Member

Ansuel commented Jun 14, 2022

swconfig list should give you the switch present on your router
swconfig dev < name of the switch > help should give you the available options
You should search for the stats one for the relevant port

@sppmasterspp
Copy link

root@R7800:~# swconfig dev switch0 show
Global attributes:
        enable_vlan: 1
        ar8xxx_mib_poll_interval: 0
        ar8xxx_mib_type: 0
        enable_mirror_rx: 0
        enable_mirror_tx: 0
        mirror_monitor_port: 0
        mirror_source_port: 0
        arl_age_time: 300
        arl_table: address resolution table
Port 0: MAC 
Port 1: MAC 
Port 4: MAC 
Port 4: MAC 
Port 5: MAC 
Port 5: MAC 
Port 6: MAC 
Port 6: MAC 
Port 6: MAC 

        igmp_snooping: 0
        igmp_v3: 0
Port 0:
        mib: ???
        enable_eee: ???
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 0
        link: port:0 link:up speed:1000baseT full-duplex
Port 1:
        mib: ???
        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:1 link:up speed:1000baseT full-duplex auto
Port 2:
        mib: ???
        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:2 link:down
Port 3:
        mib: ???
        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:3 link:down
Port 4:
        mib: ???
        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:4 link:up speed:1000baseT full-duplex txflow rxflow auto
Port 5:
        mib: ???
        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 2
        link: port:5 link:up speed:1000baseT full-duplex auto
Port 6:
        mib: ???
        enable_eee: ???
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 0
        link: port:6 link:up speed:1000baseT full-duplex
VLAN 1:
        vid: 1
        ports: 1 2 3 4 6t
VLAN 2:
        vid: 2
        ports: 0t 5
VLAN 3:
        vid: 3
        ports: 6t
root@R7800:~#

@Ansuel
Copy link
Member

Ansuel commented Jun 14, 2022

can you give me the help output?

@sppmasterspp
Copy link

root@R7800:~# swconfig help
swconfig list
swconfig dev <dev> [port <port>|vlan <vlan>] (help|set <key> <value>|get <key>|load <config>|show)

@Ansuel
Copy link
Member

Ansuel commented Jun 14, 2022

swconfig dev switch0 help ?

@sppmasterspp
Copy link

root@R7800:~# swconfig dev switch0 help
switch0: 37000000.mdio-mii(Atheros AR8337), ports: 7 (cpu @ 0), vlans: 4096
     --switch
        Attribute 1 (int): enable_vlan (Enable VLAN mode)
        Attribute 2 (none): reset_mibs (Reset all MIB counters)
        Attribute 3 (int): ar8xxx_mib_poll_interval (MIB polling interval in msecs (0 to disable))
        Attribute 4 (int): ar8xxx_mib_type (MIB type (0=basic 1=extended))
        Attribute 5 (int): enable_mirror_rx (Enable mirroring of RX packets)
        Attribute 6 (int): enable_mirror_tx (Enable mirroring of TX packets)
        Attribute 7 (int): mirror_monitor_port (Mirror monitor port)
        Attribute 8 (int): mirror_source_port (Mirror source port)
        Attribute 9 (int): arl_age_time (ARL age time (secs))
        Attribute 10 (string): arl_table (Get ARL table)
        Attribute 11 (none): flush_arl_table (Flush ARL table)
        Attribute 12 (int): igmp_snooping (Enable IGMP Snooping)
        Attribute 13 (int): igmp_v3 (Enable IGMPv3 support)
        Attribute 14 (none): apply (Activate changes in the hardware)
        Attribute 15 (none): reset (Reset the switch)
     --vlan
        Attribute 1 (int): vid (VLAN ID (0-4094))
        Attribute 2 (ports): ports (VLAN port mapping)
     --port
        Attribute 1 (none): reset_mib (Reset single port MIB counters)
        Attribute 2 (string): mib (Get port's MIB counters)
        Attribute 3 (int): enable_eee (Enable EEE PHY sleep mode)
        Attribute 4 (none): flush_arl_table (Flush port's ARL table entries)
        Attribute 5 (int): igmp_snooping (Enable port's IGMP Snooping)
        Attribute 6 (int): vlan_prio (Port VLAN default priority (VLAN PCP) (0-7))
        Attribute 7 (int): pvid (Primary VLAN ID)
        Attribute 8 (unknown): link (Get port link information)

@Ansuel
Copy link
Member

Ansuel commented Jun 14, 2022

switch dev switch0 set ar8xxx_mib_poll_interval 1000
switch dev switch0 set apply

This will reduce network speed but will enable stats

After 2-3 sec run the show command again to confirm

@sppmasterspp
Copy link

root@R7800:~# switch dev switch0 set ar8xxx_mib_poll_interval 1000
-ash: switch: not found

@Ansuel
Copy link
Member

Ansuel commented Jun 14, 2022

swconfig sorry

@sppmasterspp
Copy link

sppmasterspp commented Jun 14, 2022

root@R7800:~# swconfig dev switch0 set ar8xxx_mib_poll_interval 1000
root@R7800:~# swconfig dev switch0 set apply
root@R7800:~# swconfig dev switch0 show
Global attributes:
        enable_vlan: 1
        ar8xxx_mib_poll_interval: 1000
        ar8xxx_mib_type: 0
        enable_mirror_rx: 0
        enable_mirror_tx: 0
        mirror_monitor_port: 0
        mirror_source_port: 0
        arl_age_time: 300
        arl_table: address resolution table

        igmp_snooping: 0
        igmp_v3: 0
Port 0:
        mib: MIB counters
RxGoodByte  : 9327663379 (8.6 GiB)
TxByte      : 28308031589 (26.3 GiB)

        enable_eee: ???
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 0
        link: port:0 link:up speed:1000baseT full-duplex
Port 1:
        mib: MIB counters
RxGoodByte  : 6978386120 (6.4 GiB)
TxByte      : 9793073253 (9.1 GiB)

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:1 link:up speed:1000baseT full-duplex auto
Port 2:
        mib: No MIB data
        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:2 link:down
Port 3:
        mib: MIB counters
RxGoodByte  : 1272176215 (1.1 GiB)
TxByte      : 1696797216 (1.5 GiB)

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:3 link:down
Port 4:
        mib: MIB counters
RxGoodByte  : 164283714 (156.6 MiB)
TxByte      : 10754134576 (10.0 GiB)

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:4 link:up speed:1000baseT full-duplex txflow rxflow auto
Port 5:
        mib: MIB counters
RxGoodByte  : 28222192686 (26.2 GiB)
TxByte      : 9290273404 (8.6 GiB)

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 2
        link: port:5 link:up speed:1000baseT full-duplex auto
Port 6:
        mib: MIB counters
RxGoodByte  : 21568572726 (20.0 GiB)
TxByte      : 7704985093 (7.1 GiB)

        enable_eee: ???
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 0
        link: port:6 link:up speed:1000baseT full-duplex
VLAN 1:
        vid: 1
        ports: 1 2 3 4 6t
VLAN 2:
        vid: 2
        ports: 0t 5
VLAN 3:
        vid: 3
        ports: 6t
root@R7800:~#

@Ansuel
Copy link
Member

Ansuel commented Jun 14, 2022

swconfig dev switch0 set ar8xxx_mib_type 1
swconfig dev switch0 set apply

and after 2-3 sec
swconfig dev switch0 show

@sppmasterspp
Copy link

root@R7800:~# swconfig dev switch0 set ar8xxx_mib_type 1
root@R7800:~# swconfig dev switch0 set apply
root@R7800:~# swconfig dev switch0 show
Global attributes:
        enable_vlan: 1
        ar8xxx_mib_poll_interval: 1000
        ar8xxx_mib_type: 1
        enable_mirror_rx: 0
        enable_mirror_tx: 0
        mirror_monitor_port: 0
        mirror_source_port: 0
        arl_age_time: 300
        arl_table: address resolution table

        igmp_snooping: 0
        igmp_v3: 0
Port 0:
        mib: MIB counters
RxBroad     : 4
RxPause     : 0
RxMulti     : 14
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 1292749
Rx128Byte   : 2668809
Rx256Byte   : 296104
Rx512Byte   : 133908
Rx1024Byte  : 641887
Rx1518Byte  : 605198
RxMaxByte   : 5667916
RxTooLong   : 0
RxGoodByte  : 10286976931 (9.5 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 7
TxBroad     : 60
TxPause     : 0
TxMulti     : 344
TxUnderRun  : 0
Tx64Byte    : 67
Tx128Byte   : 2556470
Tx256Byte   : 228627
Tx512Byte   : 211516
Tx1024Byte  : 126031
Tx1518Byte  : 6485900
TxMaxByte   : 13087110
TxOverSize  : 0
TxByte      : 29391584071 (27.3 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: ???
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 0
        link: port:0 link:up speed:1000baseT full-duplex
Port 1:
        mib: MIB counters
RxBroad     : 13422
RxPause     : 0
RxMulti     : 5125
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 960696
Rx128Byte   : 606315
Rx256Byte   : 248996
Rx512Byte   : 121016
Rx1024Byte  : 623156
Rx1518Byte  : 4869345
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 7933698626 (7.3 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 2010
TxBroad     : 23119
TxPause     : 0
TxMulti     : 20647
TxUnderRun  : 0
Tx64Byte    : 770926
Tx128Byte   : 1245189
Tx256Byte   : 173434
Tx512Byte   : 227581
Tx1024Byte  : 111202
Tx1518Byte  : 6981372
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 10794949692 (10.0 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:1 link:up speed:1000baseT full-duplex auto
Port 2:
        mib: No MIB data
        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:2 link:down
Port 3:
        mib: MIB counters
RxBroad     : 94
RxPause     : 12
RxMulti     : 175
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 105601
Rx128Byte   : 3550
Rx256Byte   : 172
Rx512Byte   : 105
Rx1024Byte  : 177
Rx1518Byte  : 833413
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 1272176215 (1.1 GiB)
RxBadByte   : 780
RxOverFlow  : 0
Filtered    : 1
TxBroad     : 753
TxPause     : 210
TxMulti     : 722
TxUnderRun  : 0
Tx64Byte    : 87296
Tx128Byte   : 6759
Tx256Byte   : 738
Tx512Byte   : 274
Tx1024Byte  : 60
Tx1518Byte  : 1113585
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 1696797216 (1.5 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:3 link:down
Port 4:
        mib: MIB counters
RxBroad     : 15786
RxPause     : 1305202
RxMulti     : 10129
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 1414980
Rx128Byte   : 1646847
Rx256Byte   : 17905
Rx512Byte   : 44927
Rx1024Byte  : 25255
Rx1518Byte  : 4900
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 166249808 (158.5 MiB)
RxBadByte   : 83532928
RxOverFlow  : 0
Filtered    : 4
TxBroad     : 20735
TxPause     : 0
TxMulti     : 15619
TxUnderRun  : 0
Tx64Byte    : 27838
Tx128Byte   : 45879
Tx256Byte   : 31951
Tx512Byte   : 8239
Tx1024Byte  : 7867
Tx1518Byte  : 7124363
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 10832740975 (10.0 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:4 link:up speed:1000baseT full-duplex txflow rxflow auto
Port 5:
        mib: MIB counters
RxBroad     : 0
RxPause     : 0
RxMulti     : 275
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 906145
Rx128Byte   : 1657628
Rx256Byte   : 223831
Rx512Byte   : 210117
Rx1024Byte  : 125323
Rx1518Byte  : 19573828
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 29302697770 (27.2 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 1268
TxBroad     : 4
TxPause     : 0
TxMulti     : 7
TxUnderRun  : 0
Tx64Byte    : 1293804
Tx128Byte   : 2690806
Tx256Byte   : 274918
Tx512Byte   : 133836
Tx1024Byte  : 642132
Tx1518Byte  : 6271069
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 10246922168 (9.5 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 2
        link: port:5 link:up speed:1000baseT full-duplex auto
Port 6:
        mib: MIB counters
RxBroad     : 7279
RxPause     : 0
RxMulti     : 10395
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 751442
Rx128Byte   : 1275292
Rx256Byte   : 169862
Rx512Byte   : 205653
Rx1024Byte  : 110393
Rx1518Byte  : 3485134
RxMaxByte   : 11269743
RxTooLong   : 0
RxGoodByte  : 22651455948 (21.0 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 8432
TxBroad     : 29234
TxPause     : 0
TxMulti     : 15360
TxUnderRun  : 0
Tx64Byte    : 0
Tx128Byte   : 3299753
Tx256Byte   : 261925
Tx512Byte   : 143266
Tx1024Byte  : 639093
Tx1518Byte  : 377701
TxMaxByte   : 4856996
TxOverSize  : 0
TxByte      : 8664718823 (8.0 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: ???
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 0
        link: port:6 link:up speed:1000baseT full-duplex
VLAN 1:
        vid: 1
        ports: 1 2 3 4 6t
VLAN 2:
        vid: 2
        ports: 0t 5
VLAN 3:
        vid: 3
        ports: 6t
root@R7800:~#

@Ansuel
Copy link
Member

Ansuel commented Jun 14, 2022

ok and the port that is 100mbps is? can't see any in the stats log

@sppmasterspp
Copy link

sppmasterspp commented Jun 14, 2022

It's LAN port 1 on the router (is it 4 on the switch). Currently there is a TP-Link Gigabit switch connected to it. I have three 100Mbps devices connected to the TP-Link switch.

@Ansuel
Copy link
Member

Ansuel commented Jun 14, 2022

@sppmasterspp does this traffic makes sense to you? (the low rx bytes) (notice the very high pause frame received...)
image

Are we sure this is not just a problem with some devices that does stupid thing? I mean the pause frame are received not emitted by the switch...

@sppmasterspp
Copy link

I've connected a laptop to port 2 (LAN2 on the router switch) enabled the Flow Control on the PC NIC connected at LAN4 (on the router) and run iperf3 between the PC (LAN4) and the Laptop 100Mbps (LAN2) and started WAN speed test on the PC.

root@R7800:~# swconfig dev switch0 show
Global attributes:
        enable_vlan: 1
        ar8xxx_mib_poll_interval: 1000
        ar8xxx_mib_type: 1
        enable_mirror_rx: 0
        enable_mirror_tx: 0
        mirror_monitor_port: 0
        mirror_source_port: 0
        arl_age_time: 300
        arl_table: address resolution table

        igmp_snooping: 0
        igmp_v3: 0
Port 0:
        mib: MIB counters
RxBroad     : 4
RxPause     : 0
RxMulti     : 14
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 1701072
Rx128Byte   : 2748267
Rx256Byte   : 298005
Rx512Byte   : 135270
Rx1024Byte  : 643363
Rx1518Byte  : 608980
RxMaxByte   : 7874370
RxTooLong   : 0
RxGoodByte  : 13684377988 (12.7 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 7
TxBroad     : 60
TxPause     : 0
TxMulti     : 354
TxUnderRun  : 0
Tx64Byte    : 67
Tx128Byte   : 2872244
Tx256Byte   : 238819
Tx512Byte   : 212905
Tx1024Byte  : 127648
Tx1518Byte  : 6515992
TxMaxByte   : 16237497
TxOverSize  : 0
TxByte      : 34250969646 (31.8 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: ???
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 0
        link: port:0 link:up speed:1000baseT full-duplex
Port 1:
        mib: MIB counters
RxBroad     : 14028
RxPause     : 0
RxMulti     : 5516
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 1355442
Rx128Byte   : 619475
Rx256Byte   : 250333
Rx512Byte   : 121232
Rx1024Byte  : 623745
Rx1518Byte  : 7470680
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 11907655954 (11.0 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 2010
TxBroad     : 24527
TxPause     : 229216
TxMulti     : 21280
TxUnderRun  : 0
Tx64Byte    : 1469252
Tx128Byte   : 1255880
Tx256Byte   : 176212
Tx512Byte   : 230000
Tx1024Byte  : 111742
Tx1518Byte  : 9847048
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 15192196344 (14.1 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:1 link:up speed:1000baseT full-duplex txflow rxflow auto
Port 2:
        mib: No MIB data
        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:2 link:down
Port 3:
        mib: MIB counters
RxBroad     : 113
RxPause     : 12
RxMulti     : 308
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 302873
Rx128Byte   : 3867
Rx256Byte   : 407
Rx512Byte   : 201
Rx1024Byte  : 247
Rx1518Byte  : 833481
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 1285046299 (1.1 GiB)
RxBadByte   : 780
RxOverFlow  : 0
Filtered    : 1
TxBroad     : 1322
TxPause     : 210
TxMulti     : 1055
TxUnderRun  : 0
Tx64Byte    : 88035
Tx128Byte   : 7360
Tx256Byte   : 1013
Tx512Byte   : 494
Tx1024Byte  : 163
Tx1518Byte  : 1507445
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 2293557926 (2.1 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:3 link:up speed:100baseT full-duplex txflow rxflow auto
Port 4:
        mib: MIB counters
RxBroad     : 17172
RxPause     : 1349556
RxMulti     : 10443
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 1461252
Rx128Byte   : 1705968
Rx256Byte   : 18629
Rx512Byte   : 47834
Rx1024Byte  : 26203
Rx1518Byte  : 5311
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 172887934 (164.8 MiB)
RxBadByte   : 86371584
RxOverFlow  : 0
Filtered    : 9
TxBroad     : 21384
TxPause     : 0
TxMulti     : 16332
TxUnderRun  : 0
Tx64Byte    : 29095
Tx128Byte   : 48302
Tx256Byte   : 33176
Tx512Byte   : 8515
Tx1024Byte  : 8312
Tx1518Byte  : 7367126
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 11202109167 (10.4 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:4 link:up speed:1000baseT full-duplex txflow rxflow auto
Port 5:
        mib: MIB counters
RxBroad     : 0
RxPause     : 0
RxMulti     : 285
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 1179850
Rx128Byte   : 1700525
Rx256Byte   : 233233
Rx512Byte   : 211537
Rx1024Byte  : 126904
Rx1518Byte  : 22754764
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 34148772385 (31.8 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 1750
TxBroad     : 4
TxPause     : 0
TxMulti     : 7
TxUnderRun  : 0
Tx64Byte    : 1702135
Tx128Byte   : 2770322
Tx256Byte   : 276801
Tx512Byte   : 135188
Tx1024Byte  : 643596
Tx1518Byte  : 8481303
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 13635148897 (12.6 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 2
        link: port:5 link:up speed:1000baseT full-duplex auto
Port 6:
        mib: MIB counters
RxBroad     : 7303
RxPause     : 0
RxMulti     : 10584
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 1023227
Rx128Byte   : 1287052
Rx256Byte   : 172922
Rx512Byte   : 206267
Rx1024Byte  : 111005
Rx1518Byte  : 3485911
RxMaxByte   : 14377725
RxTooLong   : 0
RxGoodByte  : 27402429601 (25.5 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 8740
TxBroad     : 31245
TxPause     : 0
TxMulti     : 16198
TxUnderRun  : 0
Tx64Byte    : 0
Tx128Byte   : 3768235
Tx256Byte   : 263110
Tx512Byte   : 144483
Tx1024Byte  : 640271
Tx1518Byte  : 380453
TxMaxByte   : 7063403
TxOverSize  : 0
TxByte      : 12060456138 (11.2 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: ???
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 0
        link: port:6 link:up speed:1000baseT full-duplex
VLAN 1:
        vid: 1
        ports: 1 2 3 4 6t
VLAN 2:
        vid: 2
        ports: 0t 5
VLAN 3:
        vid: 3
        ports: 6t
root@R7800:~#

@sppmasterspp
Copy link

sppmasterspp commented Jun 14, 2022

does this traffic makes sense to you? (the low rx bytes) (notice the very high pause frame received...)

I have a switch TP-Link and there are connected three 100Mbps devices to it. Two Cable TV set-top boxes from ISP. They are AnndroidTV boxes and one smart TV.

@sppmasterspp
Copy link

sppmasterspp commented Jun 14, 2022

This stats is when the Laptop is connected at 1Gbps.

root@R7800:~# swconfig dev switch0 show
Global attributes:
        enable_vlan: 1
        ar8xxx_mib_poll_interval: 1000
        ar8xxx_mib_type: 1
        enable_mirror_rx: 0
        enable_mirror_tx: 0
        mirror_monitor_port: 0
        mirror_source_port: 0
        arl_age_time: 300
        arl_table: address resolution table

        igmp_snooping: 0
        igmp_v3: 0
Port 0:
        mib: MIB counters
RxBroad     : 4
RxPause     : 0
RxMulti     : 14
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 1874801
Rx128Byte   : 2844758
Rx256Byte   : 299863
Rx512Byte   : 136388
Rx1024Byte  : 644610
Rx1518Byte  : 612173
RxMaxByte   : 9076551
RxTooLong   : 0
RxGoodByte  : 15538468618 (14.4 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 7
TxBroad     : 60
TxPause     : 0
TxMulti     : 360
TxUnderRun  : 0
Tx64Byte    : 67
Tx128Byte   : 3020740
Tx256Byte   : 243052
Tx512Byte   : 213897
Tx1024Byte  : 128957
Tx1518Byte  : 6539514
TxMaxByte   : 17824872
TxOverSize  : 0
TxByte      : 36711163018 (34.1 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: ???
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 0
        link: port:0 link:up speed:1000baseT full-duplex
Port 1:
        mib: MIB counters
RxBroad     : 14320
RxPause     : 0
RxMulti     : 5613
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 1524227
Rx128Byte   : 624939
Rx256Byte   : 251548
Rx512Byte   : 121504
Rx1024Byte  : 625489
Rx1518Byte  : 12525972
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 19583940793 (18.2 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 2010
TxBroad     : 25627
TxPause     : 294451
TxMulti     : 21967
TxUnderRun  : 0
Tx64Byte    : 1991982
Tx128Byte   : 1266019
Tx256Byte   : 178480
Tx512Byte   : 231847
Tx1024Byte  : 112096
Tx1518Byte  : 11078308
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 17096733605 (15.9 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:1 link:up speed:1000baseT full-duplex txflow rxflow auto
Port 2:
        mib: No MIB data
        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:2 link:down
Port 3:
        mib: MIB counters
RxBroad     : 139
RxPause     : 12
RxMulti     : 435
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 629977
Rx128Byte   : 12862
Rx256Byte   : 750
Rx512Byte   : 507
Rx1024Byte  : 311
Rx1518Byte  : 833617
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 1307099553 (1.2 GiB)
RxBadByte   : 780
RxOverFlow  : 0
Filtered    : 1
TxBroad     : 2677
TxPause     : 210
TxMulti     : 1697
TxUnderRun  : 0
Tx64Byte    : 89816
Tx128Byte   : 8189
Tx256Byte   : 1732
Tx512Byte   : 1108
Tx1024Byte  : 1732
Tx1518Byte  : 5365156
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 8141213801 (7.5 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:3 link:up speed:1000baseT full-duplex txflow rxflow auto
Port 4:
        mib: MIB counters
RxBroad     : 17903
RxPause     : 1400972
RxMulti     : 10614
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 1513759
Rx128Byte   : 1787575
Rx256Byte   : 19106
Rx512Byte   : 49829
Rx1024Byte  : 27100
Rx1518Byte  : 5802
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 180825235 (172.4 MiB)
RxBadByte   : 89662208
RxOverFlow  : 0
Filtered    : 9
TxBroad     : 22047
TxPause     : 0
TxMulti     : 16944
TxUnderRun  : 0
Tx64Byte    : 30197
Tx128Byte   : 50289
Tx256Byte   : 34052
Tx512Byte   : 8859
Tx1024Byte  : 8852
Tx1518Byte  : 7701933
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 11711161628 (10.9 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:4 link:up speed:1000baseT full-duplex txflow rxflow auto
Port 5:
        mib: MIB counters
RxBroad     : 0
RxPause     : 0
RxMulti     : 291
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 1312293
Rx128Byte   : 1716955
Rx256Byte   : 237102
Rx512Byte   : 212525
Rx1024Byte  : 128211
Rx1518Byte  : 24365909
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 36602291793 (34.0 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 2007
TxBroad     : 4
TxPause     : 0
TxMulti     : 7
TxUnderRun  : 0
Tx64Byte    : 1875866
Tx128Byte   : 2866820
Tx256Byte   : 278649
Tx512Byte   : 136312
Tx1024Byte  : 644817
Tx1518Byte  : 9686675
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 15484011875 (14.4 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 2
        link: port:5 link:up speed:1000baseT full-duplex auto
Port 6:
        mib: MIB counters
RxBroad     : 7646
RxPause     : 0
RxMulti     : 10972
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 1156285
Rx128Byte   : 1294830
Rx256Byte   : 175541
Rx512Byte   : 207512
Rx1024Byte  : 111834
Rx1518Byte  : 3486651
RxMaxByte   : 15957199
RxTooLong   : 0
RxGoodByte  : 29818057035 (27.7 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 11479
TxBroad     : 32296
TxPause     : 0
TxMulti     : 16593
TxUnderRun  : 0
Tx64Byte    : 0
Tx128Byte   : 4032423
Tx256Byte   : 264413
Tx512Byte   : 145893
Tx1024Byte  : 641425
Tx1518Byte  : 382963
TxMaxByte   : 8269422
TxOverSize  : 0
TxByte      : 13919582167 (12.9 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: ???
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 0
        link: port:6 link:up speed:1000baseT full-duplex
VLAN 1:
        vid: 1
        ports: 1 2 3 4 6t
VLAN 2:
        vid: 2
        ports: 0t 5
VLAN 3:
        vid: 3
        ports: 6t

How can I return the router switch settings to the previous values.

@Ansuel
Copy link
Member

Ansuel commented Jun 14, 2022

You just enable stat polling nothing more... unless you have 1gbps network you won't notice any...

Anyway to disable but it would be usefull to get some more stats data

switch dev switch0 set ar8xxx_mib_poll_interval 0
switch dev switch0 set apply

@sppmasterspp
Copy link

sppmasterspp commented Jun 14, 2022

I'll leave it running with stats enabled.
When should I report again.
But should I disable or enable Flow Control of the PC NIC.

@sppmasterspp
Copy link

After running for a few hours

root@R7800:~# swconfig dev switch0 show
Global attributes:
        enable_vlan: 1
        ar8xxx_mib_poll_interval: 1000
        ar8xxx_mib_type: 1
        enable_mirror_rx: 0
        enable_mirror_tx: 0
        mirror_monitor_port: 0
        mirror_source_port: 0
        arl_age_time: 300
        arl_table: address resolution table

        igmp_snooping: 0
        igmp_v3: 0
Port 0:
        mib: MIB counters
RxBroad     : 4
RxPause     : 0
RxMulti     : 14
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 2293044
Rx128Byte   : 5302782
Rx256Byte   : 627831
Rx512Byte   : 305116
Rx1024Byte  : 2897366
Rx1518Byte  : 1231800
RxMaxByte   : 9324487
RxTooLong   : 0
RxGoodByte  : 18600530113 (17.3 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 7
TxBroad     : 60
TxPause     : 0
TxMulti     : 427
TxUnderRun  : 0
Tx64Byte    : 67
Tx128Byte   : 5320205
Tx256Byte   : 415533
Tx512Byte   : 474605
Tx1024Byte  : 187090
Tx1518Byte  : 7167525
TxMaxByte   : 25815169
TxOverSize  : 0
TxByte      : 50051766394 (46.6 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: ???
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 0
        link: port:0 link:up speed:1000baseT full-duplex
Port 1:
        mib: MIB counters
RxBroad     : 17978
RxPause     : 0
RxMulti     : 6967
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 1836659
Rx128Byte   : 1314083
Rx256Byte   : 547216
Rx512Byte   : 280986
Rx1024Byte  : 2863708
Rx1518Byte  : 13374021
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 22446336698 (20.9 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 2010
TxBroad     : 38597
TxPause     : 294451
TxMulti     : 28551
TxUnderRun  : 0
Tx64Byte    : 2176870
Tx128Byte   : 3145271
Tx256Byte   : 321448
Tx512Byte   : 493992
Tx1024Byte  : 153074
Tx1518Byte  : 12287737
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 19216719201 (17.8 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:1 link:up speed:1000baseT full-duplex auto
Port 2:
        mib: No MIB data
        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:2 link:down
Port 3:
        mib: MIB counters
RxBroad     : 147
RxPause     : 12
RxMulti     : 451
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 630567
Rx128Byte   : 13488
Rx256Byte   : 836
Rx512Byte   : 543
Rx1024Byte  : 340
Rx1518Byte  : 833662
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 1307305009 (1.2 GiB)
RxBadByte   : 780
RxOverFlow  : 0
Filtered    : 1
TxBroad     : 5786
TxPause     : 210
TxMulti     : 3616
TxUnderRun  : 0
Tx64Byte    : 92436
Tx128Byte   : 9217
Tx256Byte   : 2720
Tx512Byte   : 1943
Tx1024Byte  : 1784
Tx1518Byte  : 5371450
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 8151557588 (7.5 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:3 link:down
Port 4:
        mib: MIB counters
RxBroad     : 27343
RxPause     : 2568346
RxMulti     : 13963
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 2692934
Rx128Byte   : 3306185
Rx256Byte   : 24359
Rx512Byte   : 74426
Rx1024Byte  : 36814
Rx1518Byte  : 7257
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 306873523 (292.6 MiB)
RxBadByte   : 164374144
RxOverFlow  : 0
Filtered    : 14
TxBroad     : 29233
TxPause     : 0
TxMulti     : 21538
TxUnderRun  : 0
Tx64Byte    : 39954
Tx128Byte   : 68799
Tx256Byte   : 42851
Tx512Byte   : 11791
Tx1024Byte  : 13687
Tx1518Byte  : 13887755
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 21108760188 (19.6 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:4 link:up speed:1000baseT full-duplex txflow rxflow auto
Port 5:
        mib: MIB counters
RxBroad     : 0
RxPause     : 0
RxMulti     : 358
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 1489893
Rx128Byte   : 3842331
Rx256Byte   : 409064
Rx512Byte   : 471374
Rx1024Byte  : 185455
Rx1518Byte  : 32984152
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 49897524621 (46.4 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 2163
TxBroad     : 4
TxPause     : 0
TxMulti     : 7
TxUnderRun  : 0
Tx64Byte    : 2295192
Tx128Byte   : 5350194
Tx256Byte   : 582697
Tx512Byte   : 304830
Tx1024Byte  : 2895827
Tx1518Byte  : 10553700
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 18521779879 (17.2 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 2
        link: port:5 link:up speed:1000baseT full-duplex auto
Port 6:
        mib: MIB counters
RxBroad     : 11169
RxPause     : 0
RxMulti     : 14196
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 1328668
Rx128Byte   : 3190949
Rx256Byte   : 316165
Rx512Byte   : 459592
Rx1024Byte  : 156136
Rx1518Byte  : 3544184
RxMaxByte   : 23307953
RxTooLong   : 0
RxGoodByte  : 41384502183 (38.5 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 18425
TxBroad     : 45400
TxPause     : 0
TxMulti     : 21312
TxUnderRun  : 0
Tx64Byte    : 0
Tx128Byte   : 6535026
Tx256Byte   : 582152
Tx512Byte   : 318507
Tx1024Byte  : 2888806
Tx1518Byte  : 986369
TxMaxByte   : 8515846
TxOverSize  : 0
TxByte      : 16925560133 (15.7 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: ???
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 0
        link: port:6 link:up speed:1000baseT full-duplex
VLAN 1:
        vid: 1
        ports: 1 2 3 4 6t
VLAN 2:
        vid: 2
        ports: 0t 5
VLAN 3:
        vid: 3
        ports: 6t
root@R7800:~#

@sppmasterspp
Copy link

root@R7800:~# swconfig dev switch0 show
Global attributes:
        enable_vlan: 1
        ar8xxx_mib_poll_interval: 1000
        ar8xxx_mib_type: 1
        enable_mirror_rx: 0
        enable_mirror_tx: 0
        mirror_monitor_port: 0
        mirror_source_port: 0
        arl_age_time: 300
        arl_table: address resolution table

        igmp_snooping: 0
        igmp_v3: 0
Port 0:
        mib: MIB counters
RxBroad     : 4
RxPause     : 0
RxMulti     : 14
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 2551349
Rx128Byte   : 7516895
Rx256Byte   : 1126966
Rx512Byte   : 565893
Rx1024Byte  : 7252788
Rx1518Byte  : 2112933
RxMaxByte   : 10174720
RxTooLong   : 0
RxGoodByte  : 24280502775 (22.6 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 7
TxBroad     : 60
TxPause     : 0
TxMulti     : 627
TxUnderRun  : 0
Tx64Byte    : 67
Tx128Byte   : 9151780
Tx256Byte   : 678811
Tx512Byte   : 850778
Tx1024Byte  : 260238
Tx1518Byte  : 9220812
TxMaxByte   : 29973665
TxOverSize  : 0
TxByte      : 59583396077 (55.4 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: ???
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 0
        link: port:0 link:up speed:1000baseT full-duplex
Port 1:
        mib: MIB counters
RxBroad     : 21505
RxPause     : 0
RxMulti     : 8307
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 2096881
Rx128Byte   : 2373767
Rx256Byte   : 999026
Rx512Byte   : 532953
Rx1024Byte  : 7203647
Rx1518Byte  : 15073741
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 27948719962 (26.0 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 2010
TxBroad     : 47835
TxPause     : 294451
TxMulti     : 37279
TxUnderRun  : 0
Tx64Byte    : 2603585
Tx128Byte   : 6271813
Tx256Byte   : 536927
Tx512Byte   : 867880
Tx1024Byte  : 210159
Tx1518Byte  : 12681386
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 20267983160 (18.8 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:1 link:up speed:1000baseT full-duplex auto
Port 2:
        mib: No MIB data
        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:2 link:down
Port 3:
        mib: MIB counters
RxBroad     : 147
RxPause     : 12
RxMulti     : 451
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 630567
Rx128Byte   : 13488
Rx256Byte   : 836
Rx512Byte   : 543
Rx1024Byte  : 340
Rx1518Byte  : 833662
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 1307305009 (1.2 GiB)
RxBadByte   : 780
RxOverFlow  : 0
Filtered    : 1
TxBroad     : 5786
TxPause     : 210
TxMulti     : 3616
TxUnderRun  : 0
Tx64Byte    : 92436
Tx128Byte   : 9217
Tx256Byte   : 2720
Tx512Byte   : 1943
Tx1024Byte  : 1784
Tx1518Byte  : 5371450
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 8151557588 (7.5 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:3 link:down
Port 4:
        mib: MIB counters
RxBroad     : 34645
RxPause     : 3197986
RxMulti     : 18894
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 3333793
Rx128Byte   : 4195846
Rx256Byte   : 30317
Rx512Byte   : 95863
Rx1024Byte  : 47661
Rx1518Byte  : 9823
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 390203816 (372.1 MiB)
RxBadByte   : 204671104
RxOverFlow  : 0
Filtered    : 14
TxBroad     : 34696
TxPause     : 0
TxMulti     : 26677
TxUnderRun  : 0
Tx64Byte    : 48693
Tx128Byte   : 91799
Tx256Byte   : 54169
Tx512Byte   : 15048
Tx1024Byte  : 18034
Tx1518Byte  : 17503039
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 26604292250 (24.7 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:4 link:up speed:1000baseT full-duplex txflow rxflow auto
Port 5:
        mib: MIB counters
RxBroad     : 0
RxPause     : 0
RxMulti     : 558
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 1910261
Rx128Byte   : 7257912
Rx256Byte   : 672166
Rx512Byte   : 845090
Rx1024Byte  : 257267
Rx1518Byte  : 39195675
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 59386226161 (55.3 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 2244
TxBroad     : 4
TxPause     : 0
TxMulti     : 7
TxUnderRun  : 0
Tx64Byte    : 2555078
Tx128Byte   : 7607184
Tx256Byte   : 1041209
Tx512Byte   : 565424
Tx1024Byte  : 7250889
Tx1518Byte  : 12281967
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 24165722355 (22.5 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 2
        link: port:5 link:up speed:1000baseT full-duplex auto
Port 6:
        mib: MIB counters
RxBroad     : 13107
RxPause     : 0
RxMulti     : 17995
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 1748126
Rx128Byte   : 6334592
Rx256Byte   : 530581
Rx512Byte   : 827073
Rx1024Byte  : 216570
Rx1518Byte  : 3567581
RxMaxByte   : 27299682
RxTooLong   : 0
RxGoodByte  : 47962689188 (44.6 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 24854
TxBroad     : 56229
TxPause     : 0
TxMulti     : 27583
TxUnderRun  : 0
Tx64Byte    : 0
Tx128Byte   : 8708024
Tx256Byte   : 1073180
Tx512Byte   : 582911
Tx1024Byte  : 7237688
Tx1518Byte  : 1842678
TxMaxByte   : 9365055
TxOverSize  : 0
TxByte      : 22541470893 (20.9 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: ???
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 0
        link: port:6 link:up speed:1000baseT full-duplex
VLAN 1:
        vid: 1
        ports: 1 2 3 4 6t
VLAN 2:
        vid: 2
        ports: 0t 5
VLAN 3:
        vid: 3
        ports: 6t
root@R7800:~#

@sppmasterspp
Copy link

Some more data

 OpenWrt SNAPSHOT, r19677+22-5eee67a72f
 -----------------------------------------------------
root@R7800:~# swconfig dev switch0 show
Global attributes:
        enable_vlan: 1
        ar8xxx_mib_poll_interval: 1000
        ar8xxx_mib_type: 1
        enable_mirror_rx: 0
        enable_mirror_tx: 0
        mirror_monitor_port: 0
        mirror_source_port: 0
        arl_age_time: 300
        arl_table: address resolution table
Port 0: MAC 

        igmp_snooping: 0
        igmp_v3: 0
Port 0:
        mib: MIB counters
RxBroad     : 8
RxPause     : 0
RxMulti     : 14
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 5718844
Rx128Byte   : 28975728
Rx256Byte   : 4669319
Rx512Byte   : 2316971
Rx1024Byte  : 29145681
Rx1518Byte  : 10394179
RxMaxByte   : 15046094
RxTooLong   : 0
RxGoodByte  : 60301834673 (56.1 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 7
TxBroad     : 60
TxPause     : 0
TxMulti     : 1669
TxUnderRun  : 0
Tx64Byte    : 67
Tx128Byte   : 33984798
Tx256Byte   : 2600874
Tx512Byte   : 3415583
Tx1024Byte  : 5340890
Tx1518Byte  : 35364846
TxMaxByte   : 78987038
TxOverSize  : 0
TxByte      : 176731102447 (164.5 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: ???
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 0
        link: port:0 link:up speed:1000baseT full-duplex
Port 1:
        mib: MIB counters
RxBroad     : 61048
RxPause     : 0
RxMulti     : 32217
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 4617458
Rx128Byte   : 12521703
Rx256Byte   : 4270738
Rx512Byte   : 2242927
Rx1024Byte  : 29018917
Rx1518Byte  : 33656371
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 71055290341 (66.1 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 218448
TxBroad     : 180882
TxPause     : 294451
TxMulti     : 110407
TxUnderRun  : 0
Tx64Byte    : 6223623
Tx128Byte   : 26795381
Tx256Byte   : 2077240
Tx512Byte   : 3484972
Tx1024Byte  : 5221909
Tx1518Byte  : 30290547
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 52320908308 (48.7 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:1 link:up speed:1000baseT full-duplex auto
Port 2:
        mib: No MIB data
        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:2 link:down
Port 3:
        mib: MIB counters
RxBroad     : 147
RxPause     : 12
RxMulti     : 451
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 630567
Rx128Byte   : 13488
Rx256Byte   : 836
Rx512Byte   : 543
Rx1024Byte  : 340
Rx1518Byte  : 833662
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 1307305009 (1.2 GiB)
RxBadByte   : 780
RxOverFlow  : 0
Filtered    : 1
TxBroad     : 5786
TxPause     : 210
TxMulti     : 3616
TxUnderRun  : 0
Tx64Byte    : 92436
Tx128Byte   : 9217
Tx256Byte   : 2720
Tx512Byte   : 1943
Tx1024Byte  : 1784
Tx1518Byte  : 5371450
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 8151557588 (7.5 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:3 link:down
Port 4:
        mib: MIB counters
RxBroad     : 127407
RxPause     : 11669238
RxMulti     : 55545
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 12632724
Rx128Byte   : 14671651
Rx256Byte   : 99950
Rx512Byte   : 302438
Rx1024Byte  : 153161
Rx1518Byte  : 33850
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 1382013874 (1.2 GiB)
RxBadByte   : 746831232
RxOverFlow  : 0
Filtered    : 30
TxBroad     : 114567
TxPause     : 0
TxMulti     : 87074
TxUnderRun  : 0
Tx64Byte    : 156539
Tx128Byte   : 303759
Tx256Byte   : 181043
Tx512Byte   : 72223
Tx1024Byte  : 69845
Tx1518Byte  : 64172686
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 97537098989 (90.8 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 1
        link: port:4 link:up speed:1000baseT full-duplex txflow rxflow auto
Port 5:
        mib: MIB counters
RxBroad     : 0
RxPause     : 0
RxMulti     : 1600
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 4890290
Rx128Byte   : 29167017
Rx256Byte   : 2565845
Rx512Byte   : 3392991
Rx1024Byte  : 5338346
Rx1518Byte  : 114343565
RxMaxByte   : 0
RxTooLong   : 0
RxGoodByte  : 176098061884 (164.0 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 3358
TxBroad     : 8
TxPause     : 0
TxMulti     : 7
TxUnderRun  : 0
Tx64Byte    : 5732863
Tx128Byte   : 29342661
Tx256Byte   : 4320585
Tx512Byte   : 2315708
Tx1024Byte  : 29128875
Tx1518Byte  : 25426560
TxMaxByte   : 0
TxOverSize  : 0
TxByte      : 59940005881 (55.8 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: 0
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 2
        link: port:5 link:up speed:1000baseT full-duplex auto
Port 6:
        mib: MIB counters
RxBroad     : 53450
RxPause     : 0
RxMulti     : 54485
RxFcsErr    : 0
RxAlignErr  : 0
RxRunt      : 0
RxFragment  : 0
Rx64Byte    : 4531150
Rx128Byte   : 26555422
Rx256Byte   : 2084594
Rx512Byte   : 3374800
Rx1024Byte  : 5236088
Rx1518Byte  : 16986491
RxMaxByte   : 71965165
RxTooLong   : 0
RxGoodByte  : 141680549788 (131.9 GiB)
RxBadByte   : 0
RxOverFlow  : 0
Filtered    : 100632
TxBroad     : 188534
TxPause     : 0
TxMulti     : 88144
TxUnderRun  : 0
Tx64Byte    : 0
Tx128Byte   : 31170403
Tx256Byte   : 4590540
Tx512Byte   : 2386709
Tx1024Byte  : 29128992
Tx1518Byte  : 10017249
TxMaxByte   : 13312869
TxOverSize  : 0
TxByte      : 56866899188 (52.9 GiB)
TxCollision : 0
TxAbortCol  : 0
TxMultiCol  : 0
TxSingleCol : 0
TxExcDefer  : 0
TxDefer     : 0
TxLateCol   : 0

        enable_eee: ???
        igmp_snooping: 0
        vlan_prio: 0
        pvid: 0
        link: port:6 link:up speed:1000baseT full-duplex
VLAN 1:
        vid: 1
        ports: 1 2 3 4 6t
VLAN 2:
        vid: 2
        ports: 0t 5
VLAN 3:
        vid: 3
        ports: 6t
root@R7800:~#

@sppmasterspp
Copy link

@Ansuel
Do you need anything else?

@pesa1234
Copy link

Do you have same issue on previous kernel 5.4.x?

@sppmasterspp
Copy link

sppmasterspp commented Jun 22, 2022

Yes I have the same issue with 5.4.x kernels.
A working workaround for me is to disable Flow Control of the Desktop PC server gigabit NIC. At least when using R7800.

@Neher-Veem
Copy link

I know this thread is about R7800 but recently I found myself in the same situation with my TP-Link Archer C7 v5.
ISP line: 100mbps/30mbps
Cable Modem Technicolor, auto linking at 1gbps with wan port.
Testing device: Dell laptop with: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 05)
Testing OS: Ubuntu 22.04, Linux mint 20.3 and 21, Fedora 37.

I tested every stable release from OpenWRT 18.06.0 to 22.03.2 and I reproduced the same behavior every time:
Download speed in speedtest.net seems to be limited to ~30mbps. Upload speed seems to be ok, but my ISP connection limit is 30mbps too so I can't tell if the problem is also affecting the upload.
I also could find that not all kind of traffic is limited, for example, http/https download work normal (Screenshot 02 and 03 with aria2c downloading an Ubuntu ISO after running speedtest)
I can confirm there is no such issue with OEM TP-Link Firmware (Screenshot 01).
I can confirm the issue is also present on DD-WRT even in the latest versions (but I forgot to take a screenshot).

Should I create a new thread specifically for this device even though it seems to be the same issue?

01
02
03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue report with a confirmed bug flyspray target/ipq806x pull request/issue for ipq806x target
Projects
None yet
Development

No branches or pull requests

7 participants