merry christmas all
joyeux noel tout le monde
Thank you very much, but unfortunately these settings don't work for me, my game is horrible, I don't know if it's because I live here in Brazil, the ones that work the most are when I limit bandwidth per port with qosify configured, if anyone If you want to enter remotely and try here even if I don't speak your language, feel free.
give me anydesk in private i can will help
If you are still trying out dscpclassify, please show the output of:
tc -s qdisc
Congratulations, it looks like your dscp is running perfectly
Dopam I'll ask for help, yes, let's leave it until the 26th if you can help me, ok
root@OpenWrt:~# tc -s qdisc
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 eth0 root
Sent 158726630 bytes 556232 pkt (dropped 0, overlimits 0 requeues 65)
backlog 0b 0p requeues 65
qdisc fq_codel 0: dev eth0 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 eth0 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 eth0 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 eth0 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 eth0 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 eth0 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 eth0 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 eth0 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 eth0 parent :8 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 eth0 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 eth0 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 eth0 parent :5 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 62703788 bytes 67368 pkt (dropped 0, overlimits 0 requeues 14)
backlog 0b 0p requeues 14
maxpacket 6072 drop_overlimit 0 new_flow_count 103 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :4 limit 10240p flows 1024 quantum 1518 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 96022842 bytes 488864 pkt (dropped 0, overlimits 0 requeues 51)
backlog 0b 0p requeues 51
maxpacket 1518 drop_overlimit 0 new_flow_count 100 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 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 eth0 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 eth0 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 noqueue 0: dev wan root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan1 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan2 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan3 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan4 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev br-lan root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev phy0-ap0 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc cake 8009: dev pppoe-wan root refcnt 2 bandwidth 45Mbit diffserv4 dual-srchost nat nowash no-ack-filter split-gso rtt 25ms noatm overhead 44 mpu 64
Sent 82917188 bytes 485676 pkt (dropped 78, overlimits 34869 requeues 0)
backlog 0b 0p requeues 0
memory used: 208320b of 4Mb
capacity estimate: 45Mbit
min/max network layer size: 31 / 1492
min/max overhead-adjusted size: 75 / 1536
average network hdr offset: 0
Bulk Best Effort Video Voice
thresh 2812Kbit 45Mbit 22500Kbit 11250Kbit
target 6.46ms 1.25ms 1.25ms 1.61ms
interval 30.2ms 25ms 25ms 25.4ms
pk_delay 0us 3.59ms 0us 33us
av_delay 0us 290us 0us 22us
sp_delay 0us 47us 0us 11us
backlog 0b 0b 0b 0b
pkts 0 383752 0 102002
bytes 0 65643415 0 17382563
way_inds 0 6515 0 135
way_miss 0 4830 0 6352
way_cols 0 0 0 0
drops 0 78 0 0
marks 0 0 0 0
ack_drop 0 0 0 0
sp_flows 0 1 0 5
bk_flows 0 1 0 0
un_flows 0 0 0 0
max_len 0 66600 0 1348
quantum 300 1373 686 343
qdisc ingress ffff: dev pppoe-wan parent ffff:fff1 ----------------
Sent 1464358947 bytes 1181366 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc cake 800a: dev ifb4pppoe-wan root refcnt 2 bandwidth 90Mbit diffserv4 dual-dsthost nat wash ingress no-ack-filter split-gso rtt 25ms noatm overhead 44 mpu 64
Sent 1463434385 bytes 1180700 pkt (dropped 666, overlimits 1524904 requeues 0)
backlog 0b 0p requeues 0
memory used: 1448928b of 4Mb
capacity estimate: 90Mbit
min/max network layer size: 36 / 1492
min/max overhead-adjusted size: 80 / 1536
average network hdr offset: 0
Bulk Best Effort Video Voice
thresh 5625Kbit 90Mbit 45Mbit 22500Kbit
target 3.23ms 1.25ms 1.25ms 1.25ms
interval 27ms 25ms 25ms 25ms
pk_delay 0us 10.2ms 8us 151us
av_delay 0us 6.07ms 0us 29us
sp_delay 0us 9us 0us 10us
backlog 0b 0b 0b 0b
pkts 0 1131524 2 49840
bytes 0 1420668479 80 43690388
way_inds 0 29720 0 23289
way_miss 0 4437 2 5200
way_cols 0 0 0 0
drops 0 664 0 2
marks 0 0 0 0
ack_drop 0 0 0 0
sp_flows 0 1 1 2
bk_flows 0 1 0 0
un_flows 0 0 0 0
max_len 0 1492 40 1348
quantum 300 1514 1373 686
root@OpenWrt:~#
Please tell me what is your UP/Download bandwidth? It seems like you just copy/pasted my sqm settings and did not adjust it to your speeds as I told you. Also make sure to enter the correct link layer settings of your link type. Here it is always better to overestimate than underestimate. Help can be found here:
Also what is the output of:
nft list chain inet dscpclassify static_classify
and
tc filter show dev pppoe-wan ingress
I have an Archer C6 v3 router, and with Hardware flow offloading turned on, my internet is at 700mb down and 350 up, Hardware flow offloading turned off is 300 up and down.
There is a bug in dscpclassiffy, yesterday everything was working fine, today it doesn't even work anymore, I don't know why, it doesn't even appear in the firewall status
C:\Users\Rafael>nft list chain inet dscpclassify static_classify
'nft' não é reconhecido como um comando interno
ou externo, um programa operável ou um arquivo em lotes.
C:\Users\Rafael>tc filter show dev pppoe-wan ingress
'tc' não é reconhecido como um comando interno
ou externo, um programa operável ou um arquivo em lotes.
You have to ssh into your router and then enter the commands….
Hi guys, it worked here, my settings are making the dscp markings, but I'm in doubt if this is normal, it marks my IP 10.10.1.160 0x80 which is the dscp cs4 and the server's IP has no marking which is 103.88.299.140:39970 is at 0x0, this is normal.
03:44:13.686512 IP (tos 0x0, ttl 128, id 28498, offset 0, flags [none], proto UDP (17), length 162)
10.10.1.160.3074 > 103.88.233.140.39970: UDP, length 134
03:44:13.704230 IP (tos 0x0, ttl 128, id 28499, offset 0, flags [none], proto UDP (17), length 200)
10.10.1.160.3074 > 103.88.233.140.39970: UDP, length 172
03:44:13.720632 IP (tos 0x0, ttl 128, id 28500, offset 0, flags [none], proto UDP (17), length 215)
10.10.1.160.3074 > 103.88.233.140.39970: UDP, length 187
03:44:13.728447 IP (tos 0x80, ttl 57, id 9745, offset 0, flags [DF], proto UDP (17), length 877)
103.88.233.140.39970 > 10.10.1.160.3074: UDP, length 849
So what you will see (dscp wise) depends on where you look (and how you set that dscp).
If you use nftable rules to set the dscp, you will likely see egress dscps only on the wan interface (after nftable got hold of the packet) and vice versa for ingressing packets, these will show the changed dscp only inside your homenetwork, e.g. on br-lan.
my dspc rules are like this, I'm still marking the rules, this is just pre-adjustment
config global 'global'
option class_bulk 'le'
option class_high_throughput 'af13'
option client_hints '1'
option threaded_client_min_bytes '10000'
option threaded_service_min_bytes '1000000'
option wmm '0'
config rule
option name 'DNS'
list proto 'tcp'
list proto 'udp'
list dest_port '53'
list dest_port '853'
list dest_port '5353'
option class 'cs5'
config rule
option name 'DoH'
list proto 'tcp'
list proto 'udp'
list dest_port '443'
option class 'cs5'
config rule
option name 'HTTP-Marking'
option proto 'tcp'
list dest_port '80'
option class 'cs2'
config rule
option name 'SSH'
option proto 'tcp'
option dest_port '22'
option class 'cs2'
config rule
option name 'Discord Voice'
option proto 'udp'
option dest_port '50000-65535'
option class 'ef'
config rule
option name 'Cod Warzone'
option proto 'udp'
option dest_port '30000-65535'
option src_port '3074'
option src_ip '10.10.1.160'
option class 'cs4'
option counter '1'
Hello everyone, I'm here in Brazil and I'm doing a lot of work, as I have little knowledge but I want to share something with you. Our friend @jeverley's work is very good, but it could be better if he followed the standard Diffserv 8325 table that people use in QOSFIY, that would make it a lot easier for everyone. I did a test here, monitoring with Wireshark and using SQM with the tc -s qdisc command to know which queue each classification is going in and this was the result.
| Bulk | Best Effort | Video | Voice |
| CS1 | CS0 | CS2 | CS4 |
| LE | AF11 | CS3 | CS5 |
| | AF12 | AF21 | CS6 |
| | AF13 | AF22 | CS7 |
| | | AF23 | EF |
| | | AF31 | VA |
| | | AF32 | |
| | | AF33 | |
| | | AF41 | |
| | | AF42 | |
| | | AF43 | |
The commands I used to monitor were these:
config global 'global'
option class_bulk 'le'
option class_high_throughput 'af13'
option client_hints '1'
option threaded_client_min_bytes '10000'
option threaded_service_min_bytes '1000000'
option wmm '0'
config rule
option name 'DoH'
option family 'ipv6 ipv4'
list proto 'tcp'
list proto 'udp'
list dest_port '443 53 5353 80'
option class 'DSCP'
I don't know how to write codes, as it's just an opinion from a layman on a subject that he learns every day here with you, but we could follow the table, that would be beneficial for many people.
I thank the attention.
What makes you believe rfc 8325 should be applied indiscriminately? And as far as I can tell OpenWrt already tries to follow rfc 8325#s recommendation for its WiFi link by means of WiFi's qos_map mechanism/feature...
My take on this is, that one should consciously judge for every individual per hop behaviour (PHB, each of these is described in an RFC and proposes a default DSCP value, but the relevant part is the behaviour that nodes using that DSCP are supposed to implement). Having participated in some IETF rfc prcesses, I can say that process is far from perfect and occasionally ratifies really bad RFCs so strongly recommend not to implement something 'because it is ion n RFC' only but to look at the actual RFC first to decide whether it is one of the sane majority of RFCs or whether it is one of the RFCs that got ratified in spite of being unrealistic crap (L4S RFCs I am looking at you ).#
I am not sure about that.
Hello, my friend. I have been following your topics about trying to optimize your Warzone game-play experience. I watched your video that you posted on your channel about Qosify, and now that you are testing on DSCPclassify, I want to ask you how it is going for now. Did you fix the problem, or is the game still bad? If yes, which solution worked for you? I appreciate the effort and help from everyone who tries to help.
(My problem)
*
If someone here knows anything about the VALORANT netcode and the game buffers, please help me with that. I am trying to fix my experience with this game. I have been suffering from desync because of their netcode, which adds processing delays to the client. By doing that, they think it will eliminate the player's advantage.
I tried to give a little hint about the problem; maybe I would find any help to have smooth gameplay.
*
I have a fiber PPPoE connection with 300Mbps download and 150Mbps upload speeds.
My network setup is made from the ISP router in bridge mode and D-link DIR-885L with OpenWrt SNAPSHOT version, I tried many solutions, including SQM, QOS, and port forwarding. I wanted to try Qosify, and I tried this command to check my configurations.
tc -s qdisc
and these are the results.
root@OpenWrt:~# tc -s qdisc
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 fq_codel 0: dev eth2 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 1355930984 bytes 1463035 pkt (dropped 0, overlimits 0 requeues 8)
backlog 0b 0p requeues 8
maxpacket 1470 drop_overlimit 0 new_flow_count 42556 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc noqueue 0: dev lan4 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan3 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan2 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan1 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc cake 8001: dev wan root refcnt 2 bandwidth 130Mbit diffserv4 dual-srchost nat wash no-ack-filter split-gso rtt 100ms noatm overhead 22 mpu 64
Sent 394129542 bytes 671744 pkt (dropped 34, overlimits 470374 requeues 0)
backlog 0b 0p requeues 0
memory used: 492096b of 6500000b
capacity estimate: 130Mbit
min/max network layer size: 28 / 1452
min/max overhead-adjusted size: 64 / 1474
average network hdr offset: 14
Bulk Best Effort Video Voice
thresh 8125Kbit 130Mbit 65Mbit 32500Kbit
target 5ms 5ms 5ms 5ms
interval 100ms 100ms 100ms 100ms
pk_delay 4.78ms 1.36ms 38us 50us
av_delay 2.37ms 292us 11us 0us
sp_delay 3us 7us 3us 0us
backlog 0b 0b 0b 0b
pkts 629504 25406 16858 10
bytes 356989127 35668975 1518486 420
way_inds 0 0 4 0
way_miss 13 65 364 1
way_cols 0 0 0 0
drops 28 6 0 0
marks 0 0 0 0
ack_drop 0 0 0 0
sp_flows 6 0 1 0
bk_flows 0 1 0 0
un_flows 0 0 0 0
max_len 1454 1466 1466 42
quantum 300 1514 1514 991
qdisc clsact ffff: dev wan parent ffff:fff1
Sent 1310892831 bytes 1424890 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev br-lan root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc fq_codel 0: dev ifb-dns root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 31876 bytes 214 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 cake 8002: dev ifb-wan root refcnt 2 bandwidth 270Mbit diffserv4 dual-dsthost nat nowash ingress no-ack-filter split-gso rtt 100ms noatm overhead 22 mpu 64
Sent 908416624 bytes 740066 pkt (dropped 12832, overlimits 850231 requeues 0)
backlog 0b 0p requeues 0
memory used: 8357184b of 13500000b
capacity estimate: 270Mbit
min/max network layer size: 46 / 1480
min/max overhead-adjusted size: 68 / 1502
average network hdr offset: 14
Bulk Best Effort Video Voice
thresh 16875Kbit 270Mbit 135Mbit 67500Kbit
target 5ms 5ms 5ms 5ms
interval 100ms 100ms 100ms 100ms
pk_delay 10us 35.6ms 33us 75us
av_delay 4us 30.7ms 6us 2us
sp_delay 3us 4us 3us 2us
backlog 0b 0b 0b 0b
pkts 670168 13912 68769 49
bytes 903134182 19375563 4706012 11758
way_inds 0 1 3 0
way_miss 12 117 132 7
way_cols 0 0 0 0
drops 12820 12 0 0
marks 0 0 0 0
ack_drop 0 0 0 0
sp_flows 5 1 1 1
bk_flows 0 1 0 0
un_flows 0 0 0 0
max_len 1466 1494 1466 698
quantum 514 1514 1514 1514
qdisc clsact ffff: dev ifb-wan parent ffff:fff1
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
I am still learning and testing. I am not sure what I have to do to optimize my network for FPS games like VALORANT and CS2.
Hello friend, you are Brazilian, on the channel we have a WhatsApp group where we are learning from each other, I am already seeing results with DSCPCLASSIFY, I will bring something new soon. Together we are stronger.
No, I am not Brazilian, and unfortunately, I don't understand the language. I have to translate it, but if there might be something that will help or if there are people who suffer from the same issue and they might have a fix for it, I would like to join if possible. If not, then I will be waiting for your solution. I hope it will show good results on my side.
It's a shame that there are few who make videos, but there are many people with great knowledge here on the forum, and they are happy to help. But with the videos I make, I want to help people in general here in Brazil, I will try to be clearer with the words in the next videos so that the translation comes out better for you, ok. I'm sorry for anything I said wrong in my videos.