[SOLVED] Performance degradation after some uptime with no reboots

Started by dreamboat5299, November 11, 2024, 09:55:43 AM

Previous topic - Next topic
Just wanted to confirm if someone else observes this behavior. After some uptime (by some I mean at least 2-3 days) performance for some reason drops quite notably.

Not a huge issue personally, I can always reboot the router, but the speed drops from typical about 700 down to maybe 80 and ping rises from 20 to >100.

I've noticed it on at least last two versions, currently on OPNsense 24.7.8. Can not confirm or deny that it was there before.

Edit:
Using Intel NIC
os-cpu-microcode-amd is installed

What HW do you actually have?
How is your LAN connected?
Ping to what has increased latency?

Regards,
S.
Networking is love. You may hate it, but in the end, you always come back to it.

OPNSense HW
APU2D2 - deceased
N5105 - i226-V | Patriot 2x8G 3200 DDR4 | L 790 512G - VM HA(SOON)
N100   - i226-V | Crucial 16G  4800 DDR5 | S 980 500G - PROD

November 13, 2024, 12:55:51 AM #2 Last Edit: November 13, 2024, 01:04:35 AM by dreamboat5299
- HW: Fujitsu Futro S920.
- One WAN connection, all LAN connections through unmanaged switch directly to the opnsense machine with two interfaces, one of which is vlan.
- Connection tested with speedtest dot net, speedtest itself selects my isp as destination (i guess they host an instance).

Edit: I guess it's just something with my config, problem like this definitely would catch attention if it was somewhat widespread, but I don't see anyone else posting about this behavior. I'll just reinstall/reset my box and see if it will occur again.

You say VLAN + Unmanaged switch.

So you are having VLAN on OPNsense, meaning you TAG?
Because if you are using VLANs and an unmanaged switch it may not be the best solution.

Also do you have a Shaper?
Shaper are CPU heavy, not sure what CPU is in that device (probably AMD G Series GX-415GA), but routing 700M on that CPU and having shaper can be taxing


You can try, when this happens again, disconnect the Switch and connect a PC directly to OPNsense to skip the unman switch to see if that makes difference.
Or if you run a shaper try to disable it if that makes any difference.

Also it would be good to observe the load and utilization of the CPU when this issue is happening.

Regards,
S.
Networking is love. You may hate it, but in the end, you always come back to it.

OPNSense HW
APU2D2 - deceased
N5105 - i226-V | Patriot 2x8G 3200 DDR4 | L 790 512G - VM HA(SOON)
N100   - i226-V | Crucial 16G  4800 DDR5 | S 980 500G - PROD

Just to close this topic. I think I just raised a false alarm. In the end I have not reinstalled anything, running for several days now and issue does not seem to be there anymore. Could be that it was an issue on my ISP part. In any way, thanks for replies and explanations.

So, After updates I also experienced this, and once I rebooted the instance, speeds returned.  Recorded it happen on My speed monitor.  Prior to these updates, I haven't rebooted the instance for months.... It's on a bee link mini pc with gig fiber connection.