<div dir="ltr">Recently I accidentally discovered something quite odd about my home DOCSIS connection (shaped with cake) while running a flent rrul test.<div>During the flent rrul test, another machine in my home had started a Steam game update, this opened somewhere between 8-12 connections and saturated my downstream.</div><div><br></div><div>The interesting part was the resulting rrul graph, showing perfect latency control during the test, but 100-150ms of bufferbloat at the very start and end of the rrul graph (when rrul is idle, just pinging).</div><div><br></div><div>Instead of a Steam download I started an iperf3 client on a remote machine that opened 16 connections to a LAN machine. Same behavior as the Steam download.</div><div><br></div><div>At first I thought this was a bug with cake, but no matter how I tuned cake (limiting my 400/40 connection to 50/20 for example), the behavior was similar.</div><div>I tried fq_codel+htb, and got similar results to cake, high latency before the rrul test kicked off, great latency while rrul was doing its up and downloads.</div><div><br></div><div>So I swapped out my self-compile LEDE router with an Edgerouter ER-X with both stock and LEDE firmware, both with fq_codel and cake (on both stock and LEDE firmware). Same results.</div><div>Even without any SQM active, the rrul test still improved the latency of my connection when it's also downloading from 8+ connections at the same time.</div><div><br></div><div>I managed to take the flent rrul test out of the equation by starting a hping3 "flood" to the hop next of my cable modem. </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">hping3 -2 -d 0 -s 10080 -k -p 80 -i u100 first-hop-or-ISP-gateway-goes-here<br></blockquote><div> </div><div>This also fixed the latency while many downloads were running by sending about 300KB/s of empty UDP packets to some unresponsive port on my ISPs local gateway.</div><div><br></div><div>I'm puzzled by this result, somehow sending 300KB/s of empty packets upstream drastically improves the latency of my connection when it's receiving many downloads.</div><div><br></div><div>Equipment used:</div><div>Cisco EPC3212 cable modem (8x4 EuroDOCSIS 3.0)</div><div>Linksys WRT1900ACS router with LEDE</div><div>Ubiquiti Edgerouter ER-X with both EdgeOS (stock) and LEDE</div><div><br></div><div><br></div><div><br></div></div>