[Cake] cake on openwrt by default if you want

Dave Taht dave.taht at gmail.com
Wed Jul 1 20:10:20 EDT 2015


Seemingly the most robust way to get it up was:

root at pool2:/etc/hotplug.d/iface# cat 00-netstate

[ ifup = "$ACTION" ] && {

uci_toggle_state network "$INTERFACE" up 1

[ -n "$DEVICE" ] && {

        device="$(uci -q get network.$INTERFACE.ifname)"

        tc qdisc del dev $device root 2> /dev/null

        tc qdisc add dev $device root cake

uci_toggle_state network "$INTERFACE" device "$device"

uci_toggle_state network "$INTERFACE" ifname "$DEVICE"

}

}


root at pool2lodge:~# tc -s qdisc show dev wlan0

qdisc cake 8004: root refcnt 5 unlimited diffserv4 flows raw

 Sent 1054228435 bytes 1796919 pkt (dropped 732, overlimits 0 requeues 12713)

 backlog 0b 0p requeues 12713

           Class 0     Class 1     Class 2     Class 3

  rate          0bit        0bit        0bit        0bit

  target       5.0ms       5.0ms       5.0ms       5.0ms

interval     105.0ms     105.0ms     105.0ms     105.0ms

Pk delay       126us         9us         4us        15us

Av delay         8us         2us         3us         4us

Sp delay         2us         1us         2us         2us

  pkts          2668     1725655        3043       66285

way inds           0           0           0           0

way miss           3       16079         377          42

way cols           0           0           0           0

  bytes       832205   980579235      299730    72803310

  drops            3         721           0           8

  marks            2        7748           0          83

-- 
Dave Täht
worldwide bufferbloat report:
http://www.dslreports.com/speedtest/results/bufferbloat
And:
What will it take to vastly improve wifi for everyone?
https://plus.google.com/u/0/explore/makewififast



More information about the Cake mailing list