From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.toke.dk (mail.toke.dk [IPv6:2001:470:dc45:1000::1]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 5F2013B29E for ; Mon, 30 Jul 2018 06:55:02 -0400 (EDT) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=toke.dk; s=20161023; t=1532948100; bh=fJcdR5FNT3u04Cvp4nScT792EjHOSX55cdZsTBAaILA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=XEKE/vWzvAg/hx12z36S4rKFG0Gbso1wWiKMgztQD4mHfXg5/2X9Mse4TJyG1vkaO zq/6UEzD5BUkwcyB5WYhhRdiqzwwyelzhW/ZgmEQ/ppOJRPb+Q/ZCskDaei/ZFSzsY z6LWMANdG6id10omRDZdyLwlmzqPD4xyaDQUKYR8zARf4DA/8w0p9O5huHVaxj2yga 41Yx2oa7zIOTJkP+YYQ4rNML73bjFy6BhWEzDtdYtVFF9GUzzO8D784n7J6a9Hg5f6 VJX24lTWdHPqS6Cej666/Z4kWFQGla+18I2tnNCuzR7cdWFIrd2XR83KYQvFPN4bIG WtmagT/JsJefA== To: Sebastian Moeller , Pete Heist Cc: Cake List In-Reply-To: <8893BD36-72A4-4FC8-A013-BBB97F0E879B@gmx.de> References: <1357421162.31089.1531812291583@webmail.strato.de> <1c323544b3076c0ab31b887d6113f25f572e41ae.camel@coverfire.com> <87woth28rw.fsf@toke.dk> <87tvol1z6h.fsf@toke.dk> <87wotfzql8.fsf@toke.dk> <87r2jlzwew.fsf@toke.dk> <305C8083-A170-42E8-BC96-120D3B0065EA@heistp.net> <8893BD36-72A4-4FC8-A013-BBB97F0E879B@gmx.de> Date: Mon, 30 Jul 2018 12:55:00 +0200 X-Clacks-Overhead: GNU Terry Pratchett Message-ID: <87muu9yovv.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Cake] =?utf-8?q?Using_cake_to_shape_1000=E2=80=99s_of_users=2E?= X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2018 10:55:02 -0000 Sebastian Moeller writes: > Hi Pete > >> On Jul 30, 2018, at 11:14, Pete Heist wrote: >>=20 >>=20 >>> On Jul 29, 2018, at 9:14 PM, Toke H=C3=B8iland-J=C3=B8rgensen wrote: >>>>=20 >>>> Caveats that I know of: >>>> - Limited to 1024 members >>>> - No fairness between flows >>>=20 >>> You could assign more than one queue per customer and hash traffic >>> between them in BPF=E2=80=A6 >>=20 >> True. There will always be that limit of 1024 (in my case I=E2=80=99ll n= eed 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