Re: Barrier Breaker can't break 160+ Mbps down

thanks for reporting. we tracked the problem down and will fix it in rc3. this is a build config related bug cause by XFRM.

Re: Barrier Breaker can't break 160+ Mbps down

CyrusFF wrote:

odhcpd performance issues are fixed now. So RC2 and later should be fine regarding this issue.

So in BB-trunk the problem is solved since what version?

28 (edited by devinus 2014-08-06 06:46:18)

Re: Barrier Breaker can't break 160+ Mbps down

@blogic Are you saying RC3 wont have the slow downs we're experiencing?

Re: Barrier Breaker can't break 160+ Mbps down

devinus wrote:

@blogic Are you saying RC3 wont have the slow downs we're expereincing?

lol

blogic wrote:

thanks for reporting. we tracked the problem down and will fix it in rc3. this is a build config related bug cause by XFRM.

I'm assuming that we will have to wait and see, unless its obvious it will be fix in rc3 as he said

30 (edited by devinus 2014-08-06 06:48:32)

Re: Barrier Breaker can't break 160+ Mbps down

komawoyo wrote:
devinus wrote:

@blogic Are you saying RC3 wont have the slow downs we're expereincing?

lol

Performance degradation/regression. How about that? tongue

31 (edited by alphasparc 2014-08-06 07:19:19)

Re: Barrier Breaker can't break 160+ Mbps down

Previously I did an early review of the earlier AA.
Performance on TP-Link WR1043ND was fantastic.
300+Mbps NAT using iperf. 30MB/s+ Transfer.
2X faster than factory firmware. Without Overclock.

Re: Barrier Breaker can't break 160+ Mbps down

r41950 supposedly improved xfrm performance somewhat in CC trunk: https://dev.openwrt.org/changeset/41950/

I am not sure if that was the bug/fix to which blogic referenced, but you might test with recent trunk versions if there has been improvement. Probably not yet completely fixed, but there may be partial improvement.

Re: Barrier Breaker can't break 160+ Mbps down

Just tried yesterday, no difference. still ~200Mbps

Re: Barrier Breaker can't break 160+ Mbps down

alphasparc wrote:

Just tried yesterday, no difference. still ~200Mbps

Oh, that's disappointing.

35 (edited by ikschbloda 2014-08-06 17:03:23)

Re: Barrier Breaker can't break 160+ Mbps down

I can confirm a huge NAT performance regression in trunk builds sometime after r38705 on my WR1043ND v1.x. On earlier r4xxxxx builds it couldn't even hold a steady 111mbit downstream without dropping.

Running a custom 12.09.01 build from gwlim (on github) now. The one from NOV 13.

Re: Barrier Breaker can't break 160+ Mbps down

I've seen a severe performance penalty while using cerowrt's sqm scripts:
https://forum.openwrt.org/viewtopic.php?id=51614

ksoftirqd consumes all my CPU at full bandwidth, could it be related?

37

Re: Barrier Breaker can't break 160+ Mbps down

I committed a bunch of performance related work. Please build a recent version and test it.

38 (edited by makro 2014-08-08 11:32:37)

Re: Barrier Breaker can't break 160+ Mbps down

Edit: I guessed wrong about buildbot (didn't check its progress), downloads.openwrt.org also has ar71xx-r42055 already, so no need for this one.

trunk-42055
I did a build for ar71xx platform, maybe someone who doesn't build their own images will test and give feedback on the latest changes (it'll be a while before buildbot gets to them). I don't have an environment to test the changes myself unfortunately, but it would be great to have this fixed. It's plain trunk 42055 with these changes:
- LuCI (package: luci) is included in image, and obviously its dependencies
- Relayd and luci-proto-relay is included in image

I also built a small selection of packages (mostly kernel modules), download packages.7z if there is anything you need. Google Drive isn't ideal and all, but it's what I've got at the moment.

39 (edited by alphasparc 2014-08-08 14:48:27)

Re: Barrier Breaker can't break 160+ Mbps down

nbd wrote:

I committed a bunch of performance related work. Please build a recent version and test it.

Device WR1043ND Overclocked to 430MHZ target 300Mbps

Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
=== IMPORTANT ============================
  Use 'passwd' to set your login password
  this will disable telnet and enable SSH
------------------------------------------


BusyBox v1.22.1 (2014-08-08 21:24:23 SGT) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
-----------------------------------------------------
CHAOS CALMER (Bleeding Edge, r42067)
-----------------------------------------------------
  * 1 1/2 oz Gin            Shake with a glassful
  * 1/4 oz Triple Sec       of broken ice and pour
  * 3/4 oz Lime Juice       unstrained into a goblet.
  * 1 1/2 oz Orange Juice
  * 1 tsp. Grenadine Syrup
