Hi folks,
If you are currently testing Cake on 386.2 Beta, could you guys test the following customization, and see if there is any measurable improvement or issues?
Make sure you have custom JFFS scripts enabled (Administration -> System). Then, create /jffs/configs/cake-qos.conf.add with the following content:
Also create /jffs/scripts/qos-start with the following content:
Make it executable:
Then, restart QoS to apply the changes:
This will use the LAN interface to process downloads rather than the eth0 interface, and will also directly do so without copying the traffic through an IFB interface. I'm curious if this would work properly (as it may improve overall performance by skipping the intermediary interface).
If you are currently testing Cake on 386.2 Beta, could you guys test the following customization, and see if there is any measurable improvement or issues?
Make sure you have custom JFFS scripts enabled (Administration -> System). Then, create /jffs/configs/cake-qos.conf.add with the following content:
Code:
DLIF=$(nvram get lan_ifname)
DLOPTIONS='wash dual-dsthost ingress'
Also create /jffs/scripts/qos-start with the following content:
Code:
#!/bin/sh
(
cat <<'ADDTEXT'
#!/bin/sh
source /etc/cake-qos.conf
case "$1" in
start)
# Upload
tc qdisc add dev $ULIF root cake $ULPRIOQUEUE $ULOPTIONS $ULBW $OVERHEAD $FRAMING 2>/dev/null
# Download
#tc qdisc add dev $DLIF handle ffff: ingress 2>/dev/null
tc qdisc add dev $DLIF root cake $DLPRIOQUEUE $DLOPTIONS $DLBW $OVERHEAD $FRAMING 2>/dev/null
;;
stop)
tc qdisc del dev $ULIF root 2>/dev/null
# tc qdisc del dev $DLIF ingress 2>/dev/null
tc qdisc del dev $DLIF root 2>/dev/null
;;
*)
esac
ADDTEXT
) > /tmp/qos
Make it executable:
Code:
chmod a+rx /jffs/scripts/qos-start
Then, restart QoS to apply the changes:
Code:
service restart_qos
This will use the LAN interface to process downloads rather than the eth0 interface, and will also directly do so without copying the traffic through an IFB interface. I'm curious if this would work properly (as it may improve overall performance by skipping the intermediary interface).
Last edited: