OpenWrt Forum Archive

Topic: Gigabit WAN Capable Hardware.

The content of this topic has been archived on 2 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I'm shortly going to be moving into an apartment where I will have the good fortune to have a 1000mbps down/100mbps up connection. I want to make the most of this and not have my throughput restricted by my router. I fear that my trusty WZR-HP-AG300H will be over-stretched by this task. So I'm looking for hardware recommendations. My requirements are simple:

- fastest 802.11ac wireless possible
- full speed throughput from WAN to LAN.

From what I have read, I understand that NAT performance may be an issue. The higher-performance routers use hardware NAT acceleration that OpenWRT can't support due to lack of open drivers, and even the fastest consumer router CPUs are likely to struggle doing software NAT at the throughput rates I require.

So does anyone know of any reasonably priced routers out there that are actually capable of this level of performance whilst running OpenWRT? Or would I be better off building my own with a small form-factor x86 PC solution?

Check out TP-LINK WR3600 and read a bit more on openwrt forum, there are LOTS of similar questions and lots of answers already.

Update: for that kind of speeds I couldn't find any wifi route that could handle more than 80Mbps and I tested quite few of them...

Only device that had enough power to get more that 100Mbps was Banana Pi Router BPI-R1! Get it and you won't be disappointed:
http://www.banana-pi.com/eacp_view.asp?id=64

(Last edited by valentt on 26 Apr 2015, 23:33)

Probably best off with a low powered x86 system if you want to handle those speeds, especially with any sort of QoS functionality (and even with those high speeds, you may still want QoS).

drawz wrote:

Probably best off with a low powered x86 system if you want to handle those speeds, especially with any sort of QoS functionality (and even with those high speeds, you may still want QoS).

Yes, I'm close to reaching that conclusion. I will definitely want QOS, as I'll have bittorrent sharing the network with VOIP. In any case, I don't want a router that goes flat out just to keep up with my connection, I want one with some headroom to spare, in case I want to make it do more clever stuff in future. Price also comes into it. With some of the top-end consumer routers now approaching £250, the economic case for going x86 instead stacks up well. From a logistical viewpoint, I can also see advantages to moving back to an old-fashioned "one box per task" approach, rather than all-in-one.

- Separate router, placed in a convenient location between the incoming WAN and the switch.
- Separate Gigabit switch, placed in the best location for cable runs in the apartment.
- Separate 802.11ac access point, placed in the best location(s) for signal propagation (maybe a ceiling mount).

The PCEngines APU looks attractive, but valentt's suggestion of the Banana Pi is completely new to me and also looks interesting.

The biggest problem I have here is trying to assess the relative bang for buck with all the different architectures out there. Will an APU have the power to do software NAT at gigabit speeds easily? how do it's dual 1GHz AMD Bobcat cores compare to the dual 1GHz A20 ARM Cortex A7 cores in the Banana Pi? The temptation is to assume that x86 = much more powerful, but that's probably a very dangerous assumption to make these days.


Edit: I should have read the APU wiki page more thoroughly. It has benchmarks that show the APU Doing NAT at close to gigabit line speed with 80% CPU utilization, running an OpenWRT image that was only using one core. So at least that answers my question, it certainly suits my needs, but how does it compare on price/performance to other options?

http://wiki.openwrt.org/toh/pcengines/apu

(Last edited by Degeneratescum on 27 Apr 2015, 14:44)

Degeneratescum wrote:

but valentt's suggestion of the Banana Pi is completely new to me and also looks interesting.

Just forget the Banana Pi, which is an Allwinner A20 SOC coupled with a Broadcom switch chip. As long as your data can be handled exclusively by the Broadcom switch, performance should be fine - but once your data needs to go to the A20 SOC (which is needed for routing, NAT, firewall, etc.), you're limited to the A20's single gmac - which can't sustain more than 300-400 MBit/s throughput.

