From: Mikael Abrahamsson <swmike@swm.pp.se>
To: "Toke Høiland-Jørgensen" <toke@toke.dk>
Cc: "cerowrt-devel@lists.bufferbloat.net"
<cerowrt-devel@lists.bufferbloat.net>
Subject: Re: [Cerowrt-devel] performance numbers from WRT1200AC (Re: Latest build test - new sqm-scripts seem to work; "cake overhead 40" didn't)
Date: Mon, 29 Jun 2015 15:00:58 +0200 (CEST) [thread overview]
Message-ID: <alpine.DEB.2.02.1506291345280.9487@uplift.swm.pp.se> (raw)
In-Reply-To: <87pp4eomfx.fsf@alrua-karlstad.karlstad.toke.dk>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 7338 bytes --]
On Mon, 29 Jun 2015, Toke Høiland-Jørgensen wrote:
> Mikael Abrahamsson <swmike@swm.pp.se> writes:
>
>> How can I tell which one of these actually is included? Tried moving the feed
>> statement so ceropackages was first but that doesn't seem to have helped, I
>> still get OpenWrt regular sqm-scripts (no cake in luci-app-sqm).
>
> You need to have the cero feed first in feeds.conf, then do
> ./script/feeds uninstall sqm-scripts; ./script/feeds install sqm-scripts
> -- that should pull it from the cero feed. If it doesn't work, try doing
> ./scripts/feeds update first
>
> That seemed to work for me when I just tested it now, at least :)
Hi,
Ok, yes, this worked, I must have forgotten do to update after I moved
ceropackages to the top of the list before. Thanks!
So now I have a sysupgrade image for the wrt1200ac that out of the box
comes with CeroPackages and working bidirectional shaping for cake (don't
know why it didn't work before, it might have to do with my modifications.
This time I didn't modify anything on-disk, this is purely from the
CeroPackages feed).
I did try to get Kernel 4.1 to compile but that didn't work even though I
removed some packages that didn't compile, I ended up with no .dts file
and nothing to me obvious in scrollback to fix. So this is with 3.18.
Here are the cake 50M and 500M results and output from the router:
oot@OpenWrt:~# cat /etc/config/sqm
config queue 'eth1'
option interface 'eth0'
option qdisc_advanced '1'
option squash_dscp '0'
option squash_ingress '0'
option ingress_ecn 'ECN'
option egress_ecn 'ECN'
option qdisc_really_really_advanced '0'
option linklayer 'ethernet'
option overhead '42'
option linklayer_advanced '1'
option tcMTU '2047'
option tcTSIZE '128'
option tcMPU '0'
option enabled '1'
option script 'simple.qos'
option qdisc 'cake'
option linklayer_adaptation_mechanism 'cake'
option download '500000'
option upload '500000'
root@OpenWrt:~# tc -d qdisc
qdisc cake 8009: dev eth0 root refcnt 9 bandwidth 500Mbit diffserv4 flows
noatm overhead 42
qdisc ingress ffff: dev eth0 parent ffff:fff1 ----------------
qdisc mq 0: dev eth1 root
qdisc fq_codel 0: dev eth1 parent :1 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev eth1 parent :2 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev eth1 parent :3 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev eth1 parent :4 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev eth1 parent :5 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev eth1 parent :6 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev eth1 parent :7 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev eth1 parent :8 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc cake 800a: dev ifb4eth0 root refcnt 2 bandwidth 500Mbit diffserv4
flows noatm overhead 42
These are the results from 50M and 500M, also including 50up and 50down
that I added to my test suite script.
http://swm.pp.se/aqm/rrul_150629-cake-4.tar
Then I re-did the test that Dave asked before, I set the wan port to 100
megabit/s in my switch, and removed the SQM. It resulted in the following
config:
root@OpenWrt:~# cat /etc/config/sqm
config queue 'eth1'
option interface 'eth0'
option qdisc_advanced '1'
option squash_dscp '0'
option squash_ingress '0'
option ingress_ecn 'ECN'
option egress_ecn 'ECN'
option qdisc_really_really_advanced '0'
option linklayer 'ethernet'
option overhead '42'
option linklayer_advanced '1'
option tcMTU '2047'
option tcTSIZE '128'
option tcMPU '0'
option script 'simple.qos'
option qdisc 'cake'
option linklayer_adaptation_mechanism 'cake'
option download '50000'
option upload '50000'
option enabled '0'
root@OpenWrt:~# tc -d qdisc
qdisc mq 0: dev eth0 root
qdisc fq_codel 0: dev eth0 parent :1 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev eth0 parent :2 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev eth0 parent :3 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev eth0 parent :4 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev eth0 parent :5 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev eth0 parent :6 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev eth0 parent :7 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev eth0 parent :8 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc mq 0: dev eth1 root
qdisc fq_codel 0: dev eth1 parent :1 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev eth1 parent :2 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev eth1 parent :3 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev eth1 parent :4 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev eth1 parent :5 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev eth1 parent :6 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev eth1 parent :7 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc fq_codel 0: dev eth1 parent :8 limit 1024p flows 1024 quantum 300
target 5.0ms interval 100.0ms ecn
qdisc cake 800c: dev ifb4eth0 root refcnt 2 bandwidth 50Mbit diffserv4
flows noatm overhead 42
root@OpenWrt:~# tc -d class show dev eth0
class mq :1 root
class mq :2 root
class mq :3 root
class mq :4 root
class mq :5 root
class mq :6 root
class mq :7 root
class mq :8 root
what worries me is this:
root@OpenWrt:~# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 1000baseT/Half 1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Link partner advertised link modes: 1000baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: No
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: external
Auto-negotiation: on
Link detected: yes
So basically even after the wan port went to 100/full, eth0 doesn't know
about it (and it only supports gig speed (probably to the local switch)
anyway. I am seeing dropped packets, so this would support this theory.
First I ran some tests with only that, then I set SQM to 90 megabit/s
results here:
http://swm.pp.se/aqm/rrul_150629-cake-5.tar
http://swm.pp.se/aqm/rrul_150629-cake-6.tar
Next I am going to test wireless but it seems something has gone wrong
because I can't get the wireless to enable properly, so that'll have to be
for the next email after I fix that problem.
--
Mikael Abrahamsson email: swmike@swm.pp.se
next prev parent reply other threads:[~2015-06-29 13:01 UTC|newest]
Thread overview: 119+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-19 14:44 [Cerowrt-devel] Latest build test - new sqm-scripts seem to work; "cake overhead 40" didn't Alan Jenkins
2015-06-19 16:41 ` Sebastian Moeller
2015-06-19 17:35 ` Alan Jenkins
2015-06-19 20:12 ` Dave Taht
2015-06-19 20:40 ` Alan Jenkins
2015-06-19 20:51 ` Dave Taht
2015-06-19 20:57 ` Dave Taht
2015-06-19 20:57 ` Alan Jenkins
2015-06-19 21:06 ` Dave Taht
2015-06-19 21:24 ` Dave Taht
2015-06-19 21:52 ` Luis E. Garcia
2015-06-19 23:32 ` Dave Taht
2015-06-20 5:52 ` Sebastian Moeller
2015-06-23 2:41 ` Jim Reisert AD1C
2015-06-23 7:20 ` Sebastian Moeller
2015-06-23 12:55 ` [Cerowrt-devel] performance numbers from WRT1200AC (Re: Latest build test - new sqm-scripts seem to work; "cake overhead 40" didn't) Mikael Abrahamsson
2015-06-23 14:09 ` Dave Taht
2015-06-23 17:25 ` Sebastian Moeller
2015-06-23 18:15 ` Jonathan Morton
2015-06-24 5:21 ` Mikael Abrahamsson
2015-06-24 5:19 ` Mikael Abrahamsson
2015-06-24 11:31 ` Mikael Abrahamsson
2015-06-24 16:32 ` Dave Taht
2015-06-25 1:53 ` Aaron Wood
2015-06-25 3:07 ` Mikael Abrahamsson
2015-06-25 3:32 ` Aaron Wood
2015-06-25 9:12 ` Mikael Abrahamsson
2015-06-25 10:26 ` Mikael Abrahamsson
2015-06-25 20:13 ` Dave Taht
2015-06-25 20:16 ` Dave Taht
2015-06-25 20:24 ` Toke Høiland-Jørgensen
2015-06-25 22:14 ` Dave Taht
2015-06-26 6:58 ` Mikael Abrahamsson
2015-06-26 7:12 ` Mikael Abrahamsson
2015-06-26 9:46 ` Sebastian Moeller
2015-06-26 12:26 ` Mikael Abrahamsson
2015-06-26 14:17 ` Sebastian Moeller
2015-06-26 14:49 ` Mikael Abrahamsson
2015-06-26 16:18 ` Jonathan Morton
2015-06-26 16:31 ` Mikael Abrahamsson
2015-06-26 16:35 ` Jonathan Morton
2015-06-26 17:04 ` Dave Taht
2015-06-26 18:24 ` Dave Taht
2015-06-26 18:38 ` Mikael Abrahamsson
2015-06-26 18:58 ` Dave Taht
2015-06-26 18:59 ` Dave Taht
2015-06-26 19:11 ` Mikael Abrahamsson
2015-06-26 19:13 ` Dave Taht
2015-06-27 5:03 ` Mikael Abrahamsson
2015-06-27 5:18 ` Dave Taht
2015-06-27 5:50 ` Mikael Abrahamsson
2015-06-27 17:59 ` Dave Taht
2015-06-27 18:23 ` Mikael Abrahamsson
2015-06-27 18:52 ` Dave Taht
2015-06-27 23:13 ` Sebastian Moeller
2015-06-28 7:06 ` Mikael Abrahamsson
2015-06-28 8:23 ` Sebastian Moeller
2015-06-28 10:29 ` Mikael Abrahamsson
2015-06-28 17:04 ` Sebastian Moeller
2015-06-28 17:32 ` Mikael Abrahamsson
2015-06-28 17:58 ` Jonathan Morton
2015-06-28 18:04 ` Dave Taht
2015-06-28 18:55 ` Sebastian Moeller
2015-06-28 19:17 ` Mikael Abrahamsson
2015-06-28 19:24 ` Sebastian Moeller
2015-06-28 20:48 ` Mikael Abrahamsson
2015-06-28 21:23 ` Sebastian Moeller
2015-06-29 4:58 ` Mikael Abrahamsson
2015-06-29 5:11 ` Mikael Abrahamsson
2015-06-29 7:46 ` Sebastian Moeller
2015-06-29 7:54 ` Mikael Abrahamsson
2015-06-29 7:56 ` Sebastian Moeller
2015-06-29 8:10 ` Sebastian Moeller
2015-06-29 8:17 ` Mikael Abrahamsson
2015-06-29 8:24 ` Sebastian Moeller
2015-06-29 7:44 ` Sebastian Moeller
2015-06-29 8:09 ` Mikael Abrahamsson
2015-06-29 8:34 ` Sebastian Moeller
2015-06-29 8:42 ` Sebastian Moeller
2015-06-29 9:12 ` Mikael Abrahamsson
2015-06-29 10:09 ` Toke Høiland-Jørgensen
2015-06-29 13:00 ` Mikael Abrahamsson [this message]
2015-06-29 13:34 ` Sebastian Moeller
2015-06-29 13:46 ` dpreed
2015-06-29 16:45 ` Jonathan Morton
2015-06-30 13:58 ` [Cerowrt-devel] Build instructions for regular OpenWRT with Ceropackages Mikael Abrahamsson
2015-06-30 16:20 ` dpreed
2015-06-30 19:58 ` Mikael Abrahamsson
2015-07-01 8:23 ` David Lang
2015-07-01 10:32 ` Mikael Abrahamsson
2015-07-01 11:55 ` Sebastian Moeller
2015-07-01 15:37 ` dpreed
2015-06-29 13:42 ` [Cerowrt-devel] performance numbers from WRT1200AC (Re: Latest build test - new sqm-scripts seem to work; "cake overhead 40" didn't) Sebastian Moeller
2015-06-29 16:44 ` Dave Taht
2015-06-29 18:24 ` Sebastian Moeller
2015-06-29 22:15 ` Mikael Abrahamsson
2015-06-29 22:49 ` Mikael Abrahamsson
2015-06-30 8:00 ` Mikael Abrahamsson
2015-06-30 9:40 ` Mikael Abrahamsson
2015-07-02 15:33 ` Mikael Abrahamsson
2015-07-02 15:39 ` Toke Høiland-Jørgensen
2015-07-02 15:43 ` Mikael Abrahamsson
2015-07-02 15:47 ` Toke Høiland-Jørgensen
2015-07-02 16:06 ` dpreed
2015-07-02 19:12 ` Mikael Abrahamsson
2015-07-07 1:07 ` David Lang
2015-07-02 16:09 ` Rich Brown
2015-07-02 16:12 ` Toke Høiland-Jørgensen
2015-07-03 11:38 ` Mikael Abrahamsson
2015-06-29 6:12 ` Mikael Abrahamsson
2015-06-28 18:48 ` Sebastian Moeller
2015-06-26 16:34 ` Dave Taht
2015-06-26 16:27 ` Sebastian Moeller
2015-06-26 16:36 ` Mikael Abrahamsson
2015-06-26 16:43 ` Dave Taht
2015-06-26 17:01 ` Mikael Abrahamsson
2015-06-23 14:35 ` [Cerowrt-devel] Latest build test - new sqm-scripts seem to work; "cake overhead 40" didn't Jim Reisert AD1C
2015-06-23 14:40 ` Dave Taht
2015-06-19 20:37 ` Sebastian Moeller
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=alpine.DEB.2.02.1506291345280.9487@uplift.swm.pp.se \
--to=swmike@swm.pp.se \
--cc=cerowrt-devel@lists.bufferbloat.net \
--cc=toke@toke.dk \
/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