<div dir="ltr">That's about what constitutes a flow.  fq_codel as implemented in linux works per (source ip, dest ip, protocol, source port, dest port) 5-tuple.  Linux should probably support multiple flow hashing algorithms in the kernel.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 20, 2014 at 7:15 PM, Richard Edmands <span dir="ltr"><<a href="mailto:thesirdmz@gmail.com" target="_blank">thesirdmz@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>In my environment we've got a fair chunk of torrent usage happening (+ gaming) and with fq_codel giving the advantage to whichever individual could open up as many connections as possible the entire situation imploded very quickly.<br>


</div><div>So to balance this out I used htb to implement the IP part of this (actually not really, i made groups of ip's which belonged to individuals) and stuck fq_codel on top of the divided setup.<br></div><div>With this system what now happens is each IP now gets equal utilization of the link (actually, i'm a lazy hack. I only implemented the uplink section) which prevents the advantage of opening up as many connections as possible. <br>


Now when an individual decides to go nuts, they're limited to what is available to them without harming everyone else, without compromising maximum possible speed.<br><br></div><div>I have had this running in my environment for the past month and WOW.<br>


</div><div><br>See pastebin'd implementation.<br></div><div><br><a href="http://pastebin.com/hXtzFL9f" target="_blank">http://pastebin.com/hXtzFL9f</a><br></div></div>
<br>_______________________________________________<br>
Codel mailing list<br>
<a href="mailto:Codel@lists.bufferbloat.net">Codel@lists.bufferbloat.net</a><br>
<a href="https://lists.bufferbloat.net/listinfo/codel" target="_blank">https://lists.bufferbloat.net/listinfo/codel</a><br>
<br></blockquote></div><br></div>