anaelorlinski / OpenWrt-NanoPi-R2S-R4S-Builds

OpenWRT Builds for NanoPi R2S & R4S from official Openwrt source code with minimal set of patches
MIT License
170 stars 57 forks source link

Weak PPPoE performance #32

Closed D35P4C1T0 closed 2 years ago

D35P4C1T0 commented 2 years ago

Comparing the max connection speed under PPPoE with stock openwrt and with this build I'm getting a solid 50% more when using the latter, but I'm not yet reaching max speed compared to other builds (namely, almost every chinese build with "ACC center", albeit coming with a bunch of bloatware programs I'm not really interested in).

Is there anything I can do to improve PPPoE performance? I've already turned on software and hw flow offloading, packet steering and irqbalance, but it looks like that, whilst doing a speedtest, just one of 4 cores carries the routing load, thus being under 100% load while all the other ones are under 30% utilisation.

Here is a speedtest with htop on the side. Notice core0 being maxed out. 1657612997_grim

anaelorlinski commented 2 years ago

I guess you are using a R2S else there would be 6 cores. My builds focus on stability and don't use the overclocking patches so you might want to re-enable them. Also check the R4S thread on openwrt forums there are tons of discussions regarding assigning some processes to specific CPUs you might get lucky as well. Personally I upgraded from R2S to R4S and I had a huge OpenVPN performance boost but my connection is 300mbps so I cannot test at higher speeds.