Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
From: Dendari Marini <dendari92@gmail.com>
To: Andy Furniss <adf.lists@gmail.com>
Cc: Sebastian Moeller <moeller0@gmx.de>, cake@lists.bufferbloat.net
Subject: Re: [Cake] Getting Cake to work better with Steam and similar applications
Date: Tue, 25 Apr 2017 20:22:26 +0200	[thread overview]
Message-ID: <CANCX+3MgboG1rsE578+QY54_9e+PJ+c_u5wOfnGPDujjP1hXqw@mail.gmail.com> (raw)
In-Reply-To: <3fbfd0ee-7b41-0f83-8b44-ce7eed6a0562@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2761 bytes --]

Hello,

Some good news and some bad news.

The good news is that using switch0 as inbound and pppoe0 as outbound
works, and I was able to set up Steam as bulk using the interface on the
ER-X (used DSCP 8 and used a custom DPI category). I confirmed this was
working by looking at the bulk traffic increasing (using the "tc -s qdisc"
command) and by starting another download (Steam gets pretty much nothing
in this case).

The bad news is this isn't enough to fix my gaming issue (still having ping
spikes, latency variation and packet loss), and even using it with Steam
configured to use just one connection didn't change much from my previous
testing.

So I'm  really confused :\
What could cause ping spikes in this case (assuming the multiple
connections aren't the issue)?

On 25 April 2017 at 14:58, Andy Furniss <adf.lists@gmail.com> wrote:

> Dendari Marini wrote:
>
> Also I have done some more testing, I was able to limit Steam connections
>> just to one thanks to some console commands ("@cMaxContentServersToRequest"
>> and
>> "@cCSClientMaxNumSocketsPerHost") and while the situation improved
>> (no more packet loss, latency variation within 10ms, but still seeing
>> ping spikes of ~50ms) it's still not what I'd consider ideal, which
>> would be like with any other download. So my guess is there's
>> something else going on other than just the multiple connections,
>> which are definitely big part of the problem but not the only thing.
>>
>> Anyway these are my current settings for Cake and I've been using them
>> for the last four days without issues:
>>
>> *qdisc cake 8005: root refcnt 2 bandwidth 950Kbit diffserv3
>> triple-isolate nat wash rtt 100.0ms atm overhead 40 via-ethernet* *qdisc
>> cake 8006: root refcnt 2 bandwidth 17500Kbit diffserv3 triple-isolate nat
>> wash ingress rtt 100.0ms atm overhead 40 via-ethernet*
>>
>
> I still think that once via-ethernet appears you really need the raw
> parameter. On egress ppp it likely subtracts 22 bytes on ifb that is
> attached to ingress ppp 14 bytes.
> If you shape on real eth (eg. lan side) or ifb hooked from real eth then
> you shouldn't use raw.
>
> Thinking about it, mostly you will luck into it not making any
> difference, so the test I suggested earlier won't work. The reason being
> that whether the overhead is 40 or 40 - 22 an MTU sized packet or an
> empty ack/single sack will end up the same due to atm. sack > 1 will be
> wrong as of course will be other traffic of certain sizes, so a
> carefully crafted test would be needed to show the issue.
>
> Talking of acks/sacks 17500 vs 950kbit doesn't even have room for one
> sack per packet, though mostly there will be < 1 ack per packet.
>
> Depending on your sync rate 17500 may be too close for ingress.
>

[-- Attachment #2: Type: text/html, Size: 3464 bytes --]

  reply	other threads:[~2017-04-25 18:22 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
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 [this message]
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=CANCX+3MgboG1rsE578+QY54_9e+PJ+c_u5wOfnGPDujjP1hXqw@mail.gmail.com \
    --to=dendari92@gmail.com \
    --cc=adf.lists@gmail.com \
    --cc=cake@lists.bufferbloat.net \
    --cc=moeller0@gmx.de \
    /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