Joined: 10 Sep 2014
|Posted: Wed Sep 10, 2014 9:53 am Post subject: slow ipsec/l2tp/ppp speeds [update]
I tested the 3.10 kernel also. 3.10 behaves correctly, I have 5.5MB/s average download speed over VPN.
Any Ideas what might have changed? the kernel .config was basically copied and pasted around.
I'm new here, so there. Using gentoo for a long long time, always got everything going smoothly
using the manuals, but this time I'm completely stuck.
I'm trying to set-up a l2tp/ipsec VPN server. Emerged the system and needed packages:
I had the kernel configured, if needed I'll paste it later.
lns-pppd-opts "10.3.15.2: mtu 1410 mru 1410 require-mschap-v2 refuse-mschap nodefaultroute asyncmap 0 auth hide-password lock debug proxyarp"
charondebug="cfg 3, chd 3, knl 3, lib 3"
left=188.8.131.52 (ip of my vpn server)
chap-secrets is populated with logins/passwords and ips.
Everything basically works. I can connect using Windows, Android and Linux, logs show no errors (ppp devices show up with correct ips).
But the download/upload speeds at the client side are at most 300KB/s. Which is terribly slow for two quad core 3Ghz Xeons.
I should be getting around 6MegaBytes per second over VPN (WAN on my VPN and my test client is 100Mbit) .
Let me note, that right now I'm on kernel 3.14. On 3.12 the connection was slightly faster - I was getting around 1MB/s. Still not acceptable, but
a lot better.
Let me add that I ruled out CPU issues. All cores are mostly idle, the rp-l2tpd process sits at about 5% utilization.
What could be the cause? can anyone help me out?