From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) (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 4D56A3B29D for ; Wed, 27 Jan 2021 00:19:31 -0500 (EST) Received: by mail-io1-xd30.google.com with SMTP id d81so689053iof.3 for ; Tue, 26 Jan 2021 21:19:31 -0800 (PST) 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=nIR7RExn6Fm1nZVhcYeLgPsGGHRdipvGau74YsteX6c=; b=Uj9VHBM5r/9YWou2vNejFXse1wcxfJb9XDZXxEtdl2WCRJSPLVt4IUugyCOaCmNwZt 4+lyAk0wjmas7kxGqDA++MtrDu9Li9ZYkAAPLjO6r6pXb5RsGC+db6IvmS3ANvNSolrL 6MF0zgUEjm8U24osA9FGgRAlMDF/NniXF+6I+6AvviO8wFeVWo9TzjHGYReHS4MDXWcG xBRVID672YiwJJyiOCP+S3RAJ8tlf3qn/mJRAsJgHzKHX3Cldx5erxv3O1k0BrL8XbyC KXvqsBaYpax2JrFKwaVimO0WQ0wpZxjsYWYG5R96AssczBktvb8kW6zWNKoOuPopJ+11 PQzQ== 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=nIR7RExn6Fm1nZVhcYeLgPsGGHRdipvGau74YsteX6c=; b=uKhQKHx8rrAYUdyiixzNWCU41qBu2p+uH2Dbl6LfoB+7KMSCSh1qOuFJX7Qch/Pofh SejuCjrNA1UW4LpHx3X9RAsB9b5coXu0m5R7WcdP0kzsTiBmylFLyvIX61mzhQj0Cxjz Nmxh7VwSNBE+zHM8f2AuWMTbmHp+d+6zJ+hQBuse7o6HTjg4I5FN97ME9N7fOt/WApGa TmrItPr+P9JfesOAwXVHzVbg7xqKj2b4MObGHY3hombqgsrNf2sxpYSL1Ie++q14rPWe uzXV88kKHwUVHBGnw/ZfuD5kEzd6ESDqpLo9jthEsev1AeN3Z9OlUB0rQOgSsNq+rlVV CMMw== X-Gm-Message-State: AOAM531fDtr5aNaoe+lhtBb1eIsjyAFN1yjDSJGAVSVWbDYbVBXcMpwK 45YShl5tldYQ4PMHH984nuymdPoVr1pSaIl/wUA= X-Google-Smtp-Source: ABdhPJydG+mhwuR7wJpK1a3jFbDae9kWUYo+Wyct++flDOsksKmqoGZHQSEpGS1nm5DAnC5oSjWwiXj8hsGRlfXT5wk= X-Received: by 2002:a05:6602:1d4:: with SMTP id w20mr6581393iot.25.1611724770570; Tue, 26 Jan 2021 21:19:30 -0800 (PST) MIME-Version: 1.0 References: <005701d6f442$6d620e90$48262bb0$@gmail.com> In-Reply-To: <005701d6f442$6d620e90$48262bb0$@gmail.com> From: Dave Taht Date: Tue, 26 Jan 2021 21:19:19 -0800 Message-ID: To: jmarks2@gmail.com Cc: Cake List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [Cake] Trouble getting decent performance with CAKE 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, 27 Jan 2021 05:19:31 -0000 As much as I like to get the fustest with the mostest with the rrul test, it is often easier to test up and down separately. do : tc qdisc delete ifb0 root tc qdisc delete eth0 root I am not sure what imq is being used for.... Can you share the output of tc -s instead? a simple upload test would then be: (unless you made cake the default) flent -t pfifo_fast -H wherever --socket-stats -x --te=3Dupload_streams=3D4= tcp_nup tc qdisc add dev eth0 root cake all_your_options flent -t cake -H wherever --socket-stats -x --te=3Dupload_streams=3D4 tcp_n= up the download setting up tc mirred I assume you are doing with sqm? Do that. flent -t -H wherever --socket-stats -x --te=3Ddownload_streams=3D4 tcp_ndow= n then send tc -s It's entirely feasible your so-called 100mbit service is running at far far less than 100mbit in the first place. Another thing to check is if your modem is connecting to the device at 100Mbit or a gbit. SOME - not enough - dsl modems actually connect at 100Mbit and/or joy of joys excert hw flow control. 95Mbit is gonna be slightly too high in former case for cake to control things, try 92mbit, or less. On Tue, Jan 26, 2021 at 4:22 PM wrote: > > Dear CAKE experts, > > I write for your help in getting CAKE to perform on my router as I unders= tand it should. > > > > I replaced my aging Asus home router with a Ubiquiti Edgerouter 4 specifi= cally so I could take advantage of the port of CAKE to it. > > > > I am in the US, with VDSL2 service provided by AT&T at 100/20. I now have= all unfiltered traffic delivered by the AT&T modem to the eth0 port on the= router. > > > > My desktop runs Windows. So, to take advantage of flent to quantify CAKE = performance, I stood up a Linux Mint VM and ran flent rrul tests before CAK= E installation, and after. > > > > The first attached datafile, labeled qdisc pfifo fast, is the performance= before CAKE. The other file, called 20/95 ack filtered bridged ptm, is my = latest attempt with configuring CAKE flags. > > My major issue is with Ingress. Egress seems fine. > > For ingress, I see very little difference between performances with and w= ithout CAKE. And the overall throughput is far less than 100 mbit. > > > > The queuing disciplines on the router are: > > > > jeremymarks@ubnt:~$ sudo tc qdisc show > > > > qdisc cake 1: dev eth0 root refcnt 2 bandwidth 20Mbit besteffort dual-src= host nat nowash ack-filter split-gso rtt 100.0ms ptm overhead 22 no-sce > > qdisc ingress ffff: dev eth0 parent ffff:fff1 ---------------- > > qdisc pfifo_fast 0: dev imq0 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0= 0 1 1 1 1 1 1 1 1 > > qdisc cake 2: dev ifb0 root refcnt 2 bandwidth 95Mbit besteffort dual-dst= host nat nowash ingress ack-filter split-gso rtt 100.0ms ptm overhead 22 no= -sce > > > > I must be making a major mistake in configuring CAKE. > > > > I would be grateful for any help or advice in getting this amazing progra= m to work as it should. > > > > Many thanks for any help. > > Jeremy > > > > > > _______________________________________________ > Cake mailing list > Cake@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cake --=20 "For a successful technology, reality must take precedence over public relations, for Mother Nature cannot be fooled" - Richard Feynman dave@taht.net CTO, TekLibre, LLC Tel: 1-831-435-0729