From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) (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 676B13BA8E for ; Sat, 28 Jul 2018 13:38:00 -0400 (EDT) Received: by mail-wr1-x42f.google.com with SMTP id h9-v6so8268396wro.3 for ; Sat, 28 Jul 2018 10:38:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heistp.net; s=google; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=Rc8+LRUwQ9EZZPFrlf+Kq2cAX6bnNpmOAgfzjVnSue4=; b=Tpkz6U4xX3YL0NhF+ZMV2pSkjrhK8N6Ug0D3w1Odb9UQYO542Hrx1OpdzKCx6jcZyH XfN5adtbhmIiazYDQU2WQafcuqLE5UMeUqKPNYLK+R1al1IMablV7lLCgTN19qDKPiiC Tn7KwcOPKMYU/lJ95UJo1Yk6fDdnZ0pmMsL+JPWjhkTNNQnyGp9qRQscKecYET06uYhV tTgH5q6qLsgqedIbbupiPYp+IYDRi/8a96V7PA1bkWYbqaSa6jVyuV4I+rf+p2zdpPXn 7ov4j7sTGSjqYVJ8j4Tr1xG6zUWKahcJJZTAtSVZFUxoM8fYdYXWkZoY+610hzuPd14R w6KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=Rc8+LRUwQ9EZZPFrlf+Kq2cAX6bnNpmOAgfzjVnSue4=; b=nK25lSkP9DsjpboXnXIphBbW/4qJALQ//4plRRqVCTIz0BR5eAmf4o5r+6ZNmsn9K4 yRYflYP73TREa3EZRyUKq2BDwY8QRlgC4USa4i2K3VLXc/0RZc5JwlC/k+VPrvb21nme fbsJhjU3lmNPVC1DQG7Db8nD/FN1cd/T6ZJ9yxyqDnsofBKZJglbC+IAh8dB9/g0W8lm +9my2NLZtqwOwUdHoSUrnIINwYiHIUxAaNQL572HbuQ/wDZO1v6uyyuMjqBTI6vCv+8o npPHBgTMIfcjLQmk+jsPJwwJjp/HD1WZ/DPvVaQw0Lv+ELURsFxLM1LiJQqu3/9Z7EsG lc0w== X-Gm-Message-State: AOUpUlHEGNAWNOf8heB2FHHGmAJpT2daUyLl5go0JHzt/aGMzHEOENsT Whul/lB/7e8L2um5iv8mDNMGj9+N8HM= X-Google-Smtp-Source: AAOMgpei/pb5unBfJtBbwMt/6VnMTinZwbK7H2OqWF5b4NOPGdpLG9WdYPTlxhoSzHUveGOOb6//HQ== X-Received: by 2002:adf:e491:: with SMTP id i17-v6mr10373598wrm.145.1532799479510; Sat, 28 Jul 2018 10:37:59 -0700 (PDT) Received: from tron.luk.heistp.net (h-1169.lbcfree.net. [185.193.85.130]) by smtp.gmail.com with ESMTPSA id r1-v6sm7549292wrs.39.2018.07.28.10.37.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Jul 2018 10:37:58 -0700 (PDT) From: Pete Heist Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_631D212C-B434-4F9F-8739-44005A064246" Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Date: Sat, 28 Jul 2018 19:37:57 +0200 In-Reply-To: <87wotfzql8.fsf@toke.dk> Cc: Cake List To: =?utf-8?Q?Toke_H=C3=B8iland-J=C3=B8rgensen?= References: <1357421162.31089.1531812291583@webmail.strato.de> <1c323544b3076c0ab31b887d6113f25f572e41ae.camel@coverfire.com> <87woth28rw.fsf@toke.dk> <87tvol1z6h.fsf@toke.dk> <87wotfzql8.fsf@toke.dk> X-Mailer: Apple Mail (2.3445.9.1) 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: Sat, 28 Jul 2018 17:38:00 -0000 --Apple-Mail=_631D212C-B434-4F9F-8739-44005A064246 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jul 28, 2018, at 10:56 AM, Toke H=C3=B8iland-J=C3=B8rgensen = wrote: >=20 > 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? 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 = available and 800 members, so I=E2=80=99m 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... :) --Apple-Mail=_631D212C-B434-4F9F-8739-44005A064246 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
On = Jul 28, 2018, at 10:56 AM, Toke H=C3=B8iland-J=C3=B8rgensen <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.ht= ml

George posted an example of = assigning packets to a tin: https://lists.bufferbloat.net/pipermail/cake/2018-May/003809.ht= ml

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 = available and 800 members, so I=E2=80=99m 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... :)

= --Apple-Mail=_631D212C-B434-4F9F-8739-44005A064246--