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

Just flashed my WNDR3800 from Attitude Adjustment (where I could reach 300+ Mbps down on speedtest.net) to Barrier Breaker, where I can't break 160 Mbps. I've done no configuration and this is on my wired connection (NOT wireless).

Why could Barrier Breaker be that much slower?

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

All those "speed tests" e.g. speedtest.net are crap..

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

Try disabling odhcpd: /etc/init.d/odhcpd stop

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

@jow that brought me up to 200 Mbps, but I'm assuming that's just a temporary fix? Is it possible to regain the other 100 Mbps?

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

@written_direcon I know they're not accurate, but it's indicative of something, I'm sure.

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

Well seems like the barrier,barrier breaker needs to break is 300Mbps...

7 (edited by devinus 2014-07-20 13:34:02)

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

@alphasparc Unfortunately the only barrier I need it to break is 160 Mbps...

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

Which version is Barrier Breaker?

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

@pwr22 14.07 RC1

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

@devinus

Have you tried an older attitude adjustment build for comparison? I know some users have reported a quite noticable throughput degradation from AA to BB (I'm thinking it's kernel 3.8 -> 3.10 that caused it).

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

See also https://forum.openwrt.org/viewtopic.php?id=45864 (was just reading that myself)

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

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

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

@arokh That's exactly that happened. AA was able to utilize the full 300 Mbps, switching to BB brings that down to 160 Mbps.

@CyrusFF My only concern is that even when I stopped odhcpd, I was only able to get 200 Mbps.

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

Another anecdote: while running the speed test, the CPU utilization on BB is way higher than on AA.

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

@CyrusFF

odhcpd is not the only source of performance degradation. The fix for odhcpd is to not open packet socket unless needed, I think if you actually use IPv6 you will have the same problem but not sure.

Did someone try to connect any equipment to their WAN port and do a transfer without NAT?

I wonder if 3.14 is any better, guess we will have to wait and see. I gave it a shot updating the patches but some important ones were a bit complicated.

16 (edited by devinus 2014-08-01 01:35:37)

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

@CyrusFF It seems RC2 hasn't fixed all the sources of performance degradation as @arokh predicted. I'm never able to break 200 Mbps while on Attitude Adjustment I get 300+ Mbps.

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

This was my latest result after the odhcpd was fixed,
http://i.imgur.com/uk8gbkh.png
I did tried /etc/init.d/odhcpd stop and the speed remains the same meaning it was fixed.
Note that the test I ran was with all my installed services disabled out of box.

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

My ISP now offers 300Mbps service in my area.  Does anyone know of any Barrier Breaker compat router hardware that will keep up with 300Mbps down?  I don't care about doing wifi or even LAN switching on same router as I used a dedicated switch and separate dedicated openwrt wifi router for those tasks -- I just need a fast BB router to connect my cable modem to my LAN for firewall purposes.  I don't even care about IPV6, at least not yet.

Thx.

19 (edited by alphasparc 2014-08-01 04:48:26)

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

To be honest I don't think there is any.
On Attitude Adjustment my WR1043ND could hit 300+Mbps and the WDR4300 could hit ~400Mbps
On Barrier Breaker as above WR1043ND could only hit 200+Mbps and WDR4300 could only hit ~250+Mbps
And keep in mind my WR1043ND is overclocked at 430MHZ (+30MHZ from stock) and my WDR4300 is overclocked at 710MHZ(+ 150MHZ from stock).
I even tried renicing the softirq (the process which has the most activity during software NAT) to -19 (the max priority) but it was no use.
The outcome was that the NAT graph was smoother and unlike the default priority the system locked up during NAT just like Attitude Adjusment was but there was zero performance difference.
So I believe the problem was something else limiting the NAT performance.

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

I haven't tested it recently but my WDR4900 hit 416Mbps using a BB snapshot last July.

There have been substantial code changes since so i don't know if it still performs that well.

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

According to the CeroWRT developers routing does increase performance over bridging, but i had assumed it would only be noticeable on the WLAN. Seems not.

Interesting will test when i get home.

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

I know some of the primary devs have dismissed hardware nat acceleration as "messy", but that seems to be the trend in new hardware handling these higher speeds instead of faster CPUs.  I would think that hardware accelerated nat for the bulk of traffic over established TCP connections would be a huge perf gain while software nat could still be used for negotiating TCP connections and everything else (UDP, IGMP, DHCP, etc).  Or maybe I completely misunderstand the performance bottleneck.

23

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

The devs dismissed *the existing software implementation of* hardware nat accelleration as messy. Thats a difference to dismissing the entire approach.

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

alphasparc wrote:

To be honest I don't think there is any.
On Attitude Adjustment my WR1043ND could hit 300+Mbps and the WDR4300 could hit ~400Mbps
On Barrier Breaker as above WR1043ND could only hit 200+Mbps and WDR4300 could only hit ~250+Mbps
And keep in mind my WR1043ND is overclocked at 430MHZ (+30MHZ from stock) and my WDR4300 is overclocked at 710MHZ(+ 150MHZ from stock).

WRT1900AC

1.2Ghz dual core.

Runs Openwrt. Wireless is f***ed but hey the guy said he didn't care about switch or wireless :-P

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

tmcg wrote:

I know some of the primary devs have dismissed hardware nat acceleration as "messy", but that seems to be the trend in new hardware handling these higher speeds instead of faster CPUs.  I would think that hardware accelerated nat for the bulk of traffic over established TCP connections would be a huge perf gain while software nat could still be used for negotiating TCP connections and everything else (UDP, IGMP, DHCP, etc).  Or maybe I completely misunderstand the performance bottleneck.

It's the trend because it's faster and more efficient to produce dedicated hardware to do a job than doing it on a general purpose CPU.

Personally I took the brute force approach and shoved a dual-core 2.26Ghz x86 CPU in my router.