[RP-PPPoE] High load + kernel mode

Ulici Alexandru ulici at teleson.ro
Mon Feb 8 02:23:02 EST 2010


Yep .. go kernel mode. I have about 1600-1700 users logged in at the same
time on a 3GHz dual core Xeon.Peak rate 800-850 mbps, 125k pps.Cpu load on
each core about 50%.

alex
>
>>
>> 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.
>
>
>
> _______________________________________________
> RP-PPPoE mailing list
> RP-PPPoE at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/cgi-bin/mailman/listinfo/rp-pppoe
>




More information about the RP-PPPoE mailing list