Yeah pretty sure that's what it is. I still have the correct download speed but for some reason they're giving me a ton of latency.
Ask your provider, i am serious, you pay them. We cannot make guesses towards it.
@Hudra
I examined
git diff 0498c12beea783d4d1104ddb0d0ea4366a512be3
ie before any my involvment.
Another change is that when bidirectional (replied, !stream) udp state expires and packets continue 50% chance it is reversed needing ephemeral port forward, and cannot reclassify without double user rules (was here before me), other 50% it comes back and gets re-classified from zero as conntrack has no memory of its lost 4-tuple (my addition)
Not a concern for tcp with 2h established timeouts.
default ct udp timeuts
net.netfilter.X | ct status | default |
---|---|---|
nf_conntrack_udp_timeout | replied | 30 |
nf_conntrack_udp_timeout_stream | unreplied | 180 |
Thank you for the diff.
I think the most important thing right now is to figure out whether @zavyzz is generally having connection issues or if the problem might actually be with the script.
@zavyzz, I can put together a command for you that will install version 0.5.27. If you run your tests with that version and still experience high latency, I'm afraid the issue is likely with your connection. However, if the older version performs better, we should investigate further to understand why that is.
You can also perform some additional tests:
- What happens when you disable qosmate and perform a bufferbloat test
- What happens when you enable sqm and perform a bufferbloat test.
Someone managed to make it work, I already installed it on my router, but something is missing for it to work.
Can you detail more how "it does not work"
I installed the scripts step by step as suggested in the post about geofilter, but the interface where I should configure the rules does not appear.
Qosmate is not geofilter even author is same. Go to appropriate thread.
Hey, @Hudra! After the latest update, I've noticed that QoSmate isn't performing as well. It's a bit confusing now, and it's not accurately displaying the total bandwidth that is set. Could you look into this?
could you consider creating a manual for those who want to configure settings for gaming? The current explanation isn't clear enough. It would be helpful if you could include what each option does for my network."
Where exactly is it not performing well? Can you show us where it isnāt working as expected? A bit more detail would be helpful, as Iām not a mind reader.
What?
Where is it not accurately displaying the total bandwidth that has been set?
Thereās a README on GitHub where the most important things are documented. However, the README is a work in progress and is continuously being updated. You need to understand (and I donāt mean this in a bad way) that maintaining an application like this, answering questions, and writing manuals or documentation is very time-consuming and not profitable. I also have a life outside of OpenWRT...
This is an open-source project, and anyone who feels something is missing from the documentation or the application is welcome to make changes, submit pull requests, or contribute in other ways.
QoSMate is designed to work out of the box for most use cases without requiring much configuration. That was the main idea. However, experienced users can still tweak and adjust the settings.
If youāre unsure what each option does for your network, a good starting point would be to build up knowledge by reading about it.
Recommended Resources:
A good place to start is the SimpleHFSCgamerscript thread, which QoSMate is based on:
SimpleHFSCgamerscript thread
The GitHub repository for SimpleHFSCgamerscript also provides a detailed description of how HFSC is implemented in this script:
SimpleHFSCgamerscript GitHub Repo
Here are some general resources about SQM. Many concepts that apply to SQM are also relevant for QoSMate:
For additional information about bufferbloat, FQ-Codel, and Cake:
If you're using Cake, you can check the Cake manual:
Further Resources for Building Knowledge:
Here are some additional links that might help you gain a deeper understanding:
- So You Have 500Mbps-1Gbps Fiber and Need a Router
- Help Prioritizing Games with Alternative QDisc Design
- Help Me Figure Out Why I Have Gaming Latency
- Why You Need at Least 3Mbps Upload for Good Game Performance
And finally, it would be very helpful if you could carefully read through this thread. If you learn something new and believe that this information absolutely needs to be included in the README, feel free to send me a draft or submit a pull request.
It was not meant to be, it displays only connections seen at this moment and a second ago. To diagnose wrong classification mostly. You get better bw show at luci/status/realtime graph
Thank you for your response, @Hudra
I understand that maintaining an open-source project like QoSMate, responding to users, and writing documentation can be time-consuming, and I truly appreciate your efforts. That said, I think my feedback has been misunderstood.
-
Clarifications on issues: I mentioned that QoSMate isn't performing well because, in my testing, it doesn't seem to accurately reflect the total bandwidth defined. For example, when setting limits, the reported results don't match the configuration. If you'd like, I can share logs or screenshots to clarify this behavior further.
-
Documentation: Iām not claiming to know whatās missing from the README because I didnāt write it. However, as a tester, I'm pointing out areas where additional details would be helpfulāsuch as precise instructions for gaming-specific setups or explanations of advanced parameters for fine-tuning. Iām using QoSMate similarly to SQM, but if there are any unique considerations or approaches QoSMate relies on, itās not immediately clear from the README.
-
Gaming adjustments: The projectās philosophy of being āplug and playā is commendable, but gaming setups often require precise adjustments for latency-sensitive applications. For example, ensuring accurate DSCP tagging, bandwidth allocation, and handling jitter. If thereās a specific guide or advice on this, Iād love to see it highlighted.
-
Contributions: Iām fully aware this is an open-source project and understand the collaborative nature of it. If I become more confident in the inner workings of QoSMate, Iād be happy to contribute. However, for now, I am testing and learning, just like other users.
Finally, let me assure you that my feedback is not meant to take your work for granted. I value what you've built here and only wish to provide insights from a user perspective. If any of this feedback is out of scope for you, I completely understand.
Where are your reports? It is like 2 screens of 4-point declarations so far.
- ubus call system board
- /etc/config/qosmate
- waveform result
- and the pictures you wanted to add with comments what you feel is wrong.
- DSCP will be wiped by your provider.
Sorry for the earlier rant...
If your main goal is gaming, simply use the auto setup function and specify the IP address of your gaming machine.
Alternatively, you can manually set the bandwidth and WAN interface, then apply the following Generic Game Console/Gaming PC Traffic configuration:
config rule
option name 'Game_Console_Outbound'
option proto 'udp'
option src_ip '192.168.1.208'
list dest_port '!=80'
list dest_port '!=443'
option class 'cs5'
option counter '1'
config rule
option name 'Game_Console_Inbound'
option proto 'udp'
option dest_ip '192.168.1.208'
list src_port '!=80'
list src_port '!=443'
option class 'cs5'
option counter '1'
With this configuration, 95% of your gaming traffic should be prioritized with the correct DSCP markings. These packets will then be classified into the Realtime class when using HFSC or the Voice Tin when using Cake. Both are optimized for the lowest latency, so thereās no need to worry about fine-tuning further.
But as mentioned, you could have also found this information in the README.
Issue Reporting Template:
To make things easier for me and other contributors, Iāve created a short issue reporting template. Please use this as a guideline when sharing problems in the future.. If anything is missing, please provide feedback so I can update it.
The template is also linked in the initial post for reference.
- Can you reliably reproduce the issue +++ at different times of day/week
Some adjustments:
- if you are on wifi choose second (video) bin, as voice traffic sends one data packet per TXOP and takes significant amount of airtime from neighborhood for larger than phone call data rates.
- if you have multiple game consoles you need to add long tcp and udp port lists from game documentation avoiding prioritising common normal ports like 80 443
Continuing the discussion from QoSmate: (Yet Another) Quality of Service Tool for OpenWrt:
Configuration file already exists.
Global configuration section already exists.
Enabled option already exists.
uci: Parse error (invalid command) at line 18, byte 1
uci: Parse error (invalid command) at line 18, byte 1
uci: Parse error (invalid command) at line 18, byte 1
Preservation of config files is disabled.
Error: Exclusivity flag on, cannot modify.
RTNETLINK answers: File exists
I have this error when doing service qosmate restart.
can anyone help me?
Please run these commands and provide their complete output:
ubus call system board
/etc/init.d/qosmate check_version
/etc/init.d/qosmate status
cat /etc/config/qosmate
Do you have other QoS enabled? The command in this place is setting up qdiscs.