Help prioritizing games with alternative qdisc design

I have done to pass adsl with my fai i will test now for ly brother :grin::sweat_smile:

Ok so after reboot adress auto assigned why no wifi ethernet ... I have make static ip in my pc and interface is back

ok so before http://www.dslreports.com/speedtest/66585407

after http://www.dslreports.com/speedtest/66585544
what is wrong in my configuration ?? i don't understand

#!/bin/sh

## "atm" for old-school DSL or change to "DOCSIS" for cable modem, or
## "other" or anything else, for everything else

LINKTYPE="atm"

WAN=eth0.2 # change this to your WAN device name
UPRATE=708 #change this to your kbps upload speed
LAN=eth0.1
DOWNRATE=17000 #change this to about 80% of your download speed (in kbps)

if [ $((DOWNRATE*10/UPRATE > 100)) -eq 1 ]; then
    echo "We limit the downrate to at most 10x the upstream rate to ensure no upstream ACK floods occur which can cause game packet drops"
    DOWNRATE=$((10*UPRATE))
fi

## how many kbps of UDP upload and download do you need for your games
## across all gaming machines? 

## you can tune these yourself, but a good starting point is this
## formula.  this script will not work for UPRATE less than about
## 600kbps or downrate less than about 1000kbps

GAMEUP=$((UPRATE*15/100+400))
GAMEDOWN=$((DOWNRATE*15/100+400))

DSCPSCRIPT="/etc/dscptag.sh"

if [ ! -f $DSCPSCRIPT ]; then
    workdir=$(pwd)
    echo "You do not have the DSCP tagging script, downloading from github"
    cd /etc/
    wget https://raw.githubusercontent.com/dlakelan/routerperf/master/dscptag.sh
    cd $workdir
fi



## set this to "red" or if you want to differentiate between game
## packets into 3 different classes you can use either "drr" or "qfq"
## be aware not all machines will have drr or qfq available
## also qfq or drr require setting up tc filters!

gameqdisc="red"

if [ $gameqdisc != "red" ]; then
    echo "Other qdiscs are not tested and do not work on OpenWrt yet anyway, reverting to red"
    gameqdisc="red"
fi

GAMINGIPSET4="realtimeset4"
GAMINGIPSET6="realtimeset6"

## set up your ipsets here:

ipset del realtimeset4 > /dev/null 2>&1
ipset del realtimeset6 > /dev/null 2>&1
ipset create realtimeset4 hash:ip || echo "ERROR: could not create realtimeset4 do you have ipsets working?"
ipset create realtimeset6 hash:ip family inet6 || echo "ERROR: could not create realtimeset6 do you have ipsets working?"

## some examples to add your gaming devices to the realtime sets,
## allows you to have more than one console etc. Just add your ips
## into the list of ips in the for loop

for ip4 in 192.168.2.211; do  #it's ip of my ps4 via point access but the script is in my wired router 
    ipset add realtimeset4 "$ip4"

the dsl connection has a problem at my brother and my home too the donwload is cut /2

The script cuts the connection....

ah but the bufferbloat is good at your ? can you share a test please

what the solution for the good bufferbloat

he cut just a adsl connexion because before vdsl not

I like manual...

GAMEUP=$((UPRATE*15/100+400))
GAMEDOWN=$((DOWNRATE*15/100+400))

Can i comment this :

##GAMEUP=$((UPRATE*15/100+400))
##GAMEDOWN=$((DOWNRATE*15/100+400))

And add this to more lines

##GAMEUP=$((UPRATE*15/100+400))
##GAMEDOWN=$((DOWNRATE*15/100+400))
GAMEUP=800
GAMEDOWN=1600

In manual i can find by try-and-error the good spot for gaming..

I dont fill my gaming fluid al all

The script allows at most 10x download/upload ratio which improves latency performance a lot. This script is for people who care about latency more than download speed.

This bufferbloat is not very good but also not terrible. It represents ~4-5 packets at this slow speed. We don't optimize for speed tests we optimize for the game. How is the game? How is it during speed test?

Sure manual tuning is fine.

So if i put this lines the script will work

It will run but how is your UPRATE and DOWNRATE?

ok i will try with gameup and gamedown in more so like this

before

GAMEUP=$((UPRATE15/100+400))
GAMEDOWN=$((DOWNRATE
15/100+400))

and after

GAMEUP=$((UPRATE15/100+400))
GAMEDOWN=$((DOWNRATE
15/100+400))
GAMEUP=800
GAMEDOWN=1600

its just like that

Like this if you dont put ## the line codes will be enabled

1 Like

@anon78773196 before you change anything first test the game don't go by dslreports speed test

Also do you still have br-lan? You should get rid of bridge, just use wired eth0.1 or whatever.

1 Like

i will test now

My line is fiber FTTH


UPRATE=85000  this valor is 80% of my full speed
DOWNRATE=184000 this valor is 80% of my full speed

Normaly i have 200--206Mbps D and 100--105Mbps U

1 Like

I suggest you keep GAMEUP and GAMEDOWN formula. It should work very well

1 Like

first game 4-17 the character is very heavy

you can see my video in youtube normally the caracter is very speed

now is very heavy :confused:

Did you get rid of bridge?

1 Like

yes in my point access too i supp the bridge ?

Ok, i will test the 2-(auto and manual)

Auto:

GAMEUP=$((UPRATE*15/100+400))
GAMEDOWN=$((DOWNRATE*15/100+400))
##GAMEUP=800
##GAMEDOWN=1600

Manual:

##GAMEUP=$((UPRATE*15/100+400))
##GAMEDOWN=$((DOWNRATE*15/100+400))
GAMEUP=800
GAMEDOWN=1600

Like this :sweat_smile: :stuck_out_tongue_closed_eyes:

Access point needs the bridge but router should not have br lan only eth0.1

1 Like