Skip to content
Contents
GuidesOpenWrt

LuCI bandwidth graphs fluctuate. Compare units, interface counters and sampling intervals

A spike in the real-time graph represents one sampling interval. To verify if a reading is reasonable, take the difference between two cumulative byte counts from the same interface, then divide by the actual elapsed time.

Applies to · Hiveton H5000M · ImmortalWrt 24.10-SNAPSHOT · cdc_ncm

What to check

Read RX/TX byte and timestamp twice on the same physical data interface.

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

date +%s
ip -s link
sleep 2
date +%s
ip -s link

How to interpret the result

For example, if RX increases by 1,000,000 bytes over 2 seconds, the rate is 4 Mbit/s. If the figures differ by a factor of eight, check bytes versus bits. For short spikes, align the start and end of the sample intervals. Count the bridge or its underlying device, not both.

GeeksMeta verified the command output on OpenWrt 25.12.6 VM (r33311-981c978eff). In the same output from ip -s link show dev lo, RX shows 4937635 bytes and 65235 packets. A second time point is still needed to calculate bytes per second.

Verify and recover

Measure the same transfer and interface over matching intervals. Compare the graph with the counter-derived rate, accounting for bursts. Restore the original sampling interval.

Related guide · Where to capture packets on OpenWrt when a TCP handshake times out

Explore hardware

Devices mentioned

Comments