Our own technology
Many software BNGs reach high speeds by taking the network ports away from the operating system and letting some CPU cores poll them at 100% all the time, busy or idle. Dandy took another way. The Dandy LineRate Engine handles the subscriber packets right where the network card hands them over, before the normal network stack, and passes everything else on as usual.
Traditional software data plane (like DPDK) compared with the Dandy LineRate Engine
| Topic | Traditional software data plane (like DPDK) | Dandy LineRate Engine |
|---|---|---|
| CPU use | Cores dedicated to polling the ports run at 100% all the time, even at night with little traffic | The CPU works only when packets arrive; no core is locked away |
| Power and heat | Full CPU load 24×7 | Power follows the traffic |
| Network ports | Ports are taken away from Linux; normal tools (ip, tcpdump, ethtool) do not see them | Ports stay normal Linux ports; all tools keep working |
| Routing and services | BGP, OSPF, ARP, firewall and DNS need extra glue to Linux | Linux routing, BGP / OSPF, firewall and DNS work directly on the same ports |
| Memory set-up | Huge pages reserved at boot, sized by hand | No special memory set-up |
| Network cards | Only cards and firmware on the framework's support list, versions pinned together | Standard drivers of the installed system (Intel X520, XL710, E810) |
| Software updates | Restarting the data plane program stops all traffic until it is back | Updated live: no port reset, open connections stay |
| Other traffic | Must be handed back to Linux through a special interface | Passed on to Linux automatically (for example the box's own traffic) |
| Running it | Specialist tuning: core pinning, huge pages, NUMA | Tuned automatically at install (zero-touch) |
Dedicated-core data planes can push very high packet rates on dedicated hardware. The Dandy LineRate Engine reaches line rate — up to 90 Gbit/s per box with Intel E810 100G cards — without giving up the Linux server around it.
What the engine does for each packet
For every IPv4 packet of a PPPoE subscriber the engine checks the session, applies the subscriber's speed plan, translates the address (carrier-grade NAT with port blocks) and sends it out of the right port, all in one step. NAT logs, the per-user session limit, QoS groups, leased-line caps, firewall rules and DNS redirect work the same as on the kernel path. Logins, RADIUS and accounting are unchanged.
Measured
- About 3 times less CPU per packet than the kernel path; 99% of packets take the engine.
- Per box: up to 90 Gbit/s download with Intel E810 100G cards and 36 Gbit/s with Intel XL710 40G cards.
Turn it on
New V7.4.0 installations start with the engine on. On a box moved up from V7.3.3: set system data-path line-rate and commit, or Config > Data Path in the web panel (the setting is called line-rate). Subscribers stay online. show system data-path shows the ports, subscribers, NAT sessions and packet counters.
