Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
From: "Toke Høiland-Jørgensen" <toke@toke.dk>
To: Dave Taht <dave.taht@gmail.com>,Pete Heist <pete@heistp.net>
Cc: Cake List <cake@lists.bufferbloat.net>
Subject: Re: [Cake] Using cake to shape 1000’s of users.
Date: Sat, 28 Jul 2018 20:12:38 +0200	[thread overview]
Message-ID: <EBC2EC3C-BA68-4B61-AE89-EB9AE0F5737A@toke.dk> (raw)
In-Reply-To: <CAA93jw5R7V8NyZJqzXHKoY0OH3s5dwmmk-nggtuxv9iiyKXiEA@mail.gmail.com>

Priority field sets tin, class sets flow. Both need the qdisc is as its major number, iirc. And both can be set from the same bpf filter which can be run in direct action mode...

-Toke

On 28 July 2018 19:56:35 CEST, Dave Taht <dave.taht@gmail.com> wrote:
>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@gmail.com> wrote:
>>
>> On Sat, Jul 28, 2018 at 10:38 AM Pete Heist <pete@heistp.net> wrote:
>> >
>> >
>> > On Jul 28, 2018, at 10:56 AM, Toke Høiland-Jørgensen <toke@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@lists.bufferbloat.net
>> > https://lists.bufferbloat.net/listinfo/cake
>>
>>
>> --
>>
>> Dave Täht
>> CEO, TekLibre, LLC
>> http://www.teklibre.com
>> Tel: 1-669-226-2619

  reply	other threads:[~2018-07-28 18:12 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-17  7:24 Felix Resch
2018-07-17 16:59 ` Dave Taht
2018-07-26 15:46   ` Dan Siemon
2018-07-26 15:48     ` Dave Taht
2018-07-26 18:07       ` Dan Siemon
2018-07-28 15:51         ` Dave Taht
2018-07-28 16:11           ` Jonathan Morton
2018-07-28 16:36             ` Dave Taht
2018-07-26 17:42     ` Toke Høiland-Jørgensen
2018-07-26 18:10       ` Dan Siemon
2018-07-26 21:09         ` Toke Høiland-Jørgensen
2018-07-26 21:38           ` Jonathan Morton
2018-07-27  9:25             ` Pete Heist
2018-07-27 14:04             ` Dan Siemon
2018-07-27 18:58               ` Jonathan Morton
2018-07-28  8:56                 ` Toke Høiland-Jørgensen
2018-07-28 15:04                   ` Dave Taht
2018-07-28 16:19                     ` Jonathan Morton
2018-07-28 16:39                       ` Dave Taht
2018-07-28 17:01                     ` Pete Heist
2018-07-28 17:37                   ` Pete Heist
2018-07-28 17:52                     ` Dave Taht
2018-07-28 17:56                       ` Dave Taht
2018-07-28 18:12                         ` Toke Høiland-Jørgensen [this message]
2018-07-29  0:17                           ` Pete Heist
2018-07-29 19:14                             ` Toke Høiland-Jørgensen
2018-07-30  9:14                               ` Pete Heist
2018-07-30 10:09                                 ` Sebastian Moeller
2018-07-30 10:55                                   ` Toke Høiland-Jørgensen
2018-07-30 11:05                                     ` Pete Heist
2018-07-30 11:28                                       ` Toke Høiland-Jørgensen
2018-07-30 22:10                                         ` Pete Heist
2018-07-30 22:17                                           ` Toke Høiland-Jørgensen
2018-07-31  7:31                                             ` Jonathan Morton
2018-07-30 10:55                                   ` Pete Heist
2018-07-30 11:05                                     ` Jonathan Morton
2018-07-28 17:53                     ` Jonathan Morton
2018-07-28 18:07                       ` Dave Taht
2018-07-28 18:17                       ` Toke Høiland-Jørgensen
2018-07-28 19:35                         ` [Cake] 1000s " Dave Taht
2018-07-29 23:24                     ` [Cake] Using cake to shape 1000’s " Dave Taht
2018-08-07  1:46                 ` Dan Siemon
2018-07-28  7:18             ` Pete Heist
2018-07-28  8:06               ` Jonathan Morton
2018-07-28 16:41                 ` Pete Heist
2018-07-28 17:32                   ` [Cake] isp economics Dave Taht
2018-07-28 18:39                     ` Pete Heist
2018-07-28 19:03                       ` Dave Taht
2018-07-28 20:00                         ` Pete Heist
2018-07-29  5:49                         ` Loganaden Velvindron
2018-07-28 19:09                       ` Dave Taht
  -- strict thread matches above, loose matches on Subject: below --
2018-07-16 18:39 [Cake] Using cake to shape 1000’s of users Mike
2018-07-16 19:01 ` Jonathan Morton
2018-07-16 19:13 ` Michel Blais

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/cake.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=EBC2EC3C-BA68-4B61-AE89-EB9AE0F5737A@toke.dk \
    --to=toke@toke.dk \
    --cc=cake@lists.bufferbloat.net \
    --cc=dave.taht@gmail.com \
    --cc=pete@heistp.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox