From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-x22f.google.com (mail-lf0-x22f.google.com [IPv6:2a00:1450:4010:c07::22f]) (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 A76DC3B25E for ; Wed, 1 Jun 2016 09:51:35 -0400 (EDT) Received: by mail-lf0-x22f.google.com with SMTP id w16so13329858lfd.2 for ; Wed, 01 Jun 2016 06:51:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=i6CgRlTqDxUh35uUtmi4oAwF9ToJSiRU9yevauXgHnI=; b=DdWFk/YmtJiqwVANv3rwnRGCOMowqRPiMIGE+zUstUxht/mQ62SMqRQ9zdm4vo9Tw+ 0a7FBb+YAj24OM38ONRsN//N0Sy4GccyptUir23bYb84zzPYqeyUuTK95ZAOjhXBpAll cJ7mJQgeA+uaO5ZW/I5A/05RM/C7Vja31seoSYkxpKZZeehMAOmDsYGD/ryQUeEqvaDa 0Rsw4lunG1iY68EojkWY/VgfhO9/goYFPLamqQm9ZCUTqln58153e2PEn42zbM+HxG/8 vITG2McUrMN2Gb6ZlWBURMX/50953clI57O2JV50qxbzlghTlOjzOXoQ33/J3rQZu7bs ksSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=i6CgRlTqDxUh35uUtmi4oAwF9ToJSiRU9yevauXgHnI=; b=BMDn5CjimO3cUeCqFRsf2KB9i1xpCC4uIajvinqZafKvMzC+Y7/TBb/CojKtV3LsHn kNBTlOg4Bz0+Ok9b0Oomv6EtHudkUKWrkg93dlSrs7EXWAY21vHDJLer6IK4ZOQJLwSf uHIobJFoeLp8NktfLMkdj3JPgbkbufRdPf3mZz8aEM+f6/EWt/J7qOV4+48urp6B+hod IgEYNXZBVnByur+Uho1g0oCQ9QHrcHCB87rBNvsY8SlpnnE8q4En2xY4HFdiX4w+0WsI ZHUcjdPUWAQuIOBZVGQt6WNlR83Vv60C3PGRhucdGTmiP7UDln9/7LvLZG8jXTGy9qLy Owtg== X-Gm-Message-State: ALyK8tIR/Qz2MSfH/2qcj4XphPwfRgDLXdaL15XsDt8umxs9b5epHWxkkKpi5t0LmxZ4+A== X-Received: by 10.25.210.205 with SMTP id j196mr1628650lfg.139.1464789093364; Wed, 01 Jun 2016 06:51:33 -0700 (PDT) Received: from [192.168.100.11] (37-33-56-85.bb.dnainternet.fi. [37.33.56.85]) by smtp.gmail.com with ESMTPSA id b6sm5798253lbv.39.2016.06.01.06.51.32 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Jun 2016 06:51:32 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) From: Jonathan Morton In-Reply-To: Date: Wed, 1 Jun 2016 16:51:29 +0300 Cc: Sebastian Moeller , cake@lists.bufferbloat.net Content-Transfer-Encoding: quoted-printable Message-Id: <54AE2960-D312-479D-8411-96993F087EF7@gmail.com> References: <574EB29B.1000405@darbyshire-bryant.me.uk> <574EB550.5020005@taht.net> <574EB6E2.2020006@darbyshire-bryant.me.uk> <4DDB6EED-A66B-4E34-B233-8DC55F663EBD@gmx.de> <87shwxb1fk.fsf@toke.dk> <574ECB5E.7090605@darbyshire-bryant.me.uk> <0026A232-9D17-40FD-83A4-8575C6FFB8C3@gmx.de> To: Benjamin Cronce X-Mailer: Apple Mail (2.3124) Subject: Re: [Cake] [lede-project/source] Add support for cake qdisc (#72) 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: Wed, 01 Jun 2016 13:51:35 -0000 > On 1 Jun, 2016, at 15:25, Benjamin Cronce wrote: >=20 > 1) Ideally, regardless of platform, should an AQM or scheduler have = the responsibility of changing anything other than ECN? This was in part my original objection to having the squash/wash feature = in Cake. The other part is that if we are going to rewrite the rest of the TOS = byte (not just the ECN bits), then we should do it properly, which = requires a rather substantial extension to the configuration API, even = if we only try to cover the most obvious use-cases. This would then be a =E2=80=9Csemi proprietary=E2=80=9D DSCP = configurator, acting independently of Cake=E2=80=99s core AQM and = shaping functions, which would have to be duplicated in other AQMs which = had similar aims to Cake. That=E2=80=99s not a good thing, and feeds = back into the first point. Hence the correct solution is to put DSCP rewriting elsewhere, making it = reusable. In Linux, doing ingress DSCP rewriting before it hits the ingress qdisc = presently requires the rewriter itself to be a qdisc, but this can have = Cake as a child qdisc. For the simple =E2=80=9Cclearing=E2=80=9D case = iptables can be used instead, as long as Cake is configured to ignore = the inbound DSCP using the =E2=80=9Cbesteffort=E2=80=9D flag. - Jonathan Morton