ls /opt/sbin/tcYes, i have dont think im that far away from getting it working....
Is there tc really?
ls /opt/sbin/tcYes, i have dont think im that far away from getting it working....
saying not found...hmmm i definitely installed each ipk, but best to checkls /opt/sbin/tc
Is there tc really?
opkg install sched-cake-oot_2020-05-28-a5dccfd8-1_aarch64-3.10.ipk
opkg install sched-cake-oot_2020-05-28-a5dccfd8-1_aarch64-3.10.ipk
It may be obvious to some, but I think its also worth mentioning in the instructions that Entware and some USB storage is also required.Here are my setup instructions:
Thanks to @robcore for his work. Wish we can get more versions moving!
If you use connections like ADSL, VDSL, Docsis, learn about the overhead keyword.
https://man7.org/linux/man-pages/man8/tc-cake.8.html
And test the bandwidth from 80 to 95 percent of your speed.
Added as a tip in the install guide I provided....thanks man! Was able to take it to 100% of my line speed now, no need for %'s.
weird..C (bufferbloat)
Added...It may be obvious to some, but I think its also worth mentioning in the instructions that Entware and some USB storage is also required.
Where exactly did you add the following: docsis ack-filter?Here are my setup instructions:
Thanks to @robcore for his work. Wish we can get more versions moving!
Running the following as well:
amtm, scmerlin, syslog-ng/scribe, skynet, diversion (large list/youtube blocker), unbound (core dns), suricata (ips/ids), cake (QoS).
Pre-reqs
Tips
- Disable QoS (any) - probably best to go to Admin/Privacy and "Withdraw" to be sure (note disables others stuff too)
- Entware
- USB Storage
- jffs
- @Odkrys: If you use connections like ADSL, VDSL, Docsis, learn about the overhead keyword. https://man7.org/linux/man-pages/man8/tc-cake.8.html (I for example added "docsis ack-filter") to both add lines below as I use Cable modem service. I was able to take my limits up to the ceiling and I achieved steady A+, C (bufferbloat), A+ on many tests. I got that tip from https://www.reddit.com/r/linux/comments/fvi267/psa_sqm_cake_nat_and_bufferbloat_tuning/
Download based on your router
sched-cake-oot
RT-AC86U
https://drive.google.com/open?id=18sY2EmUxrw23ix-e0xHCWibLG6SB0YNu
RT-AX88U
https://drive.google.com/open?id=1YhawbEmvK1IMug9PeQbUH_gR8lN6o6Ee
All routers
tc-adv
https://drive.google.com/open?id=1cATB5RNBfwtxioP7JH89Sw-9PqX6voQ-
1. Upload to your router the files above.
2. Logon and browse to upload folder
3. Install:
4. Create a new file in /jffs/scripts/cake-qos-start.sh OR nano /jffs/scripts/cake-qos-start.sh
- opkg install sched-cake-oot_2020-05-28-a5dccfd8-1_aarch64-3.10.ipk
- opkg install tc-adv_4.16.0-git-20191110_aarch64-3.10.ipk
5. Add the following:
Note:Code:#!/bin/sh # Enable CAKE QOS runner disable 2>/dev/null fc disable 2>/dev/null fc flush 2>/dev/null insmod /opt/lib/modules/sch_cake.ko 2>/dev/null #WAN-eth0 /opt/sbin/tc qdisc replace dev eth0 root cake bandwidth 15Mbit besteffort nat ip link add name ifb9eth0 type ifb /opt/sbin/tc qdisc del dev eth0 ingress 2>/dev/null /opt/sbin/tc qdisc add dev eth0 handle ffff: ingress /opt/sbin/tc qdisc del dev ifb9eth0 root 2>/dev/null /opt/sbin/tc qdisc add dev ifb9eth0 root cake bandwidth 150Mbit besteffort nat ingress wash ifconfig ifb9eth0 up /opt/sbin/tc filter add dev eth0 parent ffff: protocol all prio 10 u32 match u32 0 0 flowid 1:1 action mirred egress redirect dev ifb9eth0 # End CAKE QOS
eth0 for upload, ifb9eth0 for download.
Kbit or Mbit both are ok. e.g 800Kbps upload and 10Mbps download.
Edit the lines in the above code block to suit along with any tweaks based on the Tips above based on connection type ADSL, Docsis etc.
6. nano /jffs/scripts/services-start
- /opt/sbin/tc qdisc replace dev eth0 root cake bandwidth 800Kbit besteffort nat
- /opt/sbin/tc qdisc add dev ifb9eth0 root cake bandwidth 10Mbit besteffort nat ingress wash
7. Add sh /jffs/scripts/cake-qos-start.sh
8. chmod +x /jffs/scripts/cake-qos-start.sh
9. Start Cake QoS: sh /jffs/scripts/cake-qos-start.sh
10. Validate/test
- tc qdisc
- tc -s qdisc show dev eth0 (for upload)
- tc -s qdisc show dev ifb9eth0 (for download)
Where exactly did you add the following: docsis ack-filter?
qdisc cake 8007: root refcnt 2 bandwidth 142Mbit besteffort triple-isolate nat wash ingress ack-filter split-gso rtt 100.0ms noatm overhead 18 mpu 64 no-sce
At the end...
- /opt/sbin/tc qdisc replace dev eth0 root cake bandwidth 800Kbit besteffort nat
- /opt/sbin/tc qdisc add dev ifb9eth0 root cake bandwidth 10Mbit besteffort nat ingress wash
At the end as noted..Do you add those at the beginning or end of the line?
So it should look like the below as an example, correct?At the end as noted..
Yessir...So it should look like the below as an example?:
- /opt/sbin/tc qdisc replace dev eth0 root cake bandwidth 800Kbit besteffort nat docsis ack-filter
- opt/sbin/tc qdisc add dev ifb9eth0 root cake bandwidth 10Mbit besteffort nat ingress wash docsis ack-filter
Thanks....one last question...not sure if you know this but the initial instructions have more "meat" inside the cake-script vs the one you posted...is all the extra "stuff/rules" required from the initial instructions from pg. 3?Yessir...
Thanks....one last question...not sure if you know this but the initial instructions have more "meat" inside the cake-script vs the one you posted...is all the extra "stuff/rules" required from the initial instructions from pg. 3?
Is docsis ack-filter needed as docsis is used for cable connections?At the end as noted..
Is docsis ack-filter needed as docsis is used for cable connections?
just realised i need vdsl ack-filter
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!