Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 2.36 KB

README.md

File metadata and controls

52 lines (41 loc) · 2.36 KB

CakeQOS-Merlin

Pre-requisites

  1. Currently only supports RT-AC86U / RT-AX88U / RT-AX56U / RT-AX58U / RT-AX3000 running Merlin firmware (384.xx and above)
  2. Not recommended for connection up/down of 250Mbps or higher. Note: Users with higher up/down connections have reported lower peaks but better stability and user experience overall and continue to use Cake.
  3. Entware
  4. USB Storage

Tips

  1. If you use connections like ADSL, VDSL, Docsis, learn about the overhead keyword. https://man7.org/linux/man-pages/man8/tc-cake.8.html
  2. If you want to understand and change Priority Queue Parameters. https://man7.org/linux/man-pages/man8/tc-cake.8.html#PRIORITY_QUEUE_PARAMETERS
  3. Use 90-95% of your line speed as upload/download limits

Install Example

  1. Run the installer:

    mkdir -p /jffs/addons/cake-qos && /usr/sbin/curl -s "https://raw.githubusercontent.com/ttgapers/cakeqos-merlin/master/cake-qos.sh" -o "/jffs/addons/cake-qos/cake-qos" && chmod 755 /jffs/addons/cake-qos/cake-qos && sh /jffs/addons/cake-qos/cake-qos install
  2. Configure the install command prompts with the params you want (installer will detect your router model). If you receive any errors (e.g. libnl-tiny package size mismatch) please ensure your Entware instance is up-to-date. (For cable connections you can use "docsis ack-filter" as optional extra parameters).

  3. To check that CakeQOS-Merlin is running, use option 3 and/or do a bufferbloat test on dslreports

Usage

cake-qos {start|stop|status|settings|update|install|uninstall}
  • start: start cake-qos
  • stop: stop cake-qos
  • status: check the current status of cake-qos
  • settings: configure cake-qos settings
  • update: update cake-qos binaries and installer (if any available)
  • install: download and install necessary cake-qos binaries and configure settings
  • uninstall: stop cake-qos, remove from startup, and remove cake binaries

CLI

tc qdisc
tc qdisc show | grep root
tc -s qdisc show dev eth0 # for upload
tc -s qdisc show dev ifb9eth0 # for download
cake-qos status

Uninstall/Remove

  1. SSH to the router and execute:
cake-qos uninstall