put simply they make sqm less protocol agnostic... principally by identifying bulk/sparse/expeditable traffic...
depending on the network configuration ( and further mark tracking ), they may also offer greater inbound traffic handling which can be have a huge impact as they are typically difficult to manage... and are half of the total sqm experience...
with these scripts... media intensive interactive websites such as netflix with their 'hover over and pop up video' respond almost instantly... without them there is a noticeable few milliseconds of delay... as cdn is just another flow to 'equalise' amongst the others...
so in a nutshell... they expedite better flows and mark bulk better... which results in 30+% better experience on a typical modern home network...
Well, the OP had some exposition at the original post. IMHO the point is that SQM offers per-flow-fairness by default and allows an easy way to implement per-internal-IP fairness on top of that. IMHO that covers a lot of middle-of-the-road use-cases (especially on links with "enough" speed), BUT there are situations where the user actually requires targeted un-fairness, and that requires more involved configurations. This thread as well as the one that spawned it offer a specific refined script to allow loads of targeted unfairness, and can serve as great example of how to do that.
In a sense, the standard SQM scripts aims at "good enough" while these scripts go the extra mile to make things even better (but at the cost of requiring more involved configuration).
Hi I have a Router dual band with 4 connections.
i am using Mwan3 for load balancer, each connection has a different speed
wlan0 = 50/30
wlan1 = 70/60
wan (eth0.2) = 30/3
wan1 (eth0.3) = 10/3
That's why I set up SQM only on the LAN side and install this script without Vert
(ingress/egress FLIPS on LAN interfaces and without NAT)
SQM by default uses an IFB for ingress, but that runs before iptables, so does not allow easy filtering and setting of DSCPs, so here I instruct SQN to not instantiate an IFB (option download '0' has that effect), but to still shap eingress traffic the scond shaper sits on the egress side of eth0.1 which points into the LAN (and hence affects traffic from the internet into the LAN). The sideeffects of such a setup are that traffic terminating at the router will not be shaped, nor will WAN to WiFi be shaped, but WiFi to LAN will be shaped. In other words that is a solution mainly if the primary router does not require WiFi... I hope that helps.
shaping was working fine till an hour back.... now it shows this... idk whats wrong...
now the veth0 is not limiting my download...
and sqm is not working on veth0 now...
Concerning the DSCP.sh file.
Is there something to add in or in the dnsmasq.conf if we play csgo like the following :
#High priority ipset, i use for pubgM
iptmark ! -p tcp -m set --match-set latsens src,dst -j DSCP --set-dscp-class CS6 -m comment --comment "latency sensitive ipset" ## set dscp tag for Latency Sensitive (latsens) ipset,udp
iptmark -p tcp -m set --match-set latsens src,dst -j DSCP --set-dscp-class CS5 -m comment --comment "latency sensitive ipset" ## set dscp tag for Latency Sensitive (latsens) ipset
I wanted to try those nice scripts to my router,
I placed the DSCP.sh to /root and then changed the dnsmasq.conf
All good until I restarted the rooter and now my devices cannot connect to wifi and my pc cannot get any ip, which makes the connection to the router impossible.
I actually did a hard reboot to the second partition for the internet to come up...
Any ideas how I can delete the script from the second partition? because now the DSCP.sh is hidden from the partition I'm currently in...
hi there..im a newbie here so..i wanna try your DSCP script without the "veth" on my Newifi with flashed Openwrt and already applied it , im not sure if it works or not.., and i hope if you can help me a bit to understand how to proceed if its not that much to ask but i'll ask anyway =) coz i been reading a lot of tutorials and wind up here..one thing i really get confused is the "veth" =( since im new on how to use "script" and i wanna show you whats inside of my router..by the way im on a low bandwwith ISP..3MbpsDown/1MbpsUp..and i love and play online games but lags at it..=(
The script from the first link has some mitigation code that helps reduce the typical packet sizes for people with slow connections such as yourself. it can help a lot.