Late to the scene here. Thank you for your sharing your config file. It made it easier to compile a list of sites for gaming, streaming ect. A question about Qosify. I am struggling to see any benefit in terms of latency reduction. I am using the Belkin RT3200 and seeing at least a 20ms difference in latency when the download link is under load. I am also seeing full download speeds when, in fact, I think if cake was active, would probably not be the case?
Why do I not see a reduction in latency? I have a GLiNet 1800AX, for comparison, that successfully manages latency to a range of about 4ms between unloaded and loaded downstream scenarios. I am currently running OpenWRT 22.03.0-rc1 build for my Belkin RT3200. Any help would be appreciated.
Hi moller can you help me ?
I have a Linksys EA8500, my internet is an ADSL line of 10 Megabits downstream and 700k upstream (use PPPoE). I have read your input for SQM I used your ATM overhead detector and followed the instructions to configure SQM, I don't know if I did it right but I leave here the configuration:
I don't know if this is well done in SQM, but now I am testing QosiFy, I am a total newbie, I leave what I have configured in QoSify and I would like you to help me to correct if I have something wrong and also how to configure QoSify for a 100 Megas symmetrical internet connection of PPPoE authentication.
ipq8064 isn't fast enough to handle 610 MBit/s with sqm/ cake, it isn't even fast enough to do that without any kind of sqm. Your limits with sqm would be around 150 MBit/s.
I wasn't sure how much bandwidth this Linksys EA8500 could handle, thanks for the clarification, although I did know it wasn't much because it's a dualcore with several years.
Yes, I know but for me it is enough at the moment, my ISP at this moment does not want to install fiber and the maximum that another company offers is 100 MBits/s, as I said, I currently only have ADSL of 10 MBits/s and this router is enough For me, in the future I plan to buy something more powerful and use this Linksys as an AP.
Thanks for the information, I had already read something about it but I am clear that I need something with at least four cores and a good clock speed.
On such a slow link I would recommend: option egress_ecn 'NOECN'
Leave this at its default of 2047 this does not work as one intuitively assumes, for cake with linklayer_adaptation_mechanism 'default' this is ignored, but I think it is still a good idea to get this right. And the same applies to:
Well test it with something like:
a) flent (the gold-standard) but requires to servers on the internet (maybe @dtaht could help out here?)
b) The waveform on-line speedtest with latency under load/latency under working conditions measurements
c) Ookla's speedtest app for android or ios
If sqm is set well stuff like a speedtest during a VoIP call or a videoconference should work well (but note with your 630 Kbps upload you are in the "manage the pain" territory already)
About the qosify configuration I can not say much (since I am not using qosify myself), but the principle behind prioritization is still quite simple:
For every packet that get processed/transported faster/earlier other packets will need to be transported slower/later, this is going to work reasonably well if only a smallish fraction of packets are actually treated to higher priority (moving stuff to the background priority is less problematic, but that tin has very little guaranteed throughput, so if only put stuff in there you are willing and ready to wait for)...
This should be 96...
Also only use one method to instantiate cak on pppoe-wan, either sqm OR qosify, only one can be active at the same time (the later running one will silently disable the other one I assume).
Let's tackle that in a different thread, after we got the 9/0.6 Mbps version operational, okay?
I am confused, I thought we are talking about a ~10/0.7 ADSL link here
Qosify DNS feature seems to depend on dnsmasq (looking at the code), I am looking to run only unbound with odhcpd. Any one have idea what does it take to make qosify work with unbound? I am aware that dnsmasq can be run serial to unbound, but its not so great for performance. It will be nice to for qosify to support unbound as well.
You must install llvm package in your host OS, then make menuconfig, Advanced configuration options -> BPF toolchain (use host llvm toolchain), and then Base System -> Qosify
OpenWrt users have put together various solutions that generally work - see here:
Still a work in progress. It's not easy and we'd value your input on that thread if you want to help test and improve (assuming you have a variable rate connection).
You can have both installed (SQM and Qosify), but not enabled simultaneously.
If you look at the thread there are a lot of examples of how to make it work, but I think it's not that hard.
First, you need to edit your /etc/config/qosify file with your interface parameters and start it with
/etc/init.d/qosify start
(optional) Enable automatic startup
/etc/init.d/qosify enable
and you can test if everything is ok executing
qosify-status
It should show the interface with the ingress and egress status, if not, check the interface name and that is not disabled, repeat until you can see the ingress and egress status, after that edit the defaults with your own dscp markings:
/etc/qosify/00-defaults.conf
If you want to test if your packets are correctly tagged, a simple way is just to open a streaming service defined in the config file, like netflix (you can find some examples in the thread), capture the traffic in the router using tcpdump, and dump it to a file, open it with wireshark, and you should see the packets tagged as AF41.
I'm describing how to run Qosify in a generalized way, there are some parameters not touched here that you must know to make it work efficiently (your bandwidth speed, overhead, etc).
I note that aside from giving people fun knobs to twiddle, I remain dubious as to qosify's actual value. Does anyone have a repeatable test demonstrating it to be:
A) doing something measurably useful remarking packets at the ISP link then transiting over wifi?