If we can replicate the results of your test then I would say we're onto something.<span></span><br><br>On Monday, 10 October 2016, Jonathan Morton <<a href="mailto:chromatix99@gmail.com">chromatix99@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
> On 4 Oct, 2016, at 19:28, Jonathan Morton <<a href="javascript:;" onclick="_e(event, 'cvml', 'chromatix99@gmail.com')">chromatix99@gmail.com</a>> wrote:<br>
><br>
>> Ha ha!  I don't know if you're back from shopping yet...and I'm not sure that I've broken it (cobalt branch)...but it has broken my router!<br>
><br>
> Hmm.  It’s been running all day with plenty of traffic over here - but it did crash the very first time I loaded it, just not the second.  I will need to exercise it some more, preferably on a non-critical machine.<br>
<br>
Okay, that bug is fixed and I’ve made further improvements to the triple-isolate algorithm.  It no longer needs quite as much spaghetti logic in the fast path, and might even be easier to understand from reading the code, since it’s now more obviously a modification of DRR++ rather than a brute-force wrapper around it.  It should certainly give smoother behaviour and be less CPU intensive in common cases.<br>
<br>
In brief, what I now do is to scale the *flow* quantum down by the higher of the two hosts’ flow counts.  I’ve even dealt with underflow of the quotient using a dithering mechanism, which should also ensure that flows random-walk out of lockstep with each other.<br>
<br>
It works sufficiently well that I was able to set Cake to 2.5Mbit besteffort triple-isolate, then watch a 720p YouTube video on one machine while another was downloading a game update using a 30-flow swarm.  I’d call that a success.<br>
<br>
Hammer away at it, and then we’ll see if we can merge it up to master.<br>
<br>
 - Jonathan Morton<br>
<br>
______________________________<wbr>_________________<br>
Cake mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'Cake@lists.bufferbloat.net')">Cake@lists.bufferbloat.net</a><br>
<a href="https://lists.bufferbloat.net/listinfo/cake" target="_blank">https://lists.bufferbloat.net/<wbr>listinfo/cake</a><br>
</blockquote>