General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: Sebastian Moeller <moeller0@gmx.de>
To: "Toke Høiland-Jørgensen" <toke@toke.dk>
Cc: Kenneth Porter <shiva@sewingwitch.com>,
	Bufferbloat Mailing List <bloat@lists.bufferbloat.net>
Subject: Re: [Bloat] Why you need at least 3Mbps upload to get good game performance with ~1500byte packets: Doing the math
Date: Wed, 9 Dec 2020 12:06:03 +0100	[thread overview]
Message-ID: <472E7038-DC03-4A54-97BC-49999B78B343@gmx.de> (raw)
In-Reply-To: <877dprp7z3.fsf@toke.dk>

Hi Toke,


> On Dec 9, 2020, at 11:52, Toke Høiland-Jørgensen via Bloat <bloat@lists.bufferbloat.net> wrote:
> 
> Kenneth Porter <shiva@sewingwitch.com> writes:
> 
>> <https://forum.openwrt.org/t/why-you-need-at-least-3mbps-upload-to-get-good-game-performance-with-1500byte-packets-doing-the-math/81240>
>> 
>> Upstream article:
>> 
>> <http://models.street-artists.org/2020/12/05/why-gaming-on-a-dsl-line-is-terrible-and-the-math-says-theres-nothing-you-can-do-about-it/>
> 
> Good points, but doesn't mention options to decrease the packet size
> (lower MTU/MSS clamping)... :)

	But he is doing exactly that in the script he developed for OpenWrt games on poor links:

https://github.com/dlakelan/routerperf/blob/master/SimpleHFSCgamerscript.sh


    iptables -t mangle -F FORWARD # to flush the openwrt default MSS clamping rule
    if [ $UPRATE -lt 3000 ]; then
	ipt64 -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -o $LAN -j TCPMSS --set-mss 540
    fi
    if [ $DOWNRATE -lt 3000 ]; then
	## need to clamp MSS to 540 bytes in both directions to reduce
	## the latency increase caused by 1 packet ahead of us in the
	## queue since rates are too low to send 1500 byte packets at acceptable delay
	ipt64 -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -o $WAN -j TCPMSS --set-mss 540
    fi


We are actually trying to get something along that lines packaged as a script for sqm-scripts, but that is delayed since I need to fix some iptables stuff that seems to not work anymore first....


> 
> -Toke
> _______________________________________________
> Bloat mailing list
> Bloat@lists.bufferbloat.net
> https://lists.bufferbloat.net/listinfo/bloat


  reply	other threads:[~2020-12-09 11:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-09  3:20 Kenneth Porter
2020-12-09 10:52 ` Toke Høiland-Jørgensen
2020-12-09 11:06   ` Sebastian Moeller [this message]
2020-12-09 11:20     ` Toke Høiland-Jørgensen
2020-12-09 11:27       ` Sebastian Moeller
2020-12-09 12:17         ` Toke Høiland-Jørgensen

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/bloat.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=472E7038-DC03-4A54-97BC-49999B78B343@gmx.de \
    --to=moeller0@gmx.de \
    --cc=bloat@lists.bufferbloat.net \
    --cc=shiva@sewingwitch.com \
    --cc=toke@toke.dk \
    /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