Interesting ERL performance observation

iroc409

[H]ard|Gawd
Joined
Jun 17, 2006
Messages
1,387
I have an ERL at home with a 50mbit Comcast connection, running the stock 1.5 firmware. I didn't realize VLAN traffic wasn't set to offload by default from the factory. I was downloading a file, and getting the full speed, but the web server was completely unavailable during a fairly large download at about my line's speed.

Since I could not get to the web interface, I couldn't really see what was going on. However, after the incident I figured out the VLAN offload, enabled it, and since had no issues whatsoever with getting onto the web interface during a download.

I just thought this was an interesting observation. I know there have been reported successes with alternative OSes on these devices with much higher transfer rates, so it really surprised me that a transfer of about 55Mb/s would overwhelm the device.

I suppose it could have been a configuration error, but I'm not really running anything significant other than a couple VLANs and the typical ACL firewall--no proxy, or anything like that.
 
As I said before, the firmware isn't great and it still only a dual core 500Mhz MIPS64-box at the end of the day. Mine does about 250mbit/s without any tweaking at all running FreeBSD. I would love to try OpenWRT on it now that support exists.
//Danne
 
250 is quite low. One should get AT LEAST 500 with NAT with stock firmware.
 
Not to thread jack but....

Have any of you with erls tried to access the web interface from an iOS 8 device?
 
@ /usr/home

Not really, that's expected without any hardware assistance. It would however be interesting to know how OpenWRT performs on it.
//Danne
 
As I said before, the firmware isn't great and it still only a dual core 500Mhz MIPS64-box at the end of the day. Mine does about 250mbit/s without any tweaking at all running FreeBSD. I would love to try OpenWRT on it now that support exists.
//Danne

250 is quite low. One should get AT LEAST 500 with NAT with stock firmware.

Are you guys talking about wan to lan throughput?
 
Why not post this on their forum? You'll get much better replies.

Yeah, I haven't registered on their forum and we have a lot of ERL users here, but I probably should. Their devs are active on their forums. Turning on the offloading fixed it, so there's not much to do, and they seem to be pretty actively optimizing it.

As I said before, the firmware isn't great and it still only a dual core 500Mhz MIPS64-box at the end of the day. Mine does about 250mbit/s without any tweaking at all running FreeBSD. I would love to try OpenWRT on it now that support exists.
//Danne

I'd still like to get FreeBSD on mine, but I just keep getting into other projects right now so it's a low priority.

I was just surprised that at only 50Mbit it pretty much ground the device to a halt. I couldn't even get a "service unavailable" error or anything--it just flat wouldn't respond. I may have been able to get into it via SSH at the time, but I didn't even think about it because that wouldn't have done anything for me at the time.

I've heard reports of using it as a firewall with hundreds of devices behind it, people using HTTP proxy and URL blocking on the device (though it can take several minutes to update a block list), but this was just a single device downloading a couple ISOs. Obviously their ASICs do their job, as I've seen reports of mid-900Mbit on Google Fiber with these. Ultimately though these were designed initially to be strictly a router, and I think they are being pressed for all the other features due to the price point and so forth.

I am curious about their ASICs. I was under the impression that they are pretty job-specific, like forwarding traffic, but it seems like they keep adding features that their ASICs can handle--like VPN encryption, etc. I guess I assumed an ASIC would either be good at encryption (like the AES-Ni instruction set), or forwarding traffic--but not both.
 
Yeah, I haven't registered on their forum and we have a lot of ERL users here, but I probably should. Their devs are active on their forums. Turning on the offloading fixed it, so there's not much to do, and they seem to be pretty actively optimizing it.



I'd still like to get FreeBSD on mine, but I just keep getting into other projects right now so it's a low priority.

I was just surprised that at only 50Mbit it pretty much ground the device to a halt. I couldn't even get a "service unavailable" error or anything--it just flat wouldn't respond. I may have been able to get into it via SSH at the time, but I didn't even think about it because that wouldn't have done anything for me at the time.

I've heard reports of using it as a firewall with hundreds of devices behind it, people using HTTP proxy and URL blocking on the device (though it can take several minutes to update a block list), but this was just a single device downloading a couple ISOs. Obviously their ASICs do their job, as I've seen reports of mid-900Mbit on Google Fiber with these. Ultimately though these were designed initially to be strictly a router, and I think they are being pressed for all the other features due to the price point and so forth.

