|
|||||||||||
|
PPPoE server performance / problem with uploads [long]
From: Wojciech Ziniewicz <wojciech.ziniewicz(at)gmail.com>
Date: Wed Sep 26 2007 - 11:56:05 EDT
I have (about 500 users total and up to 200 pppoe online users at
one time) network based on Mikrotik bridging traffic that is
transported by PPPoE protocol. Uplink is about 30-40 mbits . Software
I use :
beta skrypty # pppd --version
-freeradius 1.1.6 Kernel configuration regarding PPP:
beta skrypty # grep PPP /usr/src/linux/.config
CONFIG_PPP=y
CONFIG_PPP_FILTER=y CONFIG_PPP_ASYNC=y CONFIG_PPP_SYNC_TTY=y CONFIG_PPP_DEFLATE=y CONFIG_PPP_BSDCOMP=y CONFIG_PPP_MPPE=m CONFIG_PPPOE=y * Server load is about 20-30% of system load with loadavg 0.0* About Max 512 of 2048 MBram used *there are 3 interfaces :
Some graphs/benchmarks:
My problem is that i have extremely low transfer (upload from client to the internet) when the client is connected to the internet by pppoe-server . I also have some DHCP users and there is no problem . Typical iptables rule for an user is :
beta skrypty # iptables-save | grep 10.100.2.250
Typical traffic shaping rule of outgoing traffic for an user (here we have 4 mbit rule) beta skrypty # tc class show dev eth0 | grep 4001 class htb 2:4001 parent 2:4 leaf 4001: prio 5 rate 64000bit ceil 4096Kbit burst 4294950117b cburst 2112b Typical rule for incoming traffic :
tc filter add dev imq0 parent 1: protocol ip u32 match ip dst
10.100.2.250 flowid 1:2001
And the route to IMQ interface :
beta skrypty # iptables-save | grep IMQ
What i've tried to do :
Effect : dhcp users having normal transfers (up to 20,30 mbits ;) ) , pppoe users having problems with their uploads
Thanks for your time in advance.
-- -- This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 00:08:14 EDT |
||||||||||
|
|||||||||||