From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) (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 1CDE53CB35 for ; Thu, 19 Jul 2018 12:25:20 -0400 (EDT) Received: by mail-pg1-x543.google.com with SMTP id f1-v6so4208683pgq.12 for ; Thu, 19 Jul 2018 09:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=OpV3SxhoX7kDDW3FKhLUEav8mFoi5vBjdFO7wYesNBA=; b=HPF9+N76L09an3CWWR/aHxFsFIa/fliLpK31+zM7LB4QBWunkWNldTHhBKyJi5GR2R 2XG8glKonYj0RnQx/0CBVUcSJ29oGbgAeb/vP7ApbSjLmI6lscDpLyb6s/fgJT5SPvwG tF5h3m68Du4cg6HT/+wxwImtbQMAET5Q/QgdyC5WJAF1qjljeh/fKi6D9ARg7NX5Bb/P D2HN0Kwn7F2rreDNqWR85bhM1I0OUH7fHEq25+Uj90gU2/XiSVndXyrhG2SbOj7NDsV8 3xwJ6MrL1oVLlT6DHiuHdDDM8o/HNVAwDP1VqY8iXwYfcJyeZ0uWRzcaTW1IOiMQcVCP zW4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=OpV3SxhoX7kDDW3FKhLUEav8mFoi5vBjdFO7wYesNBA=; b=D06XgrETBsuzFRJuPul8bVVZpVxmt2ojG1l1R2VKT7M7v0+6aPa/co+2J46/zCur8h 5lLxG1Jiwb4ve9/h6AR+RHS7S4u0ITAYgrbS1zulgaam2u5kM7EqAyKjGCEbvCk8tihR Acb9F4BKkzJZ5uMtuGOnwCeiT4tzA2WtEJaXrCNIon1DiJexFUl64ROXqw3gNr7Dnh+1 GK51Yz75r08ziV7r3YJ1mso0DIyJZsvjyZNkn0ZgGkbspxuTACTniGQD5XB68UFq7X5g K1EDfzWiZUgvzN0qZzJYLRJ4/6uCBLQqYd5fl6Dhu29Rgroy9GegCk8w91U50VQI5lHs E7SA== X-Gm-Message-State: AOUpUlGzZl+w3yxinOwfrX4ktq7O2yYSEb4zk3skH3YeWZUsOoV/QZAu KfkRqn5hR6papeFbPfn8gWk= X-Google-Smtp-Source: AAOMgpeKqpXcUrmQ/gnBoRyForYlDOhY96y0823LRViYOwCyL0kpNiPx6BQ4W31jg4iHkuitpExznQ== X-Received: by 2002:a62:ca0d:: with SMTP id n13-v6mr10099735pfg.69.1532017519326; Thu, 19 Jul 2018 09:25:19 -0700 (PDT) Received: from dsa-mb.local ([2601:282:800:fd80:41e6:c9c0:c223:a927]) by smtp.googlemail.com with ESMTPSA id s1-v6sm16378120pfj.53.2018.07.19.09.25.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jul 2018 09:25:18 -0700 (PDT) To: =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rgensen?= , netdev@vger.kernel.org Cc: cake@lists.bufferbloat.net, Dave Taht References: <20180719135617.31850-1-toke@toke.dk> From: David Ahern Message-ID: Date: Thu, 19 Jul 2018 10:25:17 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180719135617.31850-1-toke@toke.dk> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [Cake] [PATCH iproute2-next v11] Add support for CAKE qdisc 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: Thu, 19 Jul 2018 16:25:20 -0000 On 7/19/18 7:56 AM, Toke Høiland-Jørgensen wrote: > sch_cake is intended to squeeze the most bandwidth and latency out of even > the slowest ISP links and routers, while presenting an API simple enough > that even an ISP can configure it. > > Example of use on a cable ISP uplink: > > tc qdisc add dev eth0 cake bandwidth 20Mbit nat docsis ack-filter > > To shape a cable download link (ifb and tc-mirred setup elided) > > tc qdisc add dev ifb0 cake bandwidth 200mbit nat docsis ingress wash besteffort > > Cake is filled with: > > * A hybrid Codel/Blue AQM algorithm, "Cobalt", tied to an FQ_Codel > derived Flow Queuing system, which autoconfigures based on the bandwidth. > * A novel "triple-isolate" mode (the default) which balances per-host > and per-flow FQ even through NAT. > * An deficit based shaper, that can also be used in an unlimited mode. > * 8 way set associative hashing to reduce flow collisions to a minimum. > * A reasonable interpretation of various diffserv latency/loss tradeoffs. > * Support for zeroing diffserv markings for entering and exiting traffic. > * Support for interacting well with Docsis 3.0 shaper framing. > * Support for DSL framing types and shapers. > * Support for ack filtering. > * Extensive statistics for measuring, loss, ecn markings, latency variation. > > Various versions baking have been available as an out of tree build for > kernel versions going back to 3.10, as the embedded router world has been > running a few years behind mainline Linux. A stable version has been > generally available on lede-17.01 and later. > > sch_cake replaces a combination of iptables, tc filter, htb and fq_codel > in the sqm-scripts, with sane defaults and vastly simpler configuration. > > Cake's principal author is Jonathan Morton, with contributions from > Kevin Darbyshire-Bryant, Toke Høiland-Jørgensen, Sebastian Moeller, > Ryan Mounce, Tony Ambardar, Dean Scarff, Nils Andreas Svee, Dave Täht, > and Loganaden Velvindron. > > Testing from Pete Heist, Georgios Amanakis, and the many other members of > the cake@lists.bufferbloat.net mailing list. > > Signed-off-by: Dave Taht > Signed-off-by: Toke Høiland-Jørgensen > --- applied to iproute2-next. Thanks About the autorate, I think you should consider consistency in output.