[Cake] Getting Cake to work better with Steam and similar applications

Dendari Marini dendari92 at gmail.com
Thu Apr 20 11:23:02 EDT 2017


> Could you post the output of calling “tc -s qdisc” here on the list
please? That should allow to figure out what you actually told cake to do ;0


> /home/ubnt$ sudo tc -s qdisc
> qdisc pfifo_fast 0: dev switch0 root refcnt 2 bands 3 priomap  1 2 2 2 1 2
> 0 0 1 1 1 1 1 1 1 1
>  Sent 133387235 bytes 191612 pkt (dropped 0, overlimits 0 requeues 0)
>  backlog 0b 0p requeues 0
> 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
>  Sent 288 bytes 9 pkt (dropped 0, overlimits 0 requeues 0)
>  backlog 0b 0p requeues 0
> qdisc cake 8001: dev eth0 root refcnt 2 bandwidth 900Kbit diffserv3
> dual-srchost nat rtt 100.0ms raw
>  Sent 183589 bytes 1316 pkt (dropped 6, overlimits 627 requeues 0)
>  backlog 0b 0p requeues 0
>  memory used: 91392b of 4Mb
>  capacity estimate: 900Kbit
>                  Bulk   Best Effort      Voice
>   thresh      56248bit     900Kbit     225Kbit
>   target       323.0ms      20.2ms      80.7ms
>   interval     646.0ms     115.2ms     161.5ms
>   pk_delay         0us       7.8ms         4us
>   av_delay         0us       695us         0us
>   sp_delay         0us         5us         0us
>   pkts               0        1314           8
>   bytes              0      188234         336
>   way_inds           0           0           0
>   way_miss           0          98           1
>   way_cols           0           0           0
>   drops              0           6           0
>   marks              0           0           0
>   sp_flows           0           1           0
>   bk_flows           0           1           0
>   un_flows           0           0           0
>   max_len            0        1514          42
> qdisc ingress ffff: dev eth0 parent ffff:fff1 ----------------
>  Sent 1396868 bytes 1615 pkt (dropped 0, overlimits 0 requeues 0)
>  backlog 0b 0p requeues 0
> qdisc pfifo_fast 0: dev eth1 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0
> 0 1 1 1 1 1 1 1 1
>  Sent 822 bytes 13 pkt (dropped 0, overlimits 0 requeues 0)
>  backlog 0b 0p requeues 0
> qdisc pfifo_fast 0: dev eth2 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0
> 0 1 1 1 1 1 1 1 1
>  Sent 822 bytes 13 pkt (dropped 0, overlimits 0 requeues 0)
>  backlog 0b 0p requeues 0
> qdisc pfifo_fast 0: dev eth3 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0
> 0 1 1 1 1 1 1 1 1
>  Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
>  backlog 0b 0p requeues 0
> qdisc pfifo_fast 0: dev eth4 root refcnt 2 bands 3 priomap  1 2 2 2 1 2 0
> 0 1 1 1 1 1 1 1 1
>  Sent 822 bytes 13 pkt (dropped 0, overlimits 0 requeues 0)
>  backlog 0b 0p requeues 0
> qdisc pfifo_fast 0: dev pppoe0 root refcnt 2 bands 3 priomap  1 2 2 2 1 2
> 0 0 1 1 1 1 1 1 1 1
>  Sent 23509667 bytes 164606 pkt (dropped 0, overlimits 0 requeues 0)
>  backlog 0b 0p requeues 0
> qdisc cake 8002: dev ifb4eth0 root refcnt 2 bandwidth 16Mbit diffserv3
> dual-dsthost nat ingress rtt 100.0ms raw
>  Sent 1394936 bytes 1483 pkt (dropped 2, overlimits 1380 requeues 0)
>  backlog 0b 0p requeues 0
>  memory used: 47872b of 4Mb
>  capacity estimate: 16Mbit
>                  Bulk   Best Effort      Voice
>   thresh         1Mbit      16Mbit       4Mbit
>   target        18.2ms       5.0ms       5.0ms
>   interval     113.2ms     100.0ms      10.0ms
>   pk_delay         0us       979us         8us
>   av_delay         0us       277us         0us
>   sp_delay         0us         4us         0us
>   pkts               0        1479           6
>   bytes              0     1396354         360
>   way_inds           0           0           0
>   way_miss           0          76           1
>   way_cols           0           0           0
>   drops              0           2           0
>   marks              0           0           0
>   sp_flows           0           2           0
>   bk_flows           0           1           0
>   un_flows           0           0           0
>   max_len            0        1514          60


Sorry, the formatting isn't that great :\

And yeah I know my upload isn't that great either

On 20 April 2017 at 15:43, Sebastian Moeller <moeller0 at gmx.de> wrote:

> Hi,
>
> > On Apr 20, 2017, at 15:39, Dendari Marini <dendari92 at gmail.com> wrote:
> >
> > Hello,
> >
> > Not sure if this is the right place, just recently discovered about the
> bufferbloat issue, so I'm still learning new things every day.
> >
> > I bought an Ubiquiti EdgeRouter X just for this and for the most part
> the built-in Smart Queue (which uses fq_codel + HTB) works wonderfully but
> there are some applications which still give me issues.
> >
> > In particular I'm currently trying to resolve these issues with Steam,
> which doesn't seem to be affected much by the Smart Queue. Someone
> suggested to use Cake Cobalt, which I'm currently using, but I can't seem
> to get any better result.
> >
> > From my understanding I should at least get fairer per-host bandwidth,
> but when one PC is downloading with Steam the other will only receive ~15%
> of the total bandwidth.
>
>         Could you post the output of calling “tc -s qdisc” here on the
> list please? That should allow to figure out what you actually told cake to
> do ;0
>
>
> >
> > My connection isn't really fast (just 16/0.9 Mbitps ADSL)
>
>         That uplink is going to be painful no matter what.
>
> Best Regards
>
> > and I have only two PCs connected via ethernet to the EdgeRouter X plus
> a WiFi access point which is mainly used by smartphones. I haven't done any
> particular change to the ER-X so for the most is kinda stock.
> >
> > Any advice?
> > _______________________________________________
> > Cake mailing list
> > Cake at lists.bufferbloat.net
> > https://lists.bufferbloat.net/listinfo/cake
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.bufferbloat.net/pipermail/cake/attachments/20170420/f20af9cf/attachment.html>


More information about the Cake mailing list