[Cake] Using cake to shape 1000’s of users.

Pete Heist pete at heistp.net
Sat Jul 28 13:37:57 EDT 2018


> On Jul 28, 2018, at 10:56 AM, Toke Høiland-Jørgensen <toke at toke.dk> wrote:
> 
> Note that with the existing tc classifier stuff we already added to
> Cake, we basically have this already (eBPF can map traffic to tin and
> flow however it pleases).

Sorry, this just jostled in my brain now that I may be able to implement member fairness today, based on what you wrote earlier in a thread that I entirely missed: https://lists.bufferbloat.net/pipermail/cake/2018-May/003811.html <https://lists.bufferbloat.net/pipermail/cake/2018-May/003811.html>

George posted an example of assigning packets to a tin: https://lists.bufferbloat.net/pipermail/cake/2018-May/003809.html <https://lists.bufferbloat.net/pipermail/cake/2018-May/003809.html>

How does one send packets to a specific flow / queue?

This wouldn’t give both per-member and per-flow fairness, but at least per-member fairness might be possible. There are 1024(?) queues available and 800 members, so I’m just speculating that I could map members to a number from 0 to 800 (active member IDs packed and zero-based would work) and assign each member to their own flow. Thanks... :)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.bufferbloat.net/pipermail/cake/attachments/20180728/e17ce003/attachment.html>


More information about the Cake mailing list