Managing Video Call Latency on Edge Cellular Connections Using CAKE Smart Queues
Bufferbloat makes calls stutter whenever someone uploads a photo. CAKE SQM on OpenWrt keeps latency low by shaping slightly below your real link speed.
Bufferbloat happens when upstream equipment holds large queues. A single photo upload fills the queue and every other packet — including your voice — waits behind it. CAKE smart queue management moves the bottleneck into your router, where it can be managed fairly.
Measure first
Run a bufferbloat test while uploading and downloading. If latency jumps by hundreds of milliseconds under load, SQM will help.
Install and configure
- Install
luci-app-sqm. - Select the WAN interface in Network → SQM QoS.
- Set download and upload to about 85–90 % of measured speeds.
- Choose
cakewithpiece_of_cake.qos. - Set link layer overhead appropriate for your connection type.
Variable links
Cellular and satellite speeds vary. Fixed shaping rates that are too high stop working; too low waste bandwidth. Start conservative, or use autorate scripts that adjust shaping based on measured latency.
Per-host fairness
CAKE can share bandwidth fairly between devices, so a laptop syncing cloud storage does not starve a phone on a call. Enable per-host isolation options in advanced settings.
Check results
Repeat the bufferbloat test. A well-tuned setup keeps latency increases under load small, and calls stay smooth even while photos upload.
Safety note: figures are typical planning values. Confirm ratings on your hardware labels and follow local electrical and radio regulations. When in doubt, have DC installations checked by a qualified auto-electrician.