You still use these?VanCleef wrote: ↑Mon Feb 03, 2020 5:28 pmI put the dscp lines inside the script qos gargoyle, this prevents the rules from being duplicated after the reboot.
to edit: vi /etc/init.d/qos_gargoyle
Download:
# squash ingress
iptables -t mangle -A fwmark -j DSCP --set-dscp 0
#Go back and touch up the root qdisc to have the proper default class
tc qdisc change dev imq0 $overhead root handle 1:0 hfsc default $def_download_idx
# Create ingress chain
iptables -t mangle -N qos_ingress
# Mark ingress in FORWARD and INPUT chains to make sure any DNAT (virt. server) is taken into account
iptables -t mangle -A FORWARD -i $qos_interface -j qos_ingress
iptables -t mangle -A INPUT -i $qos_interface -j qos_ingress
# icmp ingress
iptables -t mangle -A qos_ingress -p icmp -j DSCP --set-dscp-class CS6
# tcp flags ingress
iptables -t mangle -A qos_ingress -p tcp -m length --length :64 -j DSCP --set-dscp-class CS6
# ps4 ingress
iptables -t mangle -A qos_ingress -d 192.168.1.142 -p udp -j DSCP --set-dscp-class CS6
#Now the rest of the user entered rules.
Upload:
#Go back and touch up the root qdisc to have the proper default class
tc qdisc change dev $qos_interface $overhead root handle 1:0 hfsc default $def_upload_idx
# Set up egress chain
iptables -t mangle -N qos_egress
iptables -t mangle -A POSTROUTING -o $qos_interface -j qos_egress
# icmp egress
iptables -t mangle -A qos_egress -p icmp -j DSCP --set-dscp-class EF
# tcp flags egress
iptables -t mangle -A qos_egress -p tcp -m length --length :64 -j DSCP --set-dscp-class EF
# ps4 egress
iptables -t mangle -A qos_egress -s 192.168.1.142 -p udp -j DSCP --set-dscp-class CS4
#Next the user entered rules.
QoS in gui, download:
Destination: 192.168.1.142, Transport Protocol: UDP/ Ps4
Maximum Packet Length: 64 bytes, Transport Protocol: TCP /Fast
Transport Protocol: ICMP /Fast
Normal 40% zero nolimit
Fast 10% zero nolimit
Ps4 50% zero nolimit minrtt
gui, upload:
Source: 192.168.1.142, Transport Protocol: UDP /Ps4
Maximum Packet Length: 64 bytes, Transport Protocol: TCP /Fast
Transport Protocol: ICMP /Fast
Normal 10% zero nolimit
Fast 40% zero nolimit
Ps4 50% zero nolimit
Best setup for me so far, playing Ps4 over wifi.
Best settings for gaming QoS+DSCP
Moderator: Moderators
Re: Best settings for gaming QoS+DSCP
Re: Best settings for gaming QoS+DSCP
How much improvement in percentage compared to previous configurations?
-
- Posts: 1
- Joined: Fri Dec 18, 2020 10:15 pm
Re: Best settings for gaming QoS+DSCP
How to apply my router?
Re: Best settings for gaming QoS+DSCP
use winscp and follow the path /etc/init.d/qos_gargoyle
What game are you optimizing for?
What game are you optimizing for?
Re: Best settings for gaming QoS+DSCP
what is the default QOS recommended by the creator?
Re: Best settings for gaming QoS+DSCP
Any way to edit a rule to do a multiport match since the GUI doesn't give the option?
there would be several rules with the same purpose
https://ibb.co/TwFHKCY
Adding all the ports to a single rule and not to several since they will fulfill the same function, example BF4 would use it like this from the minimum port to the highest it would not be ideal because it uses ports that are not in the game
there would be several rules with the same purpose
https://ibb.co/TwFHKCY
Adding all the ports to a single rule and not to several since they will fulfill the same function, example BF4 would use it like this from the minimum port to the highest it would not be ideal because it uses ports that are not in the game
Re: Best settings for gaming QoS+DSCP
No the backend code only supports what is available in the GUI.
If someone wanted to write support for the mulitport matching action in iptables and integrate it into the GUI that would be welcome.
If someone wanted to write support for the mulitport matching action in iptables and integrate it into the GUI that would be welcome.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Best settings for gaming QoS+DSCP
It would be nice if they added that option in the next version so it doesn't get cluttered with rules due to port prioritization
as this rule uses MInRTT, I don't have the knowledge to create it and use minrtt
Thanks for answering
as this rule uses MInRTT, I don't have the knowledge to create it and use minrtt
Thanks for answering
Re: Best settings for gaming QoS+DSCP
Can someone post..one post with complete instructions..HOW TO?
Because i "lost" with so many posts..and changes.
And are you sure that is working???
Etc. classification to 1:11 class traffic.
So from the above everything that has marked as EF will fall in class 1:11
And ports 19302:19309 which marked as EF will fall in above rule.
And etc. with this rule we mark as CS6 with no use
We must know the CLASSIFY classes to create the rules.
Because i "lost" with so many posts..and changes.
And are you sure that is working???
Etc. classification to 1:11 class traffic.
Code: Select all
ipt64 -t mangle -A POSTROUTING -m dscp --dscp-class EF -j CLASSIFY --set-class 1:11
So from the above everything that has marked as EF will fall in class 1:11
And ports 19302:19309 which marked as EF will fall in above rule.
Code: Select all
ipt64dscp -p udp -m multiport --sports 19302:19309 -j DSCP --set-dscp-class EF
And etc. with this rule we mark as CS6 with no use
Code: Select all
# ps4 ingress
iptables -t mangle -A qos_ingress -d 192.168.1.142 -p udp -j DSCP --set-dscp-class CS6
Re: Best settings for gaming QoS+DSCP
when marking dscp with EF there is a high probability of loss, I only recommend marking CS4 which is especially for games
If you want I can upload my configuration although it is a bit understandable it has worked well for me in some games
If you want I can upload my configuration although it is a bit understandable it has worked well for me in some games
