[Cake] triple flow isolation

Kevin Darbyshire-Bryant kevin at darbyshire-bryant.me.uk
Mon Jan 11 15:33:21 EST 2016

On 11/01/16 18:16, moeller0 wrote:
> Hi Kevin,
> I agree the triple mode seems under-documented ;)
Yes that's true but it is experimental after all - and I'm experimenting
with it :-)
>> 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...
Ah, yes, silly me - NAT.  As you say pre-NAT internal source address on
egress and post-NAT internal destination address on ingress.  So the
shaping to work, cake needs to be on the wan interface but that's too
late to obtain the internal pre-NATed addresses.  Oh dear.  Help!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4816 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.bufferbloat.net/pipermail/cake/attachments/20160111/8313e846/attachment-0001.bin>

More information about the Cake mailing list