The concept of the Banana Pi is really nice, but the Allwinner A20's ethernet I/O options simply aren't fast enough to do anything interesting with multiple GBit/s interfaces at line speed (and for routing, you need at least two interfaces, WAN and LAN). The attached Broadcom switch chipset is just that, a (managed) switch, without an option for advanced filtering or routing - which has to go through the single SOC ethernet. In practice it might work fine up to ~100 MBit/s WAN speeds, perhaps even up to 200 MBit/s, (depending on what you actually want to do on the A20) and everything else offloaded to the vlans of the Broadcom switch chipset, but anyything that needs to go through the SOC gmac simply can't cope with full GBit/s throughput.

[Disclaimer, I haven't played with the Banana Pi router board so far, but am roughly familiar with the Allwinner A10/ A20 SOCs]

(Last edited by slh on 27 Apr 2015, 19:05)

I don't think any of the slower ARM CPUs will be up to the task. Maybe MAYBE the 1.2 GHz dual core ARM in the Linksys WRT1900AC, but I'm quite confident the PC Engines APU would still be faster.

drawz wrote:

I don't think any of the slower ARM CPUs will be up to the task. Maybe MAYBE the 1.2 GHz dual core ARM in the Linksys WRT1900AC, but I'm quite confident the PC Engines APU would still be faster.

And cheaper. The UK distributors of the APU seem way overpriced, I just found out I can buy a 2GB APU, case and PSU from Germany for £125 including VAT and international shipping. I could add an AC wireless card to that and still come out cheaper than the £200 a WRT1900AC sells for.

The APU looks like the winner by a long way!

Does anybody of you own APU or are you just talking your opinions ?

My money is on BananaPi Router, so lets benchmark them and see which board is faster and more capable.

valentt wrote:

Does anybody of you own APU or are you just talking your opinions ?

slh gave an opinion based on knowledge of the technical parameters of the BananaPi chip. That's not random speculation.


valentt wrote:

My money is on BananaPi Router, so lets benchmark them and see which board is faster and more capable.

You realise we're talking about a 1000mbps connection here? The APU has been benchmarked doing NAT at speeds of 935mbps. You talked about the BananaPi doing "over 100mbps" above. You're out by a factor of 10.

(Last edited by Degeneratescum on 28 Apr 2015, 14:02)

with Realtek RTL8111E forgot it max speed 800mbit to SOC

and everything i kown that support this speed 1GBS wan + qos is not cheap 1000€ + and not running well with openwrt

(Last edited by trismo on 28 Apr 2015, 22:16)

trismo wrote:

with Realtek RTL8111E forgot it max speed 800mbit to SOC

and everything i kown that support this speed 1GBS wan + qos is not cheap 1000€ + and not running well with openwrt

Well, I'm not going to be spending that amount on hardware. The APU looks to be the most powerful option within my price range.

The benchmarks others have run suggest higher throughput than your 800mbit ceiling. The hardware should be capable, maybe the drivers have been improved.

Small form factor PC all the way.

My company recently ported OpenWRT over to a MITX based PC.  Dualcore hyperthreaded 1.8GHz Atom.

It pegged out a gigabit interface with NAT speed tests @ 10-15% CPU a thread.  We actually had to test multiple Wan/Lan simultaneously to saturate the CPU with just NAT.

Long story short 1750Mbps @ 175,000 PPS @ 1500 Byte Packets

Runs barrier breaker 14.07.

Costs <400$

(Last edited by hoovey316 on 30 Apr 2015, 01:25)

For home I'm fine with 1/4 of the price, 1/4 of performance and 1/4 power bill with running EdgeRouter Lite or BananaPi Router version with 5 ports.

For SMB businesses I would also go with same setup, only for some bigger company I would chose PC. PCs are nice but overkill and too big TCO.

(Last edited by valentt on 31 Oct 2015, 23:40)

Fast Path on LEDE:

forum.lede-project.org/t/qualcomm-fast-path-for-lede/4582

The discussion might have continued from here.