From: Dave Taht <dave.taht@gmail.com>
To: "cerowrt-devel@lists.bufferbloat.net"
<cerowrt-devel@lists.bufferbloat.net>,
Jesper Dangaard Brouer <jbrouer@redhat.com>,
Felix Fietkau <nbd@nbd.name>, Imre Kaloz <kaloz@openwrt.org>,
John Crispin <blogic@openwrt.org>
Subject: [Cerowrt-devel] today´s archer c7v2 testing: xmit_more loses vs stock
Date: Thu, 2 Apr 2015 21:11:36 -0700 [thread overview]
Message-ID: <CAA93jw5nUPOJp5gatFg0ri5q1Ez0xWXPRO=mfQNihMGkMsCaZw@mail.gmail.com> (raw)
today I finally had a chance to benchmark xmit_more enablement on the
archer c7v2.
I enabled xmit_more support in the driver, and also modified the NAPI
settings to
only fire every 32 packets instead of 64. (I had done a prior run on
the wndr with NAPI setting of 64 that was worse)
More netperf-wrapper data than you can shake a stick at here:
http://snapon.lab.bufferbloat.net/~d/archer_xmit_more_tests.tgz
Previous test runs for the wndr3800 here:
http://snapon.lab.bufferbloat.net/~d/xmit_more_3800.tgz
A) on rrul it was a slight lose, in an odd way. Where with the default
settings, I would see packets queue up in the cake3 qdisc and be
smartly managed there, with that setting I saw
nothing queue up in the cake3 qdiscs, less throughput, and more latency.
http://snapon.lab.bufferbloat.net/~d/xmit_more_comparison_archer.png [1]
My guess here was that this change to the overall flow balance inside the router
pushed all drops to the rx ring.
B) but on the tcp_upload test xmit_more was quite obviously a lose:
http://snapon.lab.bufferbloat.net/~d/xmit_more_tcp_upload.svg
...
So in summary I think that xmit_more is of value when the cpu is
sufficiently fast
to stuff in and get bits at line rate, but not of value on these weak
embedded cpus, where the
shorter the code path, the better off you are.
In my next build I will try disabling it entirely. I am open to other
suggestions.
C) But - per the graph above - also hostapd running all the time as it
presently does for no sane reason I can discern, costs 80mbits of
throughput, and cake3 has quite a ways to go until it is as fast as
fq_codel. (NOT planning on worrying about speeding it up for a while!
Am happy to keep it targetted at being faster than HTB at non-line
rates, make it more correct, etc, etc. - line rate is not the
target... stay calm... no premature optimizations please...)
cake3 looks quite good vs htb+fq_codel, there is some netperf-wrapper
data in there on that, also.
D) It was comforting to see ipv6 forwarding rates actually slightly
higher than natted IPv4 on these tests, with the unaligned access
hacks turned off, and compiled for this specific processor.
[1] I also fiddled with reducing the tx ring to 8, with "interesting" results.
--
Dave Täht
Let's make wifi fast, less jittery and reliable again!
https://plus.google.com/u/0/107942175615993706558/posts/TVX3o84jjmb
reply other threads:[~2015-04-03 4:11 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='CAA93jw5nUPOJp5gatFg0ri5q1Ez0xWXPRO=mfQNihMGkMsCaZw@mail.gmail.com' \
--to=dave.taht@gmail.com \
--cc=blogic@openwrt.org \
--cc=cerowrt-devel@lists.bufferbloat.net \
--cc=jbrouer@redhat.com \
--cc=kaloz@openwrt.org \
--cc=nbd@nbd.name \
/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