Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
From: Sebastian Moeller <moeller0@gmx.de>
To: Dendari Marini <dendari92@gmail.com>
Cc: Jonathan Morton <chromatix99@gmail.com>, cake@lists.bufferbloat.net
Subject: Re: [Cake] Getting Cake to work better with Steam and similar applications
Date: Thu, 20 Apr 2017 20:35:34 +0200	[thread overview]
Message-ID: <B2BCA008-703E-48C8-A82E-7ACCBF8681AA@gmx.de> (raw)
In-Reply-To: <CANCX+3PnupS8NSfr1gscCg1_y82Lg+vYBqnHQ_Ys_UfCEo6DFw@mail.gmail.com>


> On Apr 20, 2017, at 18:05, Dendari Marini <dendari92@gmail.com> wrote:
> 
> Hello, thanks for your reply.
> 
> Looks like most of your options are okay, including the correct “dual” modes and “ingress” mode in the right place.  However, I think you need to adjust your bandwidth and overhead settings, otherwise Cake isn’t reliably in control of the bottleneck queues.  Try these to begin with:
> 
> … bandwidth 850Kbit conservative dual-srchost nat
> 
> … bandwidth 15Mbit conservative dual-dsthost nat ingress
> 
> That should give you correct operation, and you can fine-tune from there.
> 
> Just did quick test with your settings. First thing I noticed is my final download bandwidth is about 12Mbps, Steam on PC1 downloads at 1.4-1.5MB/s while downloading a file on PC2 seems to max out at ~250KB/s. From my understanding I should see each PC download at ~700KB/s, or am I mistaken?

