Page 6 of 15
Re: Best settings for gaming QoS+DSCP
Posted: Sat Nov 30, 2019 9:13 pm
by -taz-
Hi
Researching on IPTABLES
and Qos de Gargoyle, this is the best configuration I found, the only bad thing is that it does not give bufferbloat A +
make sure dns have a minimum TLL
and that MINRTT is active when the network is saturated
confirm if the game class is active
(WinSCP)
iptables -t mangle -A FORWARD -p tcp --tcp-flags ALL SYN,ACK -j TCPMSS --set-mss 1452
commands to restart Qos or Firewall
service firewall restart
service qos_gargoyle restart
stop Bwon network statistics "Performance Improvement"
/etc/init.d/bwmon_gargoyle stop
/etc/init.d/bwmon_gargoyle disable
iptables -t mangle -vnL

Re: Best settings for gaming QoS+DSCP
Posted: Wed Dec 04, 2019 9:51 am
by VanCleef
Thanks for sharing taz.
I have also been playing with iptables, and I am using this:
iptables -t mangle -N qos_plus
iptables -t mangle -A PREROUTING -j qos_plus
iptables -t mangle -A INPUT -j qos_plus
iptables -t mangle -A FORWARD -j qos_plus
iptables -t mangle -A OUTPUT -j qos_plus
iptables -t mangle -A POSTROUTING -j qos_plus
iptables -t mangle -I qos_plus -i eth0 -j DSCP --set-dscp-class CS0
iptables -t mangle -I qos_plus -p icmp -j DSCP --set-dscp-class CS6
iptables -t mangle -I qos_plus -d 192.168.1.142 -p udp -j DSCP --set-dscp-class CS4
iptables -t mangle -I qos_plus -s 192.168.1.142 -p udp -j DSCP --set-dscp-class CS4
It seems not to have a "correct" setting, but the best one for each person.
I think it's a good idea to include DSCP tags in the Qos Gargoyle interface, perhaps in place of the layer7 protocol.
Re: Best settings for gaming QoS+DSCP
Posted: Wed Dec 04, 2019 1:33 pm
by -taz-
I tried its configuration and it works almost the same as mine, but in my case my configuration is better for me.
eth0 does not work, the interface does not exist
iptables -t mangle -vnL
Did you test my settings?
"betta"1.11.X (Built 20191030-1820 git@9998713a)
Archer C7 V4
Re: Best settings for gaming QoS+DSCP
Posted: Wed Dec 04, 2019 3:47 pm
by VanCleef
You're right, it's just a different way of writing the rules.
eth0 is the wan interface.
Using the command ifconfig, the interface that displays your public ip (from internet) will be your wan interface. But maybe using the interface in the rule is not necessary.
I have tested your rules too, but for now the rules I use go well.
Re: Best settings for gaming QoS+DSCP
Posted: Wed Dec 04, 2019 7:43 pm
by -taz-
where the Qos_plus command came from and what it does apart from the Qos gargoyle
Re: Best settings for gaming QoS+DSCP
Posted: Wed Dec 04, 2019 9:27 pm
by VanCleef
qos_plus is a random name of your choice.
In this rule qos_plus means PRE / INP / FOR / OUT / POST at the same time.
Just an alternative to simplifying the rules.
Re: Best settings for gaming QoS+DSCP
Posted: Thu Dec 05, 2019 12:33 am
by CBx86
Hey guys, just now i have some time to read and contribute.
A bit late but instructive :
Code: Select all
------------------------------------------------------------------
| Service | DSCP | DSCP | Application |
| Class Name | Name | Value | Examples |
|===============+=========+=============+==========================|
|Network Control| CS6 | 110000 | Network routing |
|---------------+---------+-------------+--------------------------|
| Telephony | EF | 101110 | IP Telephony bearer |
|---------------+---------+-------------+--------------------------|
| Signaling | CS5 | 101000 | IP Telephony signaling |
|---------------+---------+-------------+--------------------------|
| Multimedia |AF41,AF42|100010,100100| H.323/V2 video |
| Conferencing | AF43 | 100110 | conferencing (adaptive) |
|---------------+---------+-------------+--------------------------|
| Real-Time | CS4 | 100000 | Video conferencing and |
| Interactive | | | Interactive gaming |
|---------------+---------+-------------+--------------------------|
| Multimedia |AF31,AF32|011010,011100| Streaming video and |
| Streaming | AF33 | 011110 | audio on demand |
|---------------+---------+-------------+--------------------------|
|Broadcast Video| CS3 | 011000 |Broadcast TV & live events|
|---------------+---------+-------------+--------------------------|
| Low-Latency |AF21,AF22|010010,010100|Client/server transactions|
| Data | AF23 | 010110 | Web-based ordering |
|---------------+---------+-------------+--------------------------|
| OAM | CS2 | 010000 | OAM&P |
|---------------+---------+-------------+--------------------------|
|High-Throughput|AF11,AF12|001010,001100| Store and forward |
| Data | AF13 | 001110 | applications |
|---------------+---------+-------------+--------------------------|
| Standard | DF (CS0)| 000000 | Undifferentiated |
| | | | applications |
|---------------+---------+-------------+--------------------------|
| Low-Priority | CS1 | 001000 | Any flow that has no BW |
| Data | | | assurance |
------------------------------------------------------------------
https://tools.ietf.org/html/rfc4594
Real-Time Interactive | CS4 | 100000 | Video conferencing and Interactive
gaming
EF should work nice in 'wired' game, radio dont know.
(Gaming for me is wired only

)
Re: Best settings for gaming QoS+DSCP
Posted: Thu Dec 05, 2019 4:07 am
by VanCleef
Hello
Based on the documentation, for wifi is also recommended CS4 for games.
https://tools.ietf.org/html/rfc8325
https://tools.ietf.org/id/draft-ietf-ts ... 11-05.html
I play over wifi and it's good.
But if the game flows better in voice class, like EF on cable, it will be CS6 on wifi.
Re: Best settings for gaming QoS+DSCP
Posted: Sat Dec 07, 2019 9:10 am
by VanCleef
I am also testing better MTU values, and it looks like xbox was right to have MTU 1480 as default.
Games are more responsive on my ps4.
The mtu in gargoyle interface i do not change.
If you play on PC and have trouble for open sites after the change, you can use these commands to set mtu:
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1440
for a specific ip:
iptables -A FORWARD -s 192.168.1.142 -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1440
This site shows the current mtu:
http://www.speedguide.net:8080/
Re: Best settings for gaming QoS+DSCP
Posted: Mon Dec 09, 2019 5:20 pm
by SirSWE
CBx86 wrote:Hey guys, just now i have some time to read and contribute.
A bit late but instructive :
Code: Select all
------------------------------------------------------------------
| Service | DSCP | DSCP | Application |
| Class Name | Name | Value | Examples |
|===============+=========+=============+==========================|
|Network Control| CS6 | 110000 | Network routing |
|---------------+---------+-------------+--------------------------|
| Telephony | EF | 101110 | IP Telephony bearer |
|---------------+---------+-------------+--------------------------|
| Signaling | CS5 | 101000 | IP Telephony signaling |
|---------------+---------+-------------+--------------------------|
| Multimedia |AF41,AF42|100010,100100| H.323/V2 video |
| Conferencing | AF43 | 100110 | conferencing (adaptive) |
|---------------+---------+-------------+--------------------------|
| Real-Time | CS4 | 100000 | Video conferencing and |
| Interactive | | | Interactive gaming |
|---------------+---------+-------------+--------------------------|
| Multimedia |AF31,AF32|011010,011100| Streaming video and |
| Streaming | AF33 | 011110 | audio on demand |
|---------------+---------+-------------+--------------------------|
|Broadcast Video| CS3 | 011000 |Broadcast TV & live events|
|---------------+---------+-------------+--------------------------|
| Low-Latency |AF21,AF22|010010,010100|Client/server transactions|
| Data | AF23 | 010110 | Web-based ordering |
|---------------+---------+-------------+--------------------------|
| OAM | CS2 | 010000 | OAM&P |
|---------------+---------+-------------+--------------------------|
|High-Throughput|AF11,AF12|001010,001100| Store and forward |
| Data | AF13 | 001110 | applications |
|---------------+---------+-------------+--------------------------|
| Standard | DF (CS0)| 000000 | Undifferentiated |
| | | | applications |
|---------------+---------+-------------+--------------------------|
| Low-Priority | CS1 | 001000 | Any flow that has no BW |
| Data | | | assurance |
------------------------------------------------------------------
https://tools.ietf.org/html/rfc4594
Real-Time Interactive | CS4 | 100000 | Video conferencing and Interactive
gaming
EP should work nice in 'wired' game, radio dont know.
(Gaming for me is wired only

)
Do you mean EF? I don’t see any EP. I played wired. Im only intrested to use port 3074 as udp. (Cod ps4)