-----------------------------------------------------
Linux OpenWrt 3.14.15 #1 Fri Aug 8 21:35:26 SGT 2014 mips GNU/Linux

http://i.imgur.com/OtqLHST.png

Re: Barrier Breaker can't break 160+ Mbps down

alphasparc wrote:

Device WR1043ND Overclocked to 430MHZ target 300Mbps

Trunk is even worse now? That's weird.

Re: Barrier Breaker can't break 160+ Mbps down

Could you please test with UDP instead of TCP and see if it makes a difference?

42 (edited by alphasparc 2014-08-10 12:08:11)

Re: Barrier Breaker can't break 160+ Mbps down

Let me be more specific about my test setup.
2 Linux PCs 1 Centos 7, the other Debian Jessie
WAN 10.1.1.2 on Debian Jessie (Jperf Server)
LAN (DHCP) on Centos 7 (Jperf Client)
Again using the same firmware build previously for UDP Testing I needed to set UDP Bandwidth on the Client Side.
When I set too high a bandwidth the Router starts dumping packets and bandwidth drops to 80+Mbps
However when a lower bandwidth was set the bandwidth routed = lower bandwidth.
The max bandwidth I could set before the router starts dumping packet is 210Mbps on UDP at 220Mbps after a few interval bandwidth dropped to 80+Mbps.
Fairly consistent with my TCP Settings.
http://i.imgur.com/lvc6yN4.png
Btw am I the only one testing how about more results from the community to ensure it is not me only issue?

43 (edited by alphasparc 2014-08-10 12:16:34)

Re: Barrier Breaker can't break 160+ Mbps down

If you guys want to do testing I have the guide here
http://wiki.openwrt.org/inbox/benchmark.nat
Please go try it out to make sure that everyone is on the same page.
I have ensure that this guide is as accurate as it can get.
I tested stock router with factory firmware with hardware NAT and this guide reproduce the 900Mbps Hardware NAT results.

Re: Barrier Breaker can't break 160+ Mbps down

Unfortunately I lack the second gigabit device.
I appreciate your efforts very much though - thanks!

Re: Barrier Breaker can't break 160+ Mbps down

@alphasparc

There's been plenty of reports about the same thing on the forum, it's not only you.

One interesting thing would be to test a simple file transfer from WAN port to a LAN port without NAT.

Re: Barrier Breaker can't break 160+ Mbps down

I just wanted to confirm that I can't break 200Mbps on RC3 either.

47 (edited by alphasparc 2014-08-16 04:12:01)

Re: Barrier Breaker can't break 160+ Mbps down

devinus wrote:

I just wanted to confirm that I can't break 200Mbps on RC3 either.

Expected
There are no relevant source fixes reflected in the source.

Re: Barrier Breaker can't break 160+ Mbps down

@alphasparc Oh. Well does anybody have even the faintest idea what it could be? I'm willing to run whatever test or give whatever information I can to help.

Re: Barrier Breaker can't break 160+ Mbps down

Alphasparc put up a nice guide for NAT benchmark. I've set myself up to do some testing now (still waiting for two builds to finish, and some free network time), with the devices I have available: Linksys WRT610N, TP-Link WDR4300 and WDR4900. The Linksys might be too weak to show a difference, but I'll find out. So far I've picked r38705 (reported as good by #35), r42165 and AA release (not supported on WDR4900, which is why r38705 is also in the mix, hopefully it will shed some light on the situation).

I plan to follow the wiki article, and do these tests for each revision on each device:
LAN->LAN TCP
LAN->LAN UDP
LAN->WAN TCP
LAN->WAN UDP

LAN->LAN (no NAT involved) is meant as a sanity check of the environment. I plan to do these tests with the default configuration (only applying the changes necessary to actually perform the test), then to disable everything IPv6 related and run the tests again (no particular suspect, just because of the odhcpd issues fixed lately). If anyone has input on my approach, please share.

Re: Barrier Breaker can't break 160+ Mbps down

I did some tests today with my TL-WDR3600. The test setup was comparable to the one alphasparc describes in his wiki article. In addition I did some file transfer tests with a program called "LAN Speed Test". Without the TL-WDR3600 inbetween I hit 850 Mbit, just to check whether client, server and network lines are fast enough for the test.

With both BB RC2 and BB RC3 (in both cases reset to factory defaults) I could not get above 200 Mbit consistently. When starting to do my tests I hit 240 Mbit a few times, but I could not reproduce these results afterwards (maybe the router was cool at this time - strange). Disabling/enabling odhcpd did not change anything. Surprisingly I found RC3 to be slightly slower than RC2 (~10 Mbit less).