I am curious about their ASICs. I was under the impression that they are pretty job-specific, like forwarding traffic, but it seems like they keep adding features that their ASICs can handle--like VPN encryption, etc. I guess I assumed an ASIC would either be good at encryption (like the AES-Ni instruction set), or forwarding traffic--but not both.


The ERLs likely shipped with AES offload hardware in place, it is more a matter of getting the software libraries updated/recompiled to use it. Regarding forwarding, I know my ERL can handle nearly line rate gigabit throughput, that's all done by the ip offload hardware though. If you put a new OS on it, or even enable some forwarding rule that doesn't use the ip offload hardware the performance drys up pretty fast as noticed by others in this thread. I don't know if has been fixed but bridged packets were another thing the ERL didn't handle well because it skipped the hardware acceleration. Using an ERL for bridging is silly though.
 
Back when we had an ERL providing NAT/DHCP for the NOC offices we were able to pull line rate Gig through it. 1.3-4ish firmware I think. IPv4 and IPv6 offload enabled. No ACL's, Just NAT and DHCP.

This was via the internet (Bittorrent testing).. Yes, We're an ISP. It really was Gigabit to the internet. And from our web cluster doing http centos downloads. Which is in the same datacenter.
 
The ERLs likely shipped with AES offload hardware in place, it is more a matter of getting the software libraries updated/recompiled to use it. Regarding forwarding, I know my ERL can handle nearly line rate gigabit throughput, that's all done by the ip offload hardware though. If you put a new OS on it, or even enable some forwarding rule that doesn't use the ip offload hardware the performance drys up pretty fast as noticed by others in this thread. I don't know if has been fixed but bridged packets were another thing the ERL didn't handle well because it skipped the hardware acceleration. Using an ERL for bridging is silly though.

I'm sure they came with the ASICs, but from the pictures I've seen there's not much in them, so I can't imagine they can keep pulling rabbits out of the hat. I guess it's the feature-incomplete "enterprise grade" firmware that came with them that kind of throws me for a loop.

Back when we had an ERL providing NAT/DHCP for the NOC offices we were able to pull line rate Gig through it. 1.3-4ish firmware I think. IPv4 and IPv6 offload enabled. No ACL's, Just NAT and DHCP.

This was via the internet (Bittorrent testing).. Yes, We're an ISP. It really was Gigabit to the internet. And from our web cluster doing http centos downloads. Which is in the same datacenter.

I'm pretty sure they were intended to just be routers, and they are very good at that. Their price pushes them into a lot of roles I don't think they were meant for, like Snort & Squid.

DHCP seems to be really slow on mine when a machine wakes up, and I've read other complaints about slow DHCP. It's somewhat obnoxious.
 
I'm pretty sure they were intended to just be routers, and they are very good at that. Their price pushes them into a lot of roles I don't think they were meant for, like Snort & Squid.

DHCP seems to be really slow on mine when a machine wakes up, and I've read other complaints about slow DHCP. It's somewhat obnoxious.

Agreed, I never understood the pile it all on one device mentality. But I also work in an environment where throwing money at something to bring it up to "Best Practices" isn't a big deal.

Strange, I never had any DHCP issues that I recall. But the NOC machines never really turn off. So if I was going to notice DHCP slowness anywhere, It'd be on the wireless with mobile devices. Which would've had 5-10 minutes of parking lot walking, Saying goodmorning...Putting my lunch in the fridge..etc before I even would've tried to use it.
 
I have a ER Poe and I've notice the slow dhcp too at times. Doesn't happen all the time, but sometimes it takes a good 30 seconds to get a dhcp address.
 
Devman has it right.

Without the HW accelarated binaries and code, the ERL is a slow 500 mips device.


The firmware focus appears to be 90% bug fixes and 10% new functionality.

The ios bug is know and is on the list of things to resolve. Might actually be fixed in the 1.6 release.

There's are DHCP issues when running IPv6, but there's significant work towards fixing those in issues in 1.6.

The ERL is a $99 box.

If you want more performance look at the EdgeRouter Pro. $368 at amazon.

The Pro model is like $60 more than the non pro and you get more RAM and the SFP ports.

Last report I received showed speeds over 50Mbit for open VPN on a Edgerouter pro

More importantly is that when running alternate firmware it's not a complete dog. Unlike the ERL.
 
Last edited:
Back
Top