From: Neil Shepperd <nshepperd@gmail.com>
To: Andy Furniss <adf.lists@gmail.com>,
Jonathan Morton <chromatix99@gmail.com>,
Dendari Marini <dendari92@gmail.com>
Cc: cake@lists.bufferbloat.net
Subject: Re: [Cake] Getting Cake to work better with Steam and similar applications
Date: Tue, 25 Apr 2017 21:16:41 +0000 [thread overview]
Message-ID: <CAFnvbVPmBuhYir59Gqy56ZHeb84AnxSumpWzGsDr5co2dy47Gw@mail.gmail.com> (raw)
In-Reply-To: <7ac3ea6a-885c-f7a0-e01f-a824e0656e15@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3842 bytes --]
Um, I wasn't sure if I should mention it, because it doesn't seem like it
should be able to cause these kinds of issues. But, if you're using steam *on
linux*, there's a known bug where it makes hundreds (thousands?) of DNS
queries per second, during downloads, which can cause issues if the DNS
server on your router starts throttling. I don't know how or if that should
affect the apparent performance of cake in different tests. But the
workaround is to have a local DNS cache like dnsmasq on your host (and of
course it's not an issue on Windows machines).
On Tue, 25 Apr 2017 at 17:06 Andy Furniss <adf.lists@gmail.com> wrote:
> Jonathan Morton wrote:
> >
> >> On 25 Apr, 2017, at 21:22, Dendari Marini <dendari92@gmail.com>
> >> wrote:
> >>
> >> 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)?
> >
> > As noted, it’s far more difficult to control latency from downstream
> > of a bottleneck link. If a bulk sender decides to send burstily,
> > those bursts will always collect in the dumb queue at the far end and
> > delay other traffic. The only true solution is to install a smart
> > queue at the upstream end - but that’s not under your control.
> >
> > You may see some improvement from wholesale reducing the inbound
> > bandwidth, to say 10Mbit. This is especially true given the high
> > asymmetry of your connection, which might require dropped acks
> > upstream to keep filled downstream - and dropped acks will tend to
> > increase burstiness of sending on unpaced senders.
> >
> > You should also try to ensure ECN is fully enabled on your LAN hosts,
> > especially the ones running Steam. This will help to reduce
> > retransmissions and loss-recovery cycles.
>
> Yea, good idea - hopefully steam servers will honor that.
>
> Plus remember what I said about raw - you have an upstream fail case
> with sacks - also see below.
>
> I just looked at a tcpdump I made last night doing a steam d/l, mainly
> to see if I got servers in the list from the steam link posted, I did.
>
> The other stand out thing is there are far more sacks than I would
> normally expect to see.
>
> tcpdump -nnr steam2.pcap src host 192.168.0.224 | grep "sack" | wc -l
> reading from file steam2.pcap, link-type EN10MB (Ethernet)
> 28298
>
> tcpdump -nnr steam2.pcap src host 192.168.0.224 | wc -l
> reading from file steam2.pcap, link-type EN10MB (Ethernet)
> 44094
>
> incoming count -
>
> tcpdump -nnr steam2.pcap dst host 192.168.0.224 | wc -l
> reading from file steam2.pcap, link-type EN10MB (Ethernet)
> 59319
>
> That's a crazy amount especially as being in recovery means ack per packet.
>
> My connection is quite different from the OPs of course, ptm 66 meg sync
> with cake at 60mbit for this test and the pcap was only over 12 seconds.
> The servers are only 8ms away from me, 5 connections.
>
> I wonder if they are using bbr or something.
> _______________________________________________
> Cake mailing list
> Cake@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/cake
>
[-- Attachment #2: Type: text/html, Size: 4669 bytes --]
next prev parent reply other threads:[~2017-04-25 21:16 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
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 [this message]
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=CAFnvbVPmBuhYir59Gqy56ZHeb84AnxSumpWzGsDr5co2dy47Gw@mail.gmail.com \
--to=nshepperd@gmail.com \
--cc=adf.lists@gmail.com \
--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