Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
From: Y <intruder_tkyf@yahoo.fr>
To: cake@lists.bufferbloat.net
Subject: Re: [Cake] Cake, low speed ADSL & fwmark
Date: Tue, 28 Jul 2020 23:52:32 +0900	[thread overview]
Message-ID: <9fc635d1-6ba3-64a3-74ff-a279e4039e10@yahoo.fr> (raw)
In-Reply-To: <CAD9MmSc54e2NaVnqAVSw8Nk2MbdFr0OFXtT4RC2TUKuDcg0_PA@mail.gmail.com>

Hi,all

My situation is/was similer.
I prefer to use cake because it costs lower cpu time than htb + fq_codel.

tc qdisc add root dev eth0 cake bandwidth 810kbit pppoa-vcmux diffserv4 
ack-filter-aggressive dual-srchost

pi@raspberrypi:~ $ tc -s qdisc show dev eth0
qdisc cake 8023: root refcnt 2 bandwidth 810Kbit diffserv4 dual-srchost 
nonat nowash ack-filter-aggressive split-gso rtt 100.0ms atm overhead 10
  Sent 18265833249 bytes 23590044 pkt (dropped 7172987, overlimits 
53950415 requeues 11)
  backlog 1444b 1p requeues 11
  memory used: 130147b of 4Mb
  capacity estimate: 810Kbit
  min/max network layer size:           30 /    1478
  min/max overhead-adjusted size:       53 /    1643
  average network hdr offset:           14

                    Bulk  Best Effort        Video        Voice
   thresh       50624bit      810Kbit      405Kbit    202496bit
   target        356.5ms       22.3ms       44.6ms       89.1ms
   interval      713.0ms      117.3ms      139.6ms      184.1ms
   pk_delay       62.6ms      132.6ms       13.8ms       86.4ms
   av_delay        9.0ms       42.3ms        7.2ms       14.8ms
   sp_delay        1.3ms        5.5ms        981us        3.6ms
   backlog            0b        1444b           0b           0b
   pkts              369     30744151         8116        10396
   bytes           19926  23924477414       438264      5958198
   way_inds            0      6553855            4            1
   way_miss          250      1048934         4749          205
   way_cols            0            0            0            0
   drops               0      4430387            0            0
   marks               0         7611            0            0
   ack_drop            0      2742600            0            0
   sp_flows            1            4            1            1
   bk_flows            0            2            0            0
   un_flows            0            0            0            0
   max_len            54         2984           54          590
   quantum           300          300          300          300



On 28/07/2020 06:41, Jim Geo wrote:
> Hello,
> 
> Thank you for all the efforts you have done to make internet usable.
> 
> I currently use htb & fq_codel in my low speed ADSL 6Mbps downlink/1 
> Mbps uplink. I use fwmark to control both uplink and downlink with good 
> results in terms of bandwidth allocation. Streaming video is chopping 
> bulk traffic successfully.
> 
> Is setting up cake worth the effort at such low speeds? Would it reduce 
> latency?
> 
> Regarding fwmark can you please elaborate more on the calculations 
> performed? Man page is not that helpful.
> 
> My understanding is this:
> 
> I use 1,2,3,4 as marks of traffic.
> If I set the mask to 0xffffff[..] the marks will remain unchanged. Then 
> right shifting will occur for the unset bits, so they will land on tins
> 1,1,3,1
> 
> Can you please correct me? If logical and performed between mask and 
> mark value?
> 
> Thanks,
> Jim
> 
> 
> 
> _______________________________________________
> Cake mailing list
> Cake@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cake
> 

      parent reply	other threads:[~2020-07-28 14:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-27 21:41 Jim Geo
2020-07-27 22:46 ` Jonathan Morton
2020-07-28 16:51   ` Jim Geo
2020-07-28 16:54     ` Jonathan Morton
2020-07-28 16:56     ` Toke Høiland-Jørgensen
2020-07-28 14:52 ` Y [this message]

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=9fc635d1-6ba3-64a3-74ff-a279e4039e10@yahoo.fr \
    --to=intruder_tkyf@yahoo.fr \
    --cc=cake@lists.bufferbloat.net \
    /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