[RP-PPPoE] High load + kernel mode
Balint Cristian
cbalint at cablesat.ro
Sun Feb 7 22:14:48 EST 2010
>
> What can I do to 'improve' the situation? Will moving to kernel-mode
> pppoe 'reduce' the load on the server? Note that each pppoe process
> consumes from 1.9 to 2.8% CPU right now - no other process consumes
> that much.
_defenatly_ move to kernel mode !!!
- Than all your problems gone like charm !
I am using with >700 users, at peak rates up to 120Mbit with near 1-3%
overall CPU (allmost nothing, ospfd uses most redistributing /32). As far
packets per second doesnt kill CPU it can go beyond 1.000 users even 2.000
(Around 250 kpkt/s any CPU will die in forwarding, so users number depends
how much band have each users and what is peak rate in pkts/s wich ends in
IRQ/second CPU kill)
I builded some custom ppp and rp-pppoe packages from src.rpm, and never
ever use usermode ppp only kernel mode !
Last Hint for high performance (not trivial):
- Don-t forget to have irqbalance daemon started, and have 2 physical NIC,
only if possible (use VLANs instead) so if you have e.g 2 CPU or a dual
core one, IRQ of NIC gets nicely balanced over the two cores/ two CPUs and
you'll get no performance capping at very high peak rates.
More information about the RP-PPPoE
mailing list