Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
* [Cerowrt-devel] cake on openwrt by default if you want
@ 2015-07-02  0:10 Dave Taht
  0 siblings, 0 replies; only message in thread
From: Dave Taht @ 2015-07-02  0:10 UTC (permalink / raw)
  To: cake, cerowrt-devel

Seemingly the most robust way to get it up was:

root@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@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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-02  0:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-02  0:10 [Cerowrt-devel] cake on openwrt by default if you want Dave Taht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox