<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 4, 2019, at 3:08 AM, Georgios Amanakis <<a href="mailto:gamanakis@gmail.com" class="">gamanakis@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On Thu, 2019-01-03 at 23:06 +0100, Pete Heist wrote:<br class=""><blockquote type="cite" class="">Both have cake at 100mbit only on egress, with dual-srchost on client<br class="">and dual-dsthost on server. With this setup (and probably previous<br class="">ones, I just didn’t test it this way), bi-directional fairness with<br class="">these flow counts works:<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre">    </span>IP1 8-flow TCP up: 46.4<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>IP2 1-flow TCP up: 47.3<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>IP1 8-flow TCP down: 46.8<br class=""><span class="Apple-tab-span" style="white-space:pre">      </span>IP2 1-flow TCP down: 46.7<br class=""><br class="">but with the original flow counts reported it’s still similarly<br class="">imbalanced as before:<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre">    </span>IP1 8-flow TCP up: 82.9<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>IP2 1-flow TCP up: 10.9<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>IP1 1-flow TCP down: 10.8<br class=""><span class="Apple-tab-span" style="white-space:pre">      </span>IP2 8-flow TCP down: 83.3<br class=""></blockquote><br class="">I just tested on archlinux, latest 4.20 on the router, iproute2 4.19.0,<br class="">using flent 1.2.2/netserver in a setup similar to Pete's:<br class=""><br class="">client 1,2 <----> router <----> server<br class=""><br class="">The results are the same with Pete's.<br class=""></div></div></blockquote></div><br class=""><div class="">One more scenario to add, IP1: 1 up / 1 down, IP2: 1 up / 8 down. In the graph, IP1 = host1, IP2 = host2, sorry for the longer labels, and watch out that the position of the hosts changes.</div><div class=""><br class=""></div><div class="">dual keywords: <a href="https://www.heistp.net/downloads/fairness_1_1_1_8/bar_combine_fairness_1_1_1_8.svg" class="">https://www.heistp.net/downloads/fairness_1_1_1_8/bar_combine_fairness_1_1_1_8.svg</a></div><div class=""><br class=""></div><div class="">host keywords: <a href="https://www.heistp.net/downloads/fairness_1_1_1_8_host/bar_combine_fairness_1_1_1_8_host.svg" class="">https://www.heistp.net/downloads/fairness_1_1_1_8_host/bar_combine_fairness_1_1_1_8_host.svg</a></div><div class=""><br class=""></div><div class="">Also not what I’d expect, but host 2’s upload does get slowed down, even disproportionately, in response to the extra aggregate download he gets. Up and down are more balanced with the “host” keywords, but without flow fairness there’s higher inter-flow latency.</div></body></html>