Re: [Cake] Per-host fairness

2016-10-16 Thread G. Amanakis
I meant B gets always 1/3 of the bandwidth. It also gets worse if A is using 
bittorrent. The setup with cake doesn't involve tc-flow or marking packets with 
iptables.

On October 16, 2016 11:57:03 AM EDT, "G. Amanakis"  wrote:
>I am trying the cobalt branch along with the 950-add-cake-to-tc.patch
>from lede-git on Archlinux. However, I cannot get per-host fairness as
>expected, neither with IPv4 behind NAT, nor with IPv6. Having host A
>downloading from 2 sites and host B from 1, A gets always 1/3 of
>available bandwidth. I am using "bestefforts triple-isolate nat" on
>egress and ingress ifb of the WAN interface. Kernel 4.4.24 and 4.7.6.
>
>The same setup with the same bandwidth limiting (3300kbit/900kbit)
>works as expected with fq_codel, tc-flow using mark for hashing, and
>iptables with HMARK using source egress ip for hashing and CONNMARK on
>WAN.
___
Cake mailing list
Cake@lists.bufferbloat.net
https://lists.bufferbloat.net/listinfo/cake


Re: [Cake] why "triple-isolate"? Why not just "isolate?"

2016-10-16 Thread Sebastian Moeller
Hi Dave,

Cake offers three relevant per-IP "isolation" options, dual-srchost, 
dual-dsthost, and triple-isolate. The dual options are relatively 
straightforward, they promise to separate by either SRC or DST up address of 
the packets, allowing easy prediction what they should do to a given set of 
flows between internal and external machines. They for example allow to set up 
either fairness by external IP addresses or what commonly seems to be wanted 
fairness by internal IP addresses. BUT to work correctly one needs to configure 
the correct directionality for ingress and egress. Triple-isolate promises to 
do something in-between per-internal-IP and per-internal-IP fairness making it 
possible to forego having to configure the right "direction" into the shaper. 
The goal making it easier for the user to get a reasonable, albeit not perfect, 
fairness guarantee is surely laudable; what I so far have not seen is a top 
level description what it does exactly and data showing that it DTRT.

Best Regards
Sebastian 

On October 16, 2016 7:29:55 PM GMT+02:00, Dave Taht  wrote:
>see thread:
>
>http://community.ubnt.com/t5/EdgeMAX/Cake-compiled-for-the-EdgeRouter-devices/m-p/1706441/highlight/false#M132430
>
>
>-- 
>Dave Täht
>Let's go make home routers and wifi faster! With better software!
>http://blog.cerowrt.org
>___
>Cake mailing list
>Cake@lists.bufferbloat.net
>https://lists.bufferbloat.net/listinfo/cake

___
Cake mailing list
Cake@lists.bufferbloat.net
https://lists.bufferbloat.net/listinfo/cake