Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Dave Taht <dave.taht@gmail.com>
To: cake@lists.bufferbloat.net,
	"cerowrt-devel@lists.bufferbloat.net"
	<cerowrt-devel@lists.bufferbloat.net>
Subject: [Cerowrt-devel] cake on openwrt by default if you want
Date: Wed, 1 Jul 2015 17:10:20 -0700	[thread overview]
Message-ID: <CAA93jw5VpaVJXoKMZdsbKx814xYgfLPy+FWSCgZdbpz7stgYvg@mail.gmail.com> (raw)

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

                 reply	other threads:[~2015-07-02  0:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAA93jw5VpaVJXoKMZdsbKx814xYgfLPy+FWSCgZdbpz7stgYvg@mail.gmail.com \
    --to=dave.taht@gmail.com \
    --cc=cake@lists.bufferbloat.net \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox