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

Pete Heist pete at heistp.net
Mon Jul 30 07:05:52 EDT 2018

> On Jul 30, 2018, at 12:55 PM, Toke Høiland-Jørgensen <toke at toke.dk> wrote:
>> 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...

Couldn’t it still be made so now? Not sure of the performance impact though.

If it’s better to make it powers of 2 or there are other restrictions on it (min and max), the config interface should also handle this.

More information about the Cake mailing list