ArcBox Labs 团队发现,Ubiquiti UniFi 网关在 PPPoE 连接模式下存在严重的性能限制[1]。经调查,问题根源在于多数 UniFi 设备的 CPU 不支持 PPPoE 硬件加速,导致拨号处理被限制在单线程中运行,即使在多核处理器上也无法充分利用计算资源[1]。
为解决这一瓶颈,该团队开发了 PPPoE 半桥解决方案[1]。该方案的核心思路是将 PPPoE 拨号卸载到外部设备(如运行 OpenWrt 的路由器),而 UniFi 网关则通过 DHCP 协议获取公网 IP 地址,从而绕过 CPU 限制[1]。测试结果显示,采用该方案后性能得到显著提升[1]。
具体而言,不同型号 UniFi 设备在标准 PPPoE 模式下的速度表现各异[1]。UDM Pro/SE 通常达到 1200-1500 Mbps,UDM Pro Max 达到 1400-1800 Mbps,EFG 达到 1400-2400 Mbps[1]。相比之下,搭载 MediaTek Filogic 880 SoC 的 UCG Fiber 因其硬件优势可超过 5000 Mbps[1]。通过应用 PPPoE 半桥方案,测试中已验证可突破 5000 Mbps 的吞吐量[1]。
ArcBox Labs has identified and addressed a significant performance limitation affecting Ubiquiti UniFi gateways when operating over PPPoE connections.[1] The team discovered that most UniFi devices are constrained by CPU hardware that lacks support for PPPoE acceleration, resulting in substantially reduced throughput across their product line.[1] The UDM Pro and UDM Pro SE typically achieve speeds between 1200 and 1500 Mbps over PPPoE, while the UDM Pro Max ranges from 1400 to 1800 Mbps, and the EFG reaches between 1400 and 2400 Mbps.[1] Only the UCG Fiber, equipped with a MediaTek Filogic 880 SoC, exceeds 5000 Mbps due to its superior processor capabilities.[1]
The root cause stems from PPPoE processing being confined to a single thread, which prevents multi-core CPUs from being fully utilized despite their available capacity.[1] To overcome this limitation, ArcBox Labs developed a PPPoE half-bridge solution that offloads PPPoE authentication to an external device, such as one running OpenWrt, allowing the UniFi gateway to obtain its public IP address through DHCP instead.[1] This architectural workaround bypasses the CPU constraint entirely.[1] Testing of the PPPoE half-bridge approach demonstrated throughput exceeding 5000 Mbps, effectively resolving the performance bottleneck that had previously affected standard UniFi deployments.[1]