Todo #15969
openImprove the system load impact from dashboard widgets
0%
Description
The widget refresh behavior changed in 24.11 which can result in an increase in system load; see: https://redmine.pfsense.org/issues/15725. This system load increase while on the dashboard is especially significant in slower hardware. Further adjustments could be made to ease system load on slower hardware.
Updated by Marcos M 3 days ago
Adjust the refresh intervals to be more reasonable for each widget:
https://github.com/pfsense/pfsense/commit/7de19c387d42c7e7a97d7e04a1085d4f777a3414
https://github.com/pfsense/FreeBSD-ports/commit/d903bdffbe5fb75833ddaf53914529b2377baf90
https://github.com/pfsense/FreeBSD-ports/commit/2ef81db5ebc01f7029d0c00f369356f849527646
Reduce redundant calls in widget-related code:
https://github.com/pfsense/pfsense/commit/a665634de5d1d7dd5151484e9c48c4cb313d8e1a
https://github.com/pfsense/pfsense/commit/648eb64f02c946639758fa4e5a2d8adcbb1c4822
Updated by Jordan G 2 days ago
After applying these patches to a 4100 on 24.11 the dashboard indicated cpu usage dropped around 30% when just leaving the dashboard open in a browser. With 11 widgets configured, including apcupsd, idling/light browsing cpu usage is 5% or less, where previously it would show 35~40% with the dash up