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

Dave Taht dave.taht at gmail.com
Sat Jul 28 13:56:35 EDT 2018


https://github.com/iovisor/bcc/blob/master/src/cc/compat/linux/bpf.h#L2222
says you can get at the priority field.

On Sat, Jul 28, 2018 at 10:52 AM Dave Taht <dave.taht at gmail.com> wrote:
>
> On Sat, Jul 28, 2018 at 10:38 AM Pete Heist <pete at heistp.net> wrote:
> >
> >
> > 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
> >
> > George posted an example of assigning packets to a tin: https://lists.bufferbloat.net/pipermail/cake/2018-May/003809.html
> >
> > How does one send packets to a specific flow / queue?
>
> It's essentially above. I think you can actually do it in pure bpf
> without skbedit, I'd written a tc bpf flow classifier for acks quite
> some time ago. The not current version is attached. I really need to
> finish up some ack related stuff.
> Using a bpf map to this then setting the flowid directly?
>
>
> > 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... :)
> >
> > _______________________________________________
> > Cake mailing list
> > Cake at lists.bufferbloat.net
> > https://lists.bufferbloat.net/listinfo/cake
>
>
> --
>
> Dave Täht
> CEO, TekLibre, LLC
> http://www.teklibre.com
> Tel: 1-669-226-2619



-- 

Dave Täht
CEO, TekLibre, LLC
http://www.teklibre.com
Tel: 1-669-226-2619


More information about the Cake mailing list