<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 27, 2017, at 1:18 PM, Jonathan Morton <<a href="mailto:chromatix99@gmail.com" class="">chromatix99@gmail.com</a>> wrote:</div><div class=""><p dir="ltr" class="">Here's the difference between "srchost" and "dual-srchost": the latter imposes per-flow fairness on traffic to each host, with a separate queue/AQM per flow like with "flows".  The former only has one queue/AQM per host.</p><p dir="ltr" class="">Analogously for dsthost.</p><p dir="ltr" class="">Then "hosts" mode allocates a separate queue for each host-pair encountered.</p><p dir="ltr" class="">But "triple-isolate" isn't quite analogous to "hosts".  Instead it tries to heuristically behave like either of the dual modes, depending on which one is likely to be on the LAN side of the link.  This allows it to be a reasonable default setting, though the "dual" modes will perform more reliably if chosen correctly.</p></div></blockquote></div><div class="">Thanks, so as I understand it, fairness at the host level for srchost and dual-srchost should be the same, only with dual-srchost there should additionally be fairness among each host’s flows.</div><div class=""><br class=""></div><div class="">If that’s right, I’m confused by this result where there are four clients, each with a separate source IP connecting to the same server IP:</div><div class=""><br class=""></div><div class="">1: tcp_up with 1 flow</div><div class="">2: tcp_up with 12 flows</div><div class="">3: tcp_down with 1 flow</div><div class="">4: tcp_down with 12 flows</div><div class=""><br class=""></div><div class="">With srchost/dsthost it’s fair at the host level (easiest to look at TCP upload/TCP upload sum and TCP download/TCP download sum numbers at the bottom of the page):</div><div class=""><br class=""></div><div class=""><a href="http://www.drhleny.cz/bufferbloat/cake/round1/hostiso_eg_cake_src_cake_dst_900mbit/index.html" class="">http://www.drhleny.cz/bufferbloat/cake/round1/hostiso_eg_cake_src_cake_dst_900mbit/index.html</a></div><div class=""><br class=""></div><div class="">and with dual-srchost/dual-dsthost it’s not:</div><div class=""><br class=""></div><div class=""><a href="http://www.drhleny.cz/bufferbloat/cake/round1/hostiso_eg_cake_dsrc_cake_ddst_900mbit/index.html" class="">http://www.drhleny.cz/bufferbloat/cake/round1/hostiso_eg_cake_dsrc_cake_ddst_900mbit/index.html</a></div><div class=""><br class=""></div></body></html>