opnsense / core

OPNsense GUI, API and systems backend
https://opnsense.org/
BSD 2-Clause "Simplified" License
3.38k stars 758 forks source link

High CPU usage under stress, not entirely unexpected - testing opportunity? #7966

Open evilantishad0w opened 1 month ago

evilantishad0w commented 1 month ago

Versions OPNsense 24.7.6-amd64 FreeBSD 14.1-RELEASE-p5 OpenSSL 3.0.15

Intel(R) Celeron(R) J4125 CPU @ 2.00GHz (4 cores, 4 threads) 8GB memory

This installation is supporting a dozen "kiosks", displaying a variety of sites, including several video streams. Average throughput is 20 megabit, peaking at 100 megabit. I'm seeing usage spikes on the CPU graph, occasionally above 30. This is I suppose to be expected, considering how anemic the CPU is, and I'm fairly satisfied with the performance. Even so I think it may be a good testing environment for code profiling. If anyone is interested in specific logs or for me to install a profiler please let me know.

More info: Intel QuickAssist Technology enabled w/ not much effect PowerD disabled Interfaces Settings: Hardware CRC, Hardware TSD, Hardware LRO all enabled, not much effect Using pure IPv4 "Firewall states" widget removed from home page (seems to cause system stress) CPU temps low, ~40C, so spikes must be very short duration

OPNsense-bot commented 1 month ago

Thank you for creating an issue. Since the ticket doesn't seem to be using one of our templates, we're marking this issue as low priority until further notice.

For more information about the policies for this repository, please read https://github.com/opnsense/core/blob/master/CONTRIBUTING.md for further details.

The easiest option to gain traction is to close this ticket and open a new one using one of our templates.