From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-x22e.google.com (mail-qk0-x22e.google.com [IPv6:2607:f8b0:400d:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 42A403B2A4 for ; Sun, 29 Jul 2018 19:24:26 -0400 (EDT) Received: by mail-qk0-x22e.google.com with SMTP id v17-v6so6673021qkb.11 for ; Sun, 29 Jul 2018 16:24:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=l9YB4+ntJC9Te06yvMOMmia6NodSFIY3Zlvf7S3OUw0=; b=qxyH5M7ymmAjq/4ydnQAKMH3eT5xqdKNBeoYZWB2x9jeLNu3nCqMhmWQp4r3fYIqLy 5+dqXnTzOj1y7rV+Dlru95wgbQkLJ8xiLEiEsFACMt3oiuRBBnh71d9/Qc1XESCF2pbF mHyWnNtQkKfVpcAXtF1HIYmgJrxVEeBLixZ8JqGyQreP9IaJBEu0Mdnqe1NaBxJqkjm9 /X1FOIvdl+lAYi0hTXIIUs1XPJi5eVdmKzJ/E7/ZZa4uhKRK6YQiOIiJnOulIbA4q5js B9d4TLLaREsp2FYNvM12clnqmknzrhcV9Vn/eOTNjlCKFP4K01GRCSrogXol8HVK7ggA qjEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=l9YB4+ntJC9Te06yvMOMmia6NodSFIY3Zlvf7S3OUw0=; b=EAir29xbhUXrg5tsXHMUQRbY9cRUMsnAc0iAIYI8Uw5HxdsvzrlNTaRO2BBNV05dIU a+hCJiPKLWQs9nV4a9jo1yLzoca1Mhvl7y90JkZC+KXIklf0BGvKNqJ7MCfGVnEUq8Zl C2AbN7nb+bj0J6U0vq0B/jWO3U0pKl+EtDugsYybOc9U3puUJ2LPBmOiHXN4f4T5FwTK vhDHvFFH3ycCCE2xFkLEA3PfIZndCC+hYDqAeGlX87DoTqLrIAQnXlHwQGIMDnl2lgL6 bKaLI37eKSbDHQ/qdHUwlBdHTA4PpfHrHlseTagyqC3s4nfBBjLN93g0l8Oo8DROgRnl BoaA== X-Gm-Message-State: AOUpUlFS/Jv00NnTLU+sBXxj16WTkLw0GqCsHJmETGWU71n8RYidvSEP dK1gzrRDI1uVhChXCsILLUO1c7zJYuNuv46gfT2ERA== X-Google-Smtp-Source: AAOMgpfjhFrXNNFLPetWTxsTDJBzEWC88TAgkSDqIEJclhJwW+t3zdGUofy6fFwmGkMSFmriuT+2XkPr/zSEu7pTOTI= X-Received: by 2002:a37:2121:: with SMTP id h33-v6mr13722836qkh.319.1532906665757; Sun, 29 Jul 2018 16:24:25 -0700 (PDT) MIME-Version: 1.0 References: <1357421162.31089.1531812291583@webmail.strato.de> <1c323544b3076c0ab31b887d6113f25f572e41ae.camel@coverfire.com> <87woth28rw.fsf@toke.dk> <87tvol1z6h.fsf@toke.dk> <87wotfzql8.fsf@toke.dk> In-Reply-To: From: Dave Taht Date: Sun, 29 Jul 2018 16:24:14 -0700 Message-ID: To: Pete Heist Cc: =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= , Cake List 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: Sun, 29 Jul 2018 23:24:26 -0000 On Sat, Jul 28, 2018 at 10:38 AM Pete Heist wrote: > > > On Jul 28, 2018, at 10:56 AM, Toke H=C3=B8iland-J=C3=B8rgensen 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 e= ntirely missed: https://lists.bufferbloat.net/pipermail/cake/2018-May/00381= 1.html > > George posted an example of assigning packets to a tin: https://lists.buf= ferbloat.net/pipermail/cake/2018-May/003809.html > > How does one send packets to a specific flow / queue? > > This wouldn=E2=80=99t give both per-member and per-flow fairness, but at = least per-member fairness might be possible. There are 1024(?) queues avail= able and 800 members, so I=E2=80=99m just speculating that I could map memb= ers to a number from 0 to 800 (active member IDs packed and zero-based woul= d work) and assign each member to their own flow. Thanks... :) your typical cable modem segment is x.y.z.u/22 - in other words they only manage 1024 subscribers per segment also. So... the birthday problem only rears its head in the real world, when you have small values, like 4. above 32 it increasingly doesn't matter. We did a lot of successful ns2 tests of fq_codel with 16,32 flows settings (in the hope it would ease a hardware design). So, instead of trying to use up one veth with 800 subscribers, use 800/per cpu you have. Perhaps. > _______________________________________________ > Cake mailing list > Cake@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cake --=20 Dave T=C3=A4ht CEO, TekLibre, LLC http://www.teklibre.com Tel: 1-669-226-2619