Skip to content
Contents
GuidesOpenWrt

BPI-R4 CPU usage rises when opening LuCI graphs. What is luci-bwc sampling?

The real-time chart requires periodic reading of interface counters. The number of interfaces and refresh frequency impact CPU usage. Measure the additional overhead by comparing the open-chart and closed-chart windows of equal duration.

Applies to · BPI-R4 · OpenWrt 25.12.6 · luci-bwc

What to check

Observe the CPU usage and polling interval of luci-bwc when real-time charting is disabled versus enabled.

Connect over Ethernet and run the following commands in an SSH session on the router.

ip -o link show
top -b -n 1

How to interpret the result

Under identical traffic, compare luci-bwc's CPU usage and system overall load. After disabling the GUI, verify reduced overhead and confirm sampling period. If load remains consistently high, sort by process to identify other background tasks. A single instantaneous peak is insufficient to estimate typical daily usage.

Verify and recover

Compare CPU use over equal intervals and confirm the graph continues to update correctly. Close the graph to end the test.

Related guide · Identify a new device from OpenWrt lease and access logs

Explore hardware

Comments