Speed drops?

Started by RouterGuy2019, Today at 06:40:44 PM

Previous topic - Next topic
I have been having an issue for awhile where if I have heavy traffic all at the same time my 1gb connection will start to slow drop in speed until it gets super slow like 1-3mb, sometimes if I wait like 5 mins it will go back to normal speeds on it's own.  But sometimes I have to reboot the modem to get the speed back to normal.  I assumed this was a problem with my ISP, but I was told it was and issue with opnsense (not really opnsense, freebsd and intel NIC's) because of the fact that I have intel 2.5gb NIC's. So I was told to do this...

Uncheck...
Disable hardware checksum offload
Disable hardware TCP segmentation offload
Disable hardware large receive offload

Navigate to System > Settings > Tunables and make sure EEE is disabled for the igc driver, or disable it directly via shell/SSH:

Set hw.igc.eee_setting=0Verification


Hardcode Speed and Duplex

Go to Interfaces > [WAN / LAN] in OPNsense.

Scroll down to Speed and duplex.

Change it from Autosense to 2500base-T Full-Duplex (or match whatever your modem port speed is).

I am just wondering if anyone can tell me if this is sound advice?

Thanks.

Diddling the offloads may be helpful. I'd do one at a time, and test. EEE is garbage, but it usually results in link failures, which should be pretty obvious. Can't hurt to disable it, and see if it makes any difference. I would not fix speed and duplex unless autonegotiation fails to deliver proper speed and duplex.

Any other symptoms? What does the CPU widget (or better, top from a shell) indicate? How about various netstat displays ("Interfaces: Diagnostics: Netstat" or shell) - any bad counters incrementing?

Today at 09:50:20 PM #2 Last Edit: Today at 09:52:59 PM by RouterGuy2019
Quote from: pfry on <strong>Today</strong> at 09:36:42 PMDiddling the offloads may be helpful. I'd do one at a time, and test. EEE is garbage, but it usually results in link failures, which should be pretty obvious. Can't hurt to disable it, and see if it makes any difference. I would not fix speed and duplex unless autonegotiation fails to deliver proper speed and duplex.

Any other symptoms? What does the CPU widget (or better, top from a shell) indicate? How about various netstat displays ("Interfaces: Diagnostics: Netstat" or shell) - any bad counters incrementing?

I am not seeing anything weird in either of those at the moment. If you mean when it gets slow I will check the next time it happens.

Can diddling the offloads have any serious negative side effects?