[Cake] Fwd: flow_hash vs host_hash

Sebastian Moeller moeller0 at gmx.de
Tue Oct 6 12:18:38 EDT 2015


Dear list, 

I promise one of these days I am going to learn to use reply all instead of just reply; it is just not today it seems… So let me add basically a me too to Jonathan and David...

Best Regards
	Sebastian


Begin forwarded message:

> From: Sebastian Moeller <moeller0 at gmx.de>
> Subject: Re: [Cake] flow_hash vs host_hash
> Date: October 6, 2015 at 15:38:02 GMT+2
> To: Dave Täht <dave.taht at gmail.com>
> 
> Hi Dave,
> 
> On Oct 6, 2015, at 14:51 , Dave Taht <dave.taht at gmail.com> wrote:
> 
>> In most scenarios the top level hash for per station queuing on
>> ethernet would be
>> source or destination macaddr, thus bypassing ipv4 or ipv6.
> 
> 	Silly question, is this also true for a routed segment? I was under the impression that if wlan and lan are not bridged in a router packets being passed to the WAN interface all carry the router’s MAC address as SRC, in other words that MAC addresses are only reliable in individual L2-segments… (this in turn could be used as an argument for L2-bridging in smallish home environments)
> 
> Best Regards
> 	Sebastian
> 
>> 
>> Then below that goes the 5 tuple.
>> 
>> On Tue, Oct 6, 2015 at 12:59 PM, Sebastian Moeller <moeller0 at gmx.de> wrote:
>>> Hi Jonathan,
>>> 
>>> On Oct 6, 2015, at 10:44 , Jonathan Morton <chromatix99 at gmail.com> wrote:
>>> 
>>>> 
>>>>> On 6 Oct, 2015, at 11:39, Toke Høiland-Jørgensen <toke at toke.dk> wrote:
>>>>> 
>>>>> Sebastian Moeller <moeller0 at gmx.de> writes:
>>>>> 
>>>>>> Ah, I see. I guess you are right, but on egress we could get back to
>>>>>> the pre-nat addresses, like Vincent does in nxt_routed_hfsc.qos?
>>>> 
>>>> I can’t immediately see how that works.
>>>> 
>>>>> Ah, so there is a hook to get those; cool. Just need to make sure Cake
>>>>> uses that, then :)
>>>> 
>>>> I think the better solution would be to implement that in the flow dissector.  Then Cake (and all other relevant qdiscs) will receive that information automatically.
>>> 
>>>       Certainly. But all of this hopefully does impede the implementation of the dual-flow-classifiying cake-mode; as even without those refinements the dual-mode should work well for IPv6 (assuming people do not game this by using excessive amounts of addresses per host) and non-NATed IPv4…
>>> 
>>> Best Regards
>>>       Sebastian
>>> 
>>>> 
>>>> - Jonathan Morton
>>>> 
>>> 
>>> _______________________________________________
>>> Cake mailing list
>>> Cake at lists.bufferbloat.net
>>> https://lists.bufferbloat.net/listinfo/cake
>> 
>> 
>> 
>> -- 
>> Dave Täht
>> Do you want faster, better, wifi? https://www.patreon.com/dtaht
> 




More information about the Cake mailing list