Assuming you measured good put in [M|K]iBytes this adds up to  1.5+0.25 = 1.75 * 1024^2 * 8 = 14680064 Bits or (1.4+0.25) * 8 *1024^2 / 1000^2 = 13.84 Mbps which seems a bit high for a 16Mbps ADSL link. I would ecpext something like 16 * (48/53)  * ((1500 - 8 - 20 -20) / (1500 + 32)) = 13.73 Mbps TCP/IPv4 goodput… so you seem to be running close to theoretical maximum of your link (assuming I am not totally off with the overhead (estimated ADSL overhead on top of MTU: 6 destination MAC + 6 source MAC + 2 ethertype + 3 ATM LLC + 5 ATM SNAP + 2 ATM pad + 8 ATM AAL5 SAR 32 bytes). But with your shaper set at 15Mbps without the atm option you will actually accept up to 15 * (53/48) = 16.5625 Mbps on the wire, which probably is above your link bandwidth. This fits well with the really low number of drops in your cake stats, you simply never have cake feel that shaping is needed?

Best Regards




> 
> On 20 April 2017 at 17:32, Jonathan Morton <chromatix99@gmail.com> wrote:
> 
> > On 20 Apr, 2017, at 18:23, Dendari Marini <dendari92@gmail.com> wrote:
> >
> > > 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
> 
> > qdisc cake 8001: dev eth0 root refcnt 2 bandwidth 900Kbit diffserv3 dual-srchost nat rtt 100.0ms raw
> 
> > qdisc cake 8002: dev ifb4eth0 root refcnt 2 bandwidth 16Mbit diffserv3 dual-dsthost nat ingress rtt 100.0ms raw
> 
> Looks like most of your options are okay, including the correct “dual” modes and “ingress” mode in the right place.  However, I think you need to adjust your bandwidth and overhead settings, otherwise Cake isn’t reliably in control of the bottleneck queues.  Try these to begin with:
> 
> … bandwidth 850Kbit conservative dual-srchost nat
> 
> … bandwidth 15Mbit conservative dual-dsthost nat ingress
> 
> That should give you correct operation, and you can fine-tune from there.
> 
>  - Jonathan Morton
> 
> 
> 


  parent reply	other threads:[~2017-04-20 18:36 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-20 13:39 Dendari Marini
2017-04-20 13:43 ` Sebastian Moeller
2017-04-20 15:23   ` Dendari Marini
2017-04-20 15:32     ` Jonathan Morton
2017-04-20 16:05       ` Dendari Marini
2017-04-20 17:12         ` Andy Furniss
2017-04-20 17:36         ` Jonathan Morton
2017-04-20 18:35         ` Sebastian Moeller [this message]
2017-04-20 18:36         ` Sebastian Moeller
2017-04-21  8:34           ` Dendari Marini
2017-04-21 13:25             ` Sebastian Moeller
2017-04-21 13:27             ` Dendari Marini
2017-04-22  8:25               ` Dendari Marini
2017-04-22  9:36                 ` Jonathan Morton
2017-04-22 12:50                   ` xnoreq
2017-04-22 13:41                   ` Tristan Seligmann
2017-04-22 13:51                   ` Andy Furniss
2017-04-22 14:03                     ` Andy Furniss
2017-04-22 16:38                       ` Andy Furniss
2017-04-22 16:45                         ` Dave Taht
2017-04-22 17:00                           ` Tristan Seligmann
2017-04-22 20:24                         ` Andy Furniss
2017-04-22 16:47                   ` Sebastian Moeller
2017-04-22 21:56                     ` Dendari Marini
2017-04-22 22:15                       ` Sebastian Moeller
2017-04-23 12:32                         ` David Lang
2017-04-24  7:55                           ` Sebastian Moeller
2017-04-24  8:41                             ` Dendari Marini
2017-04-24 11:34                               ` Sebastian Moeller
2017-04-24 12:08                                 ` Dendari Marini
2017-04-24 12:35                                   ` Sebastian Moeller
2017-04-24 13:49                                     ` Dendari Marini
2017-04-24 15:42                                       ` Sebastian Moeller
2017-04-24 17:32                                       ` Sebastian Moeller
2017-04-25 10:26                               ` Andy Furniss
2017-04-25 11:24                                 ` Dendari Marini
2017-04-25 12:58                                   ` Andy Furniss
2017-04-25 18:22                                     ` Dendari Marini
2017-04-25 19:10                                       ` Jonathan Morton
2017-04-25 20:44                                         ` Dendari Marini
2017-04-25 21:32                                           ` Andy Furniss
2017-04-25 22:33                                           ` Benjamin Cronce
2017-04-28 15:37                                             ` Dendari Marini
2017-04-29 15:11                                               ` Andy Furniss
2017-04-29 17:30                                                 ` Jonathan Morton
2017-04-29 18:29                                                   ` Andy Furniss
2017-04-30  0:05                                                     ` Andy Furniss
2017-05-01  5:50                                                       ` Jonathan Morton
2017-05-01 11:32                                               ` Andy Furniss
2017-05-01 12:08                                                 ` Jonathan Morton
2017-05-01 13:03                                                   ` Andy Furniss
2017-05-01 13:11                                                     ` Jonathan Morton
2017-05-01 14:46                                                       ` Andy Furniss
2017-04-25 21:06                                         ` Andy Furniss
2017-04-25 21:16                                           ` Neil Shepperd
2017-04-25 21:37                                             ` Andy Furniss
2017-04-25 21:43                                     ` Sebastian Moeller
2017-04-25 22:06                                       ` Andy Furniss
2017-04-25 22:29                                         ` Andy Furniss
2017-04-25 22:32                                           ` Andy Furniss
2017-04-22 22:35                       ` Andy Furniss
2017-04-22 14:12                 ` Sebastian Moeller
2017-04-20 18:16     ` Sebastian Moeller

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=B2BCA008-703E-48C8-A82E-7ACCBF8681AA@gmx.de \
    --to=moeller0@gmx.de \
    --cc=cake@lists.bufferbloat.net \
    --cc=chromatix99@gmail.com \
    --cc=dendari92@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