[Cake] triple flow isolation
moeller0 at gmx.de
Mon Jan 11 13:16:05 EST 2016
I agree the triple mode seems under-documented ;)
> On Jan 11, 2016, at 18:40 , Kevin Darbyshire-Bryant <kevin at darbyshire-bryant.me.uk> wrote:
> Hello List,
> I've been looking at latest 'triple flow isolation' features in latest
> cake git and find myself confused. It's very likely to be a
> misunderstanding on my part, although if I'm confused I'm sure others
> will, sooner or later, fall into the same trap.
> I thought that triple flow was a solution such that a host with many
> elephant flows couldn't dominate the bandwidth consumption thus starving
> another host with just one elephant flow. I guess the typical example
> is a 'bittorrent' host pulling data from many places vs a host pulling
> data from a single place. My recent 'test' example was a host doing 4
> simulatenous pulls of 9GByte+ files vs my wife downloading a movie via
> the TV box downstairs. The bandwidth was evenly divided by the 5 flows,
> however my host got 4/5ths of the share. I didn't think this was
> supposed to happen with triple flow isolation? Ideally we'd both get
> 50% of the ISP bandwidth managed by my router (cake is running on the
> WAN facing interface to the ISP modem with appropriate bandwidth limits set)
I believe you would want src_host on egress and (post-NAT) dat-host on ingress, assuming your goal is fairness by internal host, not external hosts ;). Now the challenges are to get the post-NAT IP addresses on ingress and how to counteract IPv6’s tendency to grow incredible amounts of addresses by host. In theory all of this could be solved with fairness by internal MAC addresses, except these will only work in a shallow networks (as far as I understand). I would argue that wifi aggregation has the same issue regarding IPv6, but I digress...
> The good news is that latency was well controlled and general web
> browsing/catching emails etc was oblivious to the elephant melee going on.
Well, I have not managed to get the new cake onto my router at all, so I am happy to read that it works.
> Advice gratefully received.
> Cake mailing list
> Cake at lists.bufferbloat.net
More information about the Cake