Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
From: Dave Taht <dave.taht@gmail.com>
To: jmarks2@gmail.com
Cc: Cake List <cake@lists.bufferbloat.net>
Subject: Re: [Cake] Trouble getting decent performance with CAKE
Date: Tue, 26 Jan 2021 21:19:19 -0800	[thread overview]
Message-ID: <CAA93jw45ALZ0u=QySvg_gyCgm7sLo7TC_-1sYE2ODqBB7ufLcA@mail.gmail.com> (raw)
In-Reply-To: <005701d6f442$6d620e90$48262bb0$@gmail.com>

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=upload_streams=4 tcp_nup

tc qdisc add dev eth0 root cake all_your_options

flent -t cake -H wherever --socket-stats -x --te=upload_streams=4 tcp_nup

the download setting up tc mirred I assume you are doing with sqm? Do that.

flent -t -H wherever --socket-stats -x --te=download_streams=4 tcp_ndown

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 <jmarks2@gmail.com> wrote:
>
> Dear CAKE experts,
>
> I write for your help in getting CAKE to perform on my router as I understand it should.
>
>
>
> I replaced my aging Asus home router with a Ubiquiti Edgerouter 4 specifically 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 CAKE 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 without 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-srchost 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-dsthost 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 program to work as it should.
>
>
>
> Many thanks for any help.
>
> Jeremy
>
>
>
>
>
> _______________________________________________
> Cake mailing list
> Cake@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cake



-- 
"For a successful technology, reality must take precedence over public
relations, for Mother Nature cannot be fooled" - Richard Feynman

dave@taht.net <Dave Täht> CTO, TekLibre, LLC Tel: 1-831-435-0729

  parent reply	other threads:[~2021-01-27  5:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-27  0:21 jmarks2
2021-01-27  2:04 ` xnor
2021-01-27  5:19 ` Dave Taht [this message]
2021-01-27 17:49   ` jmarks2
2021-01-27 17:51     ` Dave Taht
2021-01-27 18:25       ` Jeremy Marks
2021-01-28 17:17         ` xnor
     [not found]           ` <00ba01d6f5a1$450d07f0$cf2717d0$@gmail.com>
2021-01-28 22:00             ` xnor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/cake.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAA93jw45ALZ0u=QySvg_gyCgm7sLo7TC_-1sYE2ODqBB7ufLcA@mail.gmail.com' \
    --to=dave.taht@gmail.com \
    --cc=cake@lists.bufferbloat.net \
    --cc=jmarks2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox