QoSmate: (Yet Another) Quality of Service Tool for OpenWrt

root@OpenWrt:~# service qosmate status
==== qosmate Status ====
qosmate service is enabled.
Traffic shaping (HFSC) is active on the egress interface (pppoe-wan).
Traffic shaping is active on the ingress interface (ifb-pppoe-wan).
==== Overall Status ====
qosmate is currently active and managing traffic shaping.
==== Current Settings ====
Upload rate: 22576 kbps
Download rate: 35272 kbps
Game traffic upload: 3786 kbps
Game traffic download: 5691 kbps
Queue discipline: bfifo (for game traffic in HFSC)
==== Package Status ====
All required packages are installed.

==== Detailed Technical Information ====
Traffic Control (tc) Queues:
qdisc noqueue 0: dev lo root refcnt 2
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc mq 0: dev dsa root
 Sent 3779728467 bytes 3486028 pkt (dropped 0, overlimits 0 requeues 21)
 backlog 0b 0p requeues 21
qdisc fq_codel 0: dev dsa parent :10 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev dsa parent :f limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev dsa parent :e limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev dsa parent :d limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev dsa parent :c limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev dsa parent :b limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev dsa parent :a limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev dsa parent :9 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev dsa parent :8 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 3215120480 bytes 2887465 pkt (dropped 0, overlimits 0 requeues 15)
 backlog 0b 0p requeues 15
  maxpacket 3020 drop_overlimit 0 new_flow_count 660 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev dsa parent :7 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev dsa parent :6 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev dsa parent :5 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 564606275 bytes 598547 pkt (dropped 0, overlimits 0 requeues 6)
 backlog 0b 0p requeues 6
  maxpacket 1498 drop_overlimit 0 new_flow_count 2 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev dsa parent :4 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 1712 bytes 16 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev dsa parent :3 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev dsa parent :2 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev dsa parent :1 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc mq 0: dev eth0 root
 Sent 792861116 bytes 2370327 pkt (dropped 0, overlimits 0 requeues 132)
 backlog 0b 0p requeues 132
qdisc fq_codel 0: dev eth0 parent :10 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :f limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :e limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :d limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :c limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :b limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :a limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :9 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :8 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :7 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :6 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :5 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :4 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :3 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 792861116 bytes 2370327 pkt (dropped 0, overlimits 0 requeues 132)
 backlog 0b 0p requeues 132
  maxpacket 1502 drop_overlimit 0 new_flow_count 92 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :1 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc noqueue 0: dev eth1 root refcnt 2
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev eth2 root refcnt 2
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev eth3 root refcnt 2
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc noqueue 0: dev eth4 root refcnt 2
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc hfsc 1: dev pppoe-wan root refcnt 2 default 13
 Sent 25980 bytes 183 pkt (dropped 6, overlimits 7 requeues 0)
 backlog 0b 0p requeues 0
qdisc fq_codel 8092: dev pppoe-wan parent 1:13 limit 10240p flows 1024 quantum 3000 target 4ms interval 101ms memory_limit 564400b ecn drop_batch 64
 Sent 18072 bytes 118 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 1318 drop_overlimit 0 new_flow_count 22 ecn_mark 0
  new_flows_len 1 old_flows_len 2
qdisc fq_codel 8094: dev pppoe-wan parent 1:15 limit 10240p flows 1024 quantum 3000 target 4ms interval 101ms memory_limit 564400b ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc bfifo 10: dev pppoe-wan parent 1:11 limit 11358b
 Sent 129 bytes 1 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc fq_codel 8091: dev pppoe-wan parent 1:12 limit 10240p flows 1024 quantum 3000 target 4ms interval 101ms memory_limit 564400b ecn drop_batch 64
 Sent 7675 bytes 63 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 684 drop_overlimit 0 new_flow_count 22 ecn_mark 0
  new_flows_len 1 old_flows_len 0
qdisc fq_codel 8093: dev pppoe-wan parent 1:14 limit 10240p flows 1024 quantum 3000 target 4ms interval 101ms memory_limit 564400b ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc ingress ffff: dev pppoe-wan parent ffff:fff1 ----------------
 Sent 827922 bytes 730 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc hfsc 1: dev ifb-pppoe-wan root refcnt 2 default 13
 Sent 745092 bytes 645 pkt (dropped 24, overlimits 658 requeues 0)
 backlog 0b 0p requeues 0
qdisc fq_codel 8096: dev ifb-pppoe-wan parent 1:13 limit 10240p flows 1024 quantum 3000 target 4ms interval 100ms memory_limit 881800b ecn drop_batch 64
 Sent 636990 bytes 501 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 1318 drop_overlimit 0 new_flow_count 11 ecn_mark 0
  new_flows_len 1 old_flows_len 2
