[Cake] Using cake to shape 1000’s of users.
Toke Høiland-Jørgensen
toke at toke.dk
Mon Jul 30 06:55:00 EDT 2018
Sebastian Moeller <moeller0 at gmx.de> writes:
> Hi Pete
>
>> On Jul 30, 2018, at 11:14, Pete Heist <pete at heistp.net> wrote:
>>
>>
>>> On Jul 29, 2018, at 9:14 PM, Toke Høiland-Jørgensen <toke at toke.dk> wrote:
>>>>
>>>> Caveats that I know of:
>>>> - Limited to 1024 members
>>>> - No fairness between flows
>>>
>>> You could assign more than one queue per customer and hash traffic
>>> between them in BPF…
>>
>> True. There will always be that limit of 1024 (in my case I’ll need 800).
>
> I believe all you needto do is change the following in scg_cake.c:
> #define CAKE_QUEUES (1024)
>
> Now I heard reports that above a certain number this breaks, but it
> might be enough for 32K or even 64k, or ~32 to 64 queues per customer,
> which might already help to spread out things a bit...
Has to fit in 16 bits, so 64k is the max; we really ought to have made
that parameter configurable...
-Toke
More information about the Cake
mailing list