QoS for gaming

Report issues relating to bandwith monitoring, bandwidth quotas or QoS in this forum.

Moderator: Moderators

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: QoS for gaming

Post by Lantis »

Not quite.
1. Don't bother setting a "max bw" for your oming class. It can't go faster than full speed anyway.
2. You need to check that your "default class" is what you'd expect.
Any traffic not caught by a rule will end up in this class
3. Your download rules aren't right. Down traffic is never going to have an internal IP as the source. Those should all be destinations not sources.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

oenone1974
Posts: 16
Joined: Wed Mar 22, 2017 4:50 am
Location: Davao City
Contact:

Re: QoS for gaming

Post by oenone1974 »

can someone post screenshots of their qos config

mindwolf
Posts: 9
Joined: Tue Mar 28, 2017 11:09 pm

Re: QoS for gaming

Post by mindwolf »

This is how my setup is...

2 Classification Rules:
UPLOAD
1st Gaming <your source ports e.g. 3074-3075> proto <udp>
2nd Fast <Maximum Packet Length: 1280 bytes>

3 Service Service Classes:

1st Gaming <BW needed % for your game> <Min> <-needed <Max> <-optional

2nd Fast <BW%> <Min> <-blank <Max> <-blank

3rd Slow <Bw%> <Min> <-blank <Max> <-blank

*Repeat All for Download except use same ports for destination and adjust bandwidth accordingly*

Example Bandwidth figures are 30% Gaming, 35% Fast 35% Slow. It's a borrowing system so percentages are relative, Don't stress on Fast and Slow, just give your game "enough". Games that use the udp protocol don't require tons of bandwidth. COD uses less than 512kb up and down.

mindwolf
Posts: 9
Joined: Tue Mar 28, 2017 11:09 pm

Re: QoS for gaming

Post by mindwolf »

try these settings:

root@Gargoyle:/etc/config# cat qos_gargoyle

config upload 'upload'
option default_class 'uclass_2'
option total_bandwidth '5000'

config download 'download'
option qos_monenabled 'true'
option default_class 'dclass_2'
option total_bandwidth '66000'

config upload_class 'uclass_1'
option name 'Fast'
option percent_bandwidth '35'

config upload_class 'uclass_2'
option name 'Slow'
option percent_bandwidth '35'

config upload_class 'uclass_3'
option name 'Gaming'
option percent_bandwidth '30'
option min_bandwidth '600'

config upload_rule 'upload_rule_100'
option class 'uclass_3'
option test_order '100'
option srcport '3074-3075'
option proto 'udp'
option comment 'Xbox,BlackOps3'

config upload_rule 'upload_rule_200'
option class 'uclass_1'
option test_order '200'
option max_pkt_size '1280'
option comment 'SmallPackets'

config download_class 'dclass_1'
option name 'Fast'
option percent_bandwidth '49'

config download_class 'dclass_2'
option name 'Slow'
option percent_bandwidth '49'

config download_class 'dclass_3'
option name 'Gaming'
option percent_bandwidth '2'
option min_bandwidth '600'
option minRTT 'Yes'

config download_rule 'download_rule_100'
option class 'dclass_3'
option test_order '100'
option dstport '3074-3075'
option proto 'udp'
option comment 'Black Ops 3'

config download_rule 'download_rule_200'
option class 'dclass_1'
option test_order '200'
option max_pkt_size '1280'
option comment 'SmallPackets'

flashfir
Posts: 26
Joined: Sat Mar 23, 2013 12:44 pm

Re: QoS for gaming

Post by flashfir »

oenone1974 wrote:can someone post screenshots of their qos config
Not to be mean but it seems you do not understand or read the Wiki. There's a lot to understand if you're going to implement the awesome QoS that is in Gargoyle.

Simply trying to copy paste is like shooting a 1/20 chance of getting the configuration right and you will continue asking questions and burning other people's time unless you know something rather than just guessing...

Someone can tell me off for being wrong but I think this needs to be stated since so many replies have gone into this already.

d3fz
Posts: 277
Joined: Sun Aug 28, 2016 7:34 pm

Re: QoS for gaming

Post by d3fz »

Agreed.

Gargoyle QoS is awesome, but also misunderstood.

I think we need to fix some topic that could serve as a user guideline, maybe pointing out links to what's already documented (wiki, discussed topics), gathering every kind of related information into one single place.

Maybe that could help those who want to learn more about it, but don't really know where to look.
TP-Link Archer C7 v2 - Gargoyle 1.12.X
TP-Link WR842ND v2 - Gargoyle 1.10.X
TP-Link RE450 AC v2 - Stock FW 1.0.4
TP-Link WA850RE v1.2 - LEDE 17.01.1

mindwolf
Posts: 9
Joined: Tue Mar 28, 2017 11:09 pm

Re: QoS for gaming

Post by mindwolf »

I've made some improvements to my qos. Using 2 classes prio gets 512Kb or less for download and upload @ 10% and normal get 90%. Remember link sharing here. ACC on.
stab linklayer ethernet overhead 8 mtu 2047 tsize 128 mpu 64
qdisc pie (no other options)
download @ 90% of 50mbit
upload @ 90% of 10mbit
ALL offloads disabled! PM me for script.

Code: Select all

2019-11-02 03:53:25 Starting speedtest for 60 seconds per transfer session.
Measure speed to netperf.bufferbloat.net (IPv4) while pinging speedtest.net.
Download and upload sessions are sequential, each with 8 simultaneous streams.
.............................................................
 Download:  43.98 Mbps
  Latency: [in msec, 61 pings, 0.00% packet loss]
      Min:  37.801
    10pct:  38.371
   Median:  38.844
      Avg:  39.001
    90pct:  39.712
      Max:  41.136
 CPU Load: [in % busy (avg +/- std dev), 59 samples]
     cpu0:   3.4 +/-  4.7
     cpu1:  12.2 +/-  8.0
 Overhead: [in % used of total CPU available]
  netperf:   1.9
..............................................................
   Upload:   8.69 Mbps
  Latency: [in msec, 62 pings, 0.00% packet loss]
      Min:  38.911
    10pct:  39.365
   Median:  39.905
      Avg:  40.019
    90pct:  40.759
      Max:  41.579
 CPU Load: [in % busy (avg +/- std dev), 60 samples]
     cpu0:   1.9 +/-  1.1
     cpu1:   1.3 +/-  1.4
 Overhead: [in % used of total CPU available]
  netperf:   0.4

Post Reply