root@GL-AR750S:~# SQM_DEBUG=1 SQM_VERBOSITY_MAX=8 /etc/init.d/sqm stop
SQM: Stopping SQM on eth0.2
root@GL-AR750S:~# SQM_DEBUG=1 SQM_VERBOSITY_MAX=8 /etc/init.d/sqm start
SQM: Starting SQM script: piece_of_cake.qos on eth0.2, in: 7000 Kbps, out: 500 Kbps
SQM: QDISC cake is useable.
SQM: Starting piece_of_cake.qos
SQM: ifb associated with interface eth0.2:
SQM: Currently no ifb is associated with eth0.2, this is normal during starting of the sqm system.
SQM: egress
SQM: LLA: default link layer adjustment method for cake is cake
SQM: cake link layer adjustments: atm overhead 44 mpu 0
SQM: egress shaping activated
SQM: QDISC ingress is useable.
SQM: ingress
SQM: LLA: default link layer adjustment method for cake is cake
SQM: cake link layer adjustments: atm overhead 44 mpu 0
SQM: ingress shaping activated
SQM: piece_of_cake.qos was started on eth0.2 successfully
Following the stop+start, the output of tc -s qdisc remains the same:
qdisc cake 803e: dev ifb4eth0.2 root refcnt 2 besteffort flowblind wash rtt 5.0ms raw atm overhead 44
I can confirm I'm clicking "Save and Apply" on the GUI.
That is not good, it should default not to flowblind, as that effectively disables the flow-queueing part of cake, I wonder why it does that. I also note that 18.06.1 is not the most recent version, so I would kindly propose to re-test with at least 18.06.2 (or if you wait a few days 18.06.3 or 4 or even 19.07.1)
There seems to be something wrong, but first let's figure out wether we are chasing an already fixed bug
P.S.: It generally is better to open a new topic, you can always link in the thread you came from/ wanted to respond in your first post, but having individual threads that can achieve a solution seems overall nicer than open-ended threads collecting similar issues.
I've poked around the scripts, made a backup of piece_of_cake.qos (apologies for hacking around your scripts ) and twiddled the debugging, the core commands it's running are:
Not really my scripts, it is a team effort; and the one thing I like about shell scripts is that they are easily hackable; so hack away, with my blessing
Actually, it would be propbably better to rename the script slightly so it will be easier to transfer your script to newer versions of sqm-scripts....
Yes, this looks decent, but it does not explain where the "flowblind" in your earlier example came from. Flowblind really is only useful for comparison and otherwise typically not the right thing...
Ok, this is odd. If I do horrible things to the scripts to force flow isolation (I've gone with triple-isolate as it's apparently a default) so the commands become this:
I think you may be right that an upgrade could fix this... However the router is an off-the-shelf product that ships with this software baked in, along with some extra nice stuff on the side. I'm reluctant to throw that away if it can be avoided. I'll keep poking around tomorrow.
Ah, thanks, I was a bit inattentive it seems....
It is just that when I think about an OpenWrt commercial distribution with modern qdiscs, all I can think of is your fine product.
They do however have some pre-release firmware on their website, so I've flashed the latest build from their fork as of about a week ago openwrt-ar750s-3.025-0626 and things are now happening.
After clicking through the UI as before, I'm left with a much healthier looking:
Ok, it looks like the egress shaping massively limits my ingress... possibly because my upstream bandwidth is so terrible? By edging the upstream bandwidth from 600 up and up the downstream bandwidth goes up with it, however anything over 700 triggers bufferbloat.
If I set the ingress threshold to where I need it and disable egress shaping, I can download huge files whilst maintaining a consistent ping. So I'm half way there. For me, the most valuable half is there
@moeller0 was right - all it took was a firmware update (to a pre-release version). Thanks for the support, really appreciated
root@GL-AR750S:~# ifstatus wan
...
"l3_device": "eth0.2",
"device": "eth0.2",
If I pick eth0.2, the egress shaping works great, but the ingress shaping is a bit off. With the values 7000/600 where I think they should be yields:
After playing with the numbers, going to 2000/600 shows the issue - it starts great, then half way in it seems to give up and releases the flood gates:
and even the 7810 for a set 7000 seem off to my, again this could be related to some offload engine actively routing packets around the traffic shaper.... especially you comment
indicates the same (except it is not consistently visible in all dslreports graphs)