Skip to content
Contents
GuidesOpenWrt

Diagnose gaming lag on gigabit broadband by measuring loaded latency

Game latency is normally 20 milliseconds, but it spikes when photo backup starts. Check the upstream queue first.

Game latency is normally 20 milliseconds, but it spikes when photo backup starts. Check the upstream queue first. When upstream is saturated, even small game packets must wait behind upload traffic. Determine whether the queuing occurs at the modem, router, or on the operator's side by performing the same load test.

Same wired computer do three times

Pause the ongoing upload task, then continuously ping a local gateway and a stable external destination. Perform full upload and full download tests separately. For each, record idle RTT, median and p95 RTT under load, and actual throughput. When the gateway is unstable, first investigate local Wi-Fi, Ethernet cable, and router load. If the gateway is stable but external latency increases with load, then examine WAN queuing.

Measure the latency added by a saturated uplink

From a wired computer, keep pinging a fixed target while another workstation uploads a large file. Record the latency when idle, while the uplink is saturated, and after the transfer ends.

On actual WAN devices, enable SQM and start with approximately 90% of measurable uplink and downlink speeds, then gradually increase them. Change only one direction at a time. After tuning, retest under original target conditions and load, recording bandwidth reduction and improvements in load latency. Persistent idle high latency should be investigated along the actual routing path.

A latency spike that occurs only under load points to queueing. Try SQM on the uplink first. If idle latency is unstable as well, check the link and Wi-Fi interference.

Lab record

On the same virtual download path, the simulated uplink was set to 20 Mb/s and the router shapers to 18 Mb/s. Across three runs per mode, loaded median RTT was 28.67 ms for baseline, 0.79 ms for CAKE and 11.55 ms for TBF plus FQ-CoDel. The chart includes p95 and receive throughput.

On the same virtual download path, the simulated uplink was set to 20 Mb/s and the router shapers to 18 Mb/s. Across three runs per mode, loaded median RTT was 28.67 ms for baseline, 0.79 ms for CAKE and 11.55 ms for TBF plus FQ-CoDel. The chart includes p95 and receive throughput.

Measure idle and loaded latency against the same lab endpoint, then check the bottleneck queue counters. · OpenWrt 25.12.6 x86/64 (QEMU/KVM).
Check the terminal output
Measure idle and loaded latency against the same lab endpoint, then check the bottleneck queue counters. · OpenWrt 25.12.6 x86/64 (QEMU/KVM).
Measure idle and loaded latency against the same lab endpoint, then check the bottleneck queue counters. · OpenWrt 25.12.6 x86/64 (QEMU/KVM). Open the original image

Reference

Related guides

Reference

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

Explore hardware

Comments