From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::229]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 0B82D21F2E7 for ; Tue, 14 Apr 2015 03:13:37 -0700 (PDT) Received: by laat2 with SMTP id t2so3932949laa.1 for ; Tue, 14 Apr 2015 03:13:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=n4fqHR/rLU2xeoB7YHWhgH1kAw9jieABndEkrehyVGA=; b=jHxbF4KafvzJQxRUQapkIJXE+wTK3nImKRec1d+tN2u/7f5McROOghUQlTml0MVBy2 ZfQxhBFy3Dx2KGGM/r/wzyThme6QRopZU1ShgszSelpeYj22sHlHWpODxHoBoWbzV7cF aNB1zlPIegySTIHmgQwRBrPlo2uqyOyTGRtRuxlCCH0EX17+XdUwvSF8xq1N5BWpaNiQ kcn7BrXsznSE5VbG60Pd/gT16eb2NMuBzGrYHgQMQhtiE6mBy8fM1l0IVqSeQr2uskeh 8ODhAH2x+fDmAYmMKJht6NKfcdq0F4qgCpkf5ylw43NnbE7W/nU24MNKRy7+NFTFUh4D jQmw== X-Received: by 10.112.198.225 with SMTP id jf1mr16995659lbc.91.1429006415203; Tue, 14 Apr 2015 03:13:35 -0700 (PDT) Received: from bass.home.chromatix.fi (37-33-116-59.bb.dnainternet.fi. [37.33.116.59]) by mx.google.com with ESMTPSA id uj9sm123308lbb.38.2015.04.14.03.13.31 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 Apr 2015 03:13:34 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) From: Jonathan Morton In-Reply-To: <60B3F0CA-21B5-4E6E-B6F2-8BC679DE7558@gmx.de> Date: Tue, 14 Apr 2015 13:13:27 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <23954505-84F7-4708-9EAD-4233B2DEFE81@gmail.com> References: <68E872EE-C0D3-4091-97C9-19596BF98AEB@gmail.com> <1D75F7D7-4EA1-47CB-8CA0-51144C58857E@gmail.com> <60B3F0CA-21B5-4E6E-B6F2-8BC679DE7558@gmx.de> To: Sebastian Moeller X-Mailer: Apple Mail (2.2098) Cc: cake@lists.bufferbloat.net Subject: Re: [Cake] #17 X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Apr 2015 10:14:06 -0000 > On 13 Apr, 2015, at 17:45, Sebastian Moeller wrote: >=20 >> It could be refined by adding an additional, orthogonal setting for = non-cell framing overhead, which would be added before the cell-framing = calculation; this would allow adding the 8 bytes of PPPoE framing and/or = the 2 bytes of Ethernet VLAN tag, for people who want to get it exactly = right. =20 >=20 > I fully endorse this, actually this =93overhead=94 parameter should = work independent of the =93atm=94 flag (on my VDSL link I have 16 bytes = overhead that needs accounting on top of the ethernet header). For = non-atm carriers getting the per-packet overhead wrong is not as = terrible, but it will make the shaper suck with small packets=85 Well yes, that=92s what I meant by =93orthogonal=94. >> Whether these are simple, self-descriptive flags which can be = combined for the desired effect, or a numeric parameter which must be = set up, is open for discussion. >=20 > Have a look at = http://ace-host.stuart.id.au/russell/files/tc/tc-atm/ and = http://www.faqs.org/rfcs/rfc2684.html (neither of which deals with = potential VLAN tags between BRAS and Modem, that are =93invisible=94 to = packet captures as they never reach the endusers network, but still cost = bottleneck bandwidth); the whole encapsulation issue is a mess that will = most likely not lend it self to a small enumeration of encapsulations What I propose is that I add a numeric overhead parameter to cake=92s = configuration API, and then in iproute2 I can provide keywords as a more = user-friendly way of specifying the common cases, as well as offering = direct access to the numeric. So specifying =93pppoa vcmux=94 would be = shorthand for =93atm overhead 10=94, =93vdsl=94 would be shorthand for = =93noatm overhead 16=94, and =93raw=94 would allow reverting to an = unadjusted configuration, ie. =93noatm overhead 0". And it=92s easy to = retrospectively refine the behaviour of those keywords, because they=92re = in userspace. - Jonathan Morton