Skip to content
Contents
GuidesOpenWrt

Measure the queue, the flow and the exit

Ping a stable endpoint from a wired client, first idle and then while uploading. Repeat with downloading. If latency rises only under load, put the shaper just below the measured bottleneck rate and repeat each direction. Record delay and throughput together; check whether offload bypasses the queue and whether one CPU core saturates.

Ping a stable endpoint from a wired client, first idle and then while uploading. Repeat with downloading. If latency rises only under load, put the shaper just below the measured bottleneck rate and repeat each direction. Record delay and throughput together; check whether offload bypasses the queue and whether one CPU core saturates.

Measure delay while the line is busy

Ping a stable endpoint from a wired client, first idle and then while uploading. Repeat with downloading. If latency rises only under load, put the shaper just below the measured bottleneck rate and repeat each direction. Record delay and throughput together; check whether offload bypasses the queue and whether one CPU core saturates.

tc -s qdisc show

SQM scripts · iperf3 documentation

Where are the missing queue counters?

Record baseline throughput, CPU and queue counters with the feature off. Enable one offload path, make new flows and repeat. A forwarded flow can bypass later software hooks. For hardware offload, confirm driver and target support on this firmware before attributing a gain to the chip.

nft list flowtables

Netfilter flowtable

Which counter answers the question?

An interface byte counter includes traffic for every client using that interface. For per-device usage record the observation point, lease mapping, accounting interval and both IP families. Compare one known transfer with the counter delta before trusting monthly totals. A counter that resets at reboot needs persistent storage or an external collector.

tcpdump manual

A port mapping on which router?

Compare the router's WAN address with the public address observed externally. If an upstream NAT is also present, a local UPnP mapping alone cannot establish the inbound path. Limit mappings to trusted clients and check the actual mapping table during the game's connectivity test. Test inbound reachability from outside the LAN.

OpenWrt firewall4

Rate and monthly volume are different controls

For a per-client limit reserve the client address and observe traffic in both directions at the bottleneck. A download enters WAN but exits LAN; an upload goes the other way. Verify with two clients so a shared cap is visible. A monthly quota also needs persistent byte accounting, a timezone, a reset boundary and a defined action at exhaustion.

SQM scripts

Can a collector see the event?

Use one harmless known flow with a recorded timestamp. Compare the router's counter or alert with the collector's source address, timestamp and interface. Flow exports summarize conversations; an IDS alert also depends on the active ruleset. Test retention and delivery during a short collector outage before relying on the record.

tcpdump manual · nDPI

How much RAM is left under the workload?

Choose the workload first. For WireGuard distinguish configured peers from peers transferring traffic. For conntrack record concurrent entries and available memory. For DPI record ruleset, captured packets, drops and process RSS. Start with idle values, increase one variable and record when latency or packet loss exceeds your target. RAM capacity alone gives no measured user limit.

cat /proc/meminfo ; cat /proc/sys/net/netfilter/nf_conntrack_count

nDPI · WireGuard Quick Start

References and media

Type Attachment Source Language Version or date
Document SQM scripts SQM authors en —
Document iperf3 documentation ESnet en —
Document Netfilter flowtable Linux kernel en —
Document tcpdump manual The Tcpdump Group en —
Document OpenWrt firewall4 OpenWrt en —
Document nDPI ntop en —
Document WireGuard Quick Start WireGuard en —
Reference

Check the model, region and hardware revision on the label before selecting firmware.

Explore hardware

Comments