ClearFoundation Tracker - ClearOS
View Issue Details
0020251ClearOSapp-network - Network Settingspublic2018-05-29 06:252021-11-11 05:45
NickH 
 
normalfeaturehave not tried
closedsuspended 
7.4.0 
 
0020251: Use kernel mode PPPoE rather than User mode
User mode PPPoE uses considerably more resources and appears to restrict the speed of PPPoE connections more than kernel mode. As an example, on a Core-i5 machine, the ppp0 process consumed 35% CPU while limiting connection speeds to about 290Mbps on a 1000Mbps connection. Switching to Kernel Mode increased the speed to c. 790Mbps and CPU usage was not noticeable (did not appear in "top").

These days 1000Mbps connections are becoming more common and ClearOS is restricting their use.

All that is needed to enable Kernel Mode support is to add a line:
LINUX_PLUGIN=/usr/lib64/pppd/2.4.5/rp-pppoe.so
to:
/etc/sysconfig/network-scripts/ifcfg-pppX

It could either be done for all pppX interfaces or by a preference.

Going back in time, Kernel Mode PPPoE was developed during the 2.2/2.3 kernels and was released mainstream in 2.4 so it is well tried and tested. There is more information in the rp-pppoe sources.
References:
https://www.usenix.org/legacy/publications/library/proceedings/als00/2000papers/papers/full_papers/skoll/skoll_html/index.html [^] (old but gives history)
http://openbsd-archive.7691.n7.nabble.com/advantages-disadvantages-of-kernel-pppoe-4-vs-userland-pppoe-8-td13288.html [^] (pros and cons)
Clearcenter ticket 558584
No tags attached.
Issue History
2018-05-29 06:25NickHNew Issue
2018-05-29 13:26user2Statusnew => confirmed
2018-05-29 13:27user2Target Version => 7.5.0 Updates
2018-05-29 14:06NickHNote Added: 0007511
2018-10-03 07:37user2Target Version7.5.0 Updates =>
2021-11-11 05:45NickHNote Added: 0016241
2021-11-11 05:45NickHStatusconfirmed => closed
2021-11-11 05:45NickHResolutionopen => suspended

Notes
(0007511)
NickH   
2018-05-29 14:06   
From https://www.linuxquestions.org/questions/blog/kostya-519950/pppoe-roaring-penguin-vs-kernel-pppoe-issues-and-solutions-3565/ [^] and Ben's testing it needs a firewall rule:
iptables -t mangle -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu

Also from the same article it looks like the plugin can be invoked from /etc/ppp/options
with a line:
plugin rp-pppoe.so
(0016241)
NickH   
2021-11-11 05:45   
Migrates to https://gitlab.com/clearos/clearfoundation/app-network/-/issues/21 [^]