qdisc fq_codel 8098: dev ifb-pppoe-wan parent 1:15 limit 10240p flows 1024 quantum 3000 target 4ms interval 100ms memory_limit 881800b ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0
qdisc bfifo 10: dev ifb-pppoe-wan parent 1:11 limit 17073b
 Sent 354 bytes 2 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
qdisc fq_codel 8095: dev ifb-pppoe-wan parent 1:12 limit 10240p flows 1024 quantum 3000 target 4ms interval 100ms memory_limit 881800b ecn drop_batch 64
 Sent 31128 bytes 82 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 1472 drop_overlimit 0 new_flow_count 28 ecn_mark 0
  new_flows_len 1 old_flows_len 5
qdisc fq_codel 8097: dev ifb-pppoe-wan parent 1:14 limit 10240p flows 1024 quantum 3000 target 4ms interval 100ms memory_limit 881800b ecn drop_batch 64
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 backlog 0b 0p requeues 0
  maxpacket 0 drop_overlimit 0 new_flow_count 0 ecn_mark 0
  new_flows_len 0 old_flows_len 0

==== Nftables Ruleset (dscptag) ====
        chain dscptag {
                type filter hook forward priority filter; policy accept;
                ip protocol tcp tcp flags & ack == ack meta length < 100 add @xfst4ack { ip daddr . ip saddr . tcp dport . tcp sport limit rate over 112800/second } counter packets 0 bytes 0 jump drop995
                ip protocol tcp tcp flags & ack == ack meta length < 100 add @fast4ack { ip daddr . ip saddr . tcp dport . tcp sport limit rate over 11280/second } counter packets 0 bytes 0 jump drop95
                ip protocol tcp tcp flags & ack == ack meta length < 100 add @med4ack { ip daddr . ip saddr . tcp dport . tcp sport limit rate over 1128/second } counter packets 0 bytes 0 jump drop50
                ip protocol tcp tcp flags & ack == ack meta length < 100 add @slow4ack { ip daddr . ip saddr . tcp dport . tcp sport limit rate over 1128/second } counter packets 0 bytes 0 jump drop50
                ip protocol tcp ct bytes < 2204500 ip dscp < cs4 ip dscp set cs0 counter packets 68 bytes 5833
                ip protocol tcp ct bytes > 44090000 ip dscp < cs4 ip dscp set cs1 counter packets 0 bytes 0
                ip protocol tcp add @slowtcp4 { ip saddr . ip daddr . tcp sport . tcp dport limit rate 150/second burst 150 packets } ip dscp set af42 counter packets 146 bytes 33457
                ip6 nexthdr tcp add @slowtcp6 { ip6 saddr . ip6 daddr . tcp sport . tcp dport limit rate 150/second burst 150 packets } ip6 dscp set af42 counter packets 0 bytes 0
                ip saddr 192.168.10.178 udp dport != { 80, 443 } ip dscp set cs5 counter packets 1 bytes 89 comment "Game_Console_Outbound"
                udp sport != { 80, 443 } ip daddr 192.168.10.178 ip dscp set cs5 counter packets 1 bytes 137 comment "Game_Console_Inbound"
                udp sport 30000-65535 ip daddr 192.168.10.178 udp dport 3074 ip dscp set ef counter packets 0 bytes 0 comment "warzone-IN"
                ip saddr 192.168.10.178 udp sport 3074 udp dport 30000-65535 ip dscp set ef counter packets 0 bytes 0 comment "warzone-OUT"
                meta priority set ip dscp map @priomap counter packets 716 bytes 654545
                meta priority set ip6 dscp map @priomap counter packets 0 bytes 0
                meta nfproto ipv4 ct mark set @nh,8,8 & 0xfc [invalid type] | 0x80 counter packets 716 bytes 654545
                meta nfproto ipv6 ct mark set @nh,0,16 & 0xfc0 [invalid type] | 0x80 counter packets 0 bytes 0
        }
}

Looks good. Everything should be working now. Start a game, and if you now check the connections tab, your gaming traffic should be marked...

Well, our friend dopam could share this dopam geoip with us, now I'm curious

1 Like

Unfortunately, I lost my data when flashing the router because Qosmate doesn't work very well for me. I lose bandwidth for no apparent reason, and my games are slow. It's a long-standing project that went up in smoke. I will try to redo it when I have the time

1 Like

It's marked, thanks for the help!

However, my game lags and I often lose a shot due to the "last bullet".

Could you give me your settings?

config global 'global'
	option enabled '1'

config settings 'settings'
	option WAN 'pppoe-wan'
	option DOWNRATE '35272'
	option UPRATE '22576'
	option ROOT_QDISC 'hfsc'

config advanced 'advanced'
	option PRESERVE_CONFIG_FILES '1'
	option WASHDSCPUP '0'
	option WASHDSCPDOWN '0'
	option BWMAXRATIO '30'
	option UDP_RATE_LIMIT_ENABLED '0'
	option TCP_UPGRADE_ENABLED '1' 

config hfsc 'hfsc'
	option LINKTYPE 'ethernet'
	option OH '44'
	option gameqdisc 'bfifo'
	option nongameqdisc 'fq_codel'
	option nongameqdiscoptions 'besteffort ack-filter'
	option MAXDEL '24'
	option PFIFOMIN '5'
	option PACKETSIZE '450'
	option netemdelayms '30'
	option netemjitterms '7'
	option netemdist 'normal'
	option pktlossp 'none'
	option GAMEUP '3786'
	option GAMEDOWN '5691'

config cake 'cake'
	option COMMON_LINK_PRESETS 'pppoe-llcsnap'
	option PRIORITY_QUEUE_INGRESS 'diffserv4'
	option PRIORITY_QUEUE_EGRESS 'diffserv4'
	option HOST_ISOLATION '1'
	option NAT_INGRESS '1'
	option NAT_EGRESS '1'
	option ACK_FILTER_EGRESS '1'
	option AUTORATE_INGRESS '0'
	option OVERHEAD '40'
	option MPU '64'
	option ETHER_VLAN_KEYWORD 'none'
	option EXTRA_PARAMETERS_INGRESS 'none'
	option EXTRA_PARAMETERS_EGRESS 'none'

config rule
	option name 'Game_Console_Outbound'
	option proto 'udp'
	option src_ip '192.168.10.178'
	list dest_port '!=80'
	list dest_port '!=443'
	option class 'cs5'
	option counter '1'
	option enabled '1'

config rule
	option name 'Game_Console_Inbound'
	option proto 'udp'
	option dest_ip '192.168.10.178'
	list src_port '!=80'
	list src_port '!=443'
	option class 'cs5'
	option counter '1'
	option enabled '1'

config rule
	option name 'warzone-IN'
	option proto 'udp'
	list src_port '30000-65535'
	list dest_ip '192.168.10.178'
	list dest_port '3074'
	option class 'ef'
	option counter '1'
	option enabled '1'

config rule
	option name 'warzone-OUT'
	option proto 'udp'
	list src_ip '192.168.10.178'
	list src_port '3074'
	list dest_port '30000-65535'
	option class 'ef'
	option counter '1'
	option enabled '1'

config custom_rules 'custom_rules'

These are mine, how could I improve them so there is no more lag and smooth wheels?

Blaming Qosmate for losing development data after flashing your router doesn’t seem fair and could give new, inexperienced users a wrong impression. You could have simply uninstalled the script — the instructions are available in the README.

Moreover, if Qosmate wasn’t working correctly for you, you could have just asked if there was something you might have configured incorrectly.

Since you have the freedom to choose which root qdisc to use, you could have selected CAKE. Using the new custom rules feature, you could easily have added Elan's nftables rules, which you seem to prefer. There shouldn't be any difference compared to Elan's script, as the underlying components are the same — there’s no magic involved in both applications.

6 Likes

What speeds does your ISP promise you?

Please perform a test.

  1. Disable Qosmate
  2. Perform 2-3 wired speedtests on one of your lan clients to a close speedtest server
  3. What consistent speeds do you get? Please tell me

... don't forget to re enable Qosmate.

Thank you for your feedback, Hudra. I really appreciate your work

Do you not have any backup of your script or do you have no intention of sharing it with the community?

i will create a new topic with my old files but not functionnel because the last files is delete when i has flashed my router if you are really interested i can share my 4 or 5 files but Geo Filter Dopam does'nt apparent is good for you bro ?

please read my last message

Are you a YouTube channel owner?

1 Like

thanks so much for this app..this made everything so simple and easier to apply

2 Likes

i'm not a good player pro but my connexion is very good i think

https://www.youtube.com/@dopamyth

anyone who plays call of duty can you share your settings so i can try and adjust to suit

These are the rules I use for COD (Mainly Warzone):

config rule
	option name 'cod1'
	option proto 'udp'
	option src_ip '192.168.1.208'
	option src_port '3074'
	option dest_port '30000-65535'
	option class 'cs5'
	option counter '1'
	option enabled '1'

config rule
	option name 'cod2'
	option proto 'udp'
	option dest_ip '192.168.1.208'
	option dest_port '3074'
	option class 'cs5'
	option counter '1'
	option enabled '1'

config rule
	option name 'cod3'
	option proto 'udp'
	list src_ip '192.168.1.208'
	list src_port '3074'
	list dest_port '3074'
	option class 'cs5'
	option counter '1'
	option enabled '1'

Other than that, I pretty much use the default settings:

ROOT_QDISC 'hfsc'

WASHDSCPUP '1'
ASHDSCPDOWN '1'

gameqdisc 'bfifo'
nongameqdisc 'fq_codel'
MAXDEL '24'

thanks much will do some testing ..i thank you again for this amazing app

1 Like

I've seen your videos, that's why I recognized you!
What script do you use for your connection?

1 Like

I will go to the 2ª... "SANTONINFO"