Trying to use userland pppoe for a DSL connection, I connect fine, and I
can pass small amounts of traffic through the link without issues. But as
soon as I send real traffic through it (a couple hundred Kb/sec of pretty
ordinary DNS and HTTP traffic) latency shoots up to 1500ms and it starts
dropping packets really badly, like 50% or so. Pinging from the openbsd
machine gives lots of:
sendto: No buffer space available
The CPU is 90-95% idle. Using kernel pppoe I can ping flood the default
gateway with 1400 byte packets while sending that same traffic through and
everything is fine, so it isn't the modem/ISP/etc. I know userland pppoe
is obviously going to be slower, but is it supposed to be this bad? I
can't use kernel pppoe as it appears to be causing the machine to lock up
occasionally and require a hard reset.
$ cat /etc/hostname.tun0
rdomain 2 group egress description bell
!/usr/sbin/ppp -ddial -unit0 bell
$ cat /etc/ppp/ppp.conf
default:
set log Phase Chat LCP IPCP CCP tun command
bell:
set device "!/usr/sbin/pppoe -i em2"
set mtu max 1492
set mru max 1492
set speed sync
disable acfcomp protocomp
deny acfcomp
enable lqr
accept lqr
enable mssfixup
set authname "XXXX"
set authkey "XXXX"