ClearOS Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0020251ClearOSapp-network - Network Settingspublic2018-05-29 06:252018-10-03 07:37
Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
PlatformOSOS Version
Product Version7.4.0 
Target VersionFixed in Version 
Summary0020251: Use kernel mode PPPoE rather than User mode
DescriptionUser 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:

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: [^] (old but gives history) [^] (pros and cons)
Clearcenter ticket 558584
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
NickH (developer)
2018-05-29 14:06

From [^] 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:

- Issue History
Date Modified Username Field Change
2018-05-29 06:25 NickH New Issue
2018-05-29 13:26 user2 Status new => confirmed
2018-05-29 13:27 user2 Target Version => 7.5.0 Updates
2018-05-29 14:06 NickH Note Added: 0007511
2018-10-03 07:37 user2 Target Version 7.5.0 Updates =>