<font face="times new roman" size="3"><p style="margin:0;padding:0;">You can use a small fraction of the capacity of the cable uplink path to measure its queueing delay dynamically, and when it gets longer than latency*"expected bitrate", reduce "expected bitrate".</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">You want to do this *as quickly as possible*, so what you do is insert a "link monitor" task in the driver that sends tiny probe packets addressed to the nearest "loopback point" you can find/create on the other side, and measure the RTT.  You can use, for example, the technique used by traceroute, which is to set the hop count to the smallest number that causes a return ICMP packet to be sent, and send one of those periodically.</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">I used this specific technique to cause my uplink queue to move back into my router, where I could manage it.  You can also use it for the downlink queue measurement, but it doesn't move the queue into the router smoothly, instead you have to drop/ECN-mark the IP frames coming in.</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">This can all be done between the IP layer and layer 2.  Since it exploits speedboost better, it might be worth adding as an option to cerowrt, so you don't have to set a speed limit explicitly when you have a single connection to the public Internet.</p>
<p style="margin:0;padding:0;"> </p>
<p style="margin:0;padding:0;">-----Original Message-----<br />From: "Michael Richardson" <mcr@sandelman.ca><br />Sent: Monday, November 26, 2012 9:22am<br />To: cerowrt-users@lists.bufferbloat.net, cerowrt-devel@lists.bufferbloat.net<br />Subject: Re: [Cerowrt-devel] [Cerowrt-users] QOS settings vs speedboost and random bandwidth<br /><br /></p>
<div id="SafeStyles1353941715"><br />>>>>> "Dave" == Dave Taht <dave.taht@gmail.com> writes:<br /> Dave> to move the fq_codel algorithm into the cable modem, OR to have the<br /> Dave> cable modem exert flow control like ADSL modems do. Then have the<br /> Dave> smarter device (the router) then do smarter queuing.<br /><br />I was unaware that DSL models were doing this... is this with GbE<br />ethernet level XON/XOFF?   Should I assume that any DSL model with less<br />than a GbE sync doesn't/can't have it?  Any brands you'd like to<br />acknowledge?<br /><br />-- <br />]       He who is tired of Weird Al is tired of life!           |  firewalls  [<br />]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[<br />] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[<br /> Kyoto Plus: watch the video <http://www.youtube.com/watch?v=kzx1ycLXQSE><br /> then sign the petition. <br />_______________________________________________<br />Cerowrt-devel mailing list<br />Cerowrt-devel@lists.bufferbloat.net<br />https://lists.bufferbloat.net/listinfo/cerowrt-devel</div></font>