[Cake] Cake, low speed ADSL & fwmark
Y
intruder_tkyf at yahoo.fr
Tue Jul 28 10:52:32 EDT 2020
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 at 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 at lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cake
>
More information about the Cake
mailing list