Skip to content
Contents
GuidesOpenWrt

Test cake-autorate when 5G or Starlink capacity varies

Setting SQM to peak bandwidth will cause queuing during off-peak times, while setting it to off-peak bandwidth results in prolonged idle uplink.

Setting SQM to peak bandwidth will cause queuing during off-peak times, while setting it to off-peak bandwidth results in prolonged idle uplink. cake-autorate adjusts the CAKE rate based on probing and load information, suitable for initial testing on a link where fixed SQM is already active.

Define recoverable upper and lower bounds

In real WAN and download IFB validation, confirm that CAKE is running. Based on wired field measurements at different times, select the minimum, baseline, and maximum rates. Verify the version's supported probe targets, device names, and service installation methods as described in the author's documentation. First validate latency with a small set of stable targets, then enable auto-start.

Verifying that traffic shaping reduces when variable links suddenly slow down

Compare fixed SQM with autorate under static and dynamic 5G scenarios. Record actual available bandwidth, the rate selected by the algorithm, and real end-to-end latency.

Run fixed and adaptive schemes alternately within the same period, recording throughput, p95 RTT, adjusted rate, and probe failure counts. During roaming handoffs, the entire link may momentarily drop; focus on whether the controller continues operating after recovery. After disabling the adaptive service, restart SQM to verify it returns to the previously saved fixed configuration.

The algorithm should contract when capacity declines and gradually expand upon recovery. When no reliable probe endpoints are available, use a fixed configuration that conserves bandwidth.

Reference

Reference screenshot · ⚡CAKE with Adaptive Bandwidth - "cake-autorate"
Reference screenshot · ⚡CAKE with Adaptive Bandwidth - "cake-autorate"
Reference screenshot · ⚡CAKE with Adaptive Bandwidth - "cake-autorate" Open the original image

lynxthecat/cake-autorate · GPL-2.0

Related guides

Reference

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

Explore hardware

Comments