R7800 SQM settings keep causing bufferbloat

cake is pretty complex its in calculations and does maybe not quite suit into the dual-core CPU-scaling ipq8065 in R7800. Varying CPU speeds may throw the calculations off.

Some ideas:

  • You may need to disable the CPU frequency scaling and keep the router on full CPU 1.7 GHz all the time (so that it does not scale down to 0.384 GHz when idling). Use "performance" governor instead of "ondemand".
  • change the kernel parameters for CPU scaling. Example:

echo 35 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor

Personally I use simple.sqm with fq_codel and not cake with my R7800.

You might read the discussion from: