LAGG interface's speed is incorrect

Started by netshi, November 24, 2021, 11:19:45 PM

Previous topic - Next topic
November 24, 2021, 11:19:45 PM Last Edit: November 25, 2021, 04:47:29 PM by netshi
I migrated my network from VyOS to OPNsense. What I after was the sensei part and the fqdn option for alias. VyOS didn't have these feature.

I have two 10GbE ports. It is an Intel X520-DA2. I configured the LAGG/LACP with my Mikrotik switch. I am not sure how to check the speed and duplex from OPNsense LAGG interface, but LibreNMS is reporting the "Port Speed" of the lagg interface is at 2.85Gbps. Also, when I checked the VLANs, each one shows 1.41Gbps. 

The Port Speed should be 20Gbps. The physical interface ix0 and ix1 both shows 10Gbps each. Why the LAGG got degraded to 2.85Gbps?  I ran some iperf3 tests and highest speed I am getting is 1.15Gbps. When I removed one of the 10GbE cable, it cut the throughput in half. Basically, the LAGG is running at 1Gbps speed.  I have been using VyOS since 2018. When I was on VyOS,, the bond/LACP was showing as 20Gbps without any issue.

My hardware spec is this:
Supermicro A1SRI-2758F
8GB RAM
128GB SSD
Intel X520-DA2 2x 10Gbps interfaces

EDIT:
Here is thte screen shot of what LibreNMS is seeing
https://imgur.com/a/cqpOKQG





I'd disable Sensei and anything else and test the layer 2 locally.

I have uninstalled sensei and the lagg interface speed reported has not changed.

I think you are misunderstanding the problem. It seems like you are taking about the throughput. The problem is the lagg0 set speed. I just want to clarify that the problem is the port (interface) speed not throughput. If the set speed is lower than what it should be, the throughput doesn't matter because I am limited to the bandwidth of set speed. Think of it as your Internet speed. If you're paying for 300 down and 300 up from your ISP, you are not going to get 1 Gbps from it.

However, in my case, I have full control of the environment. The physical interfaces on both sides are reporting 10 Gbps, but the LAGG is not. The LAGG is "should be" at 20 Gbps not 2.85 Gbps.

Then I'd recommend removing the LAGG and just using a single interface speed on both interfaces. 1st make sure that the system is recognizing the 2 10G. Then rebuild the LAGG.