OpenVPN client performance is slow and cpu load is only 25%.

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
bales33
DD-WRT Novice


Joined: 21 May 2019
Posts: 1

PostPosted: Tue May 21, 2019 14:43    Post subject: OpenVPN client performance is slow and cpu load is only 25%. Reply with quote
Guys,

I'm trying to setup VPN client on my router to tunnel all internet connection through it. Specs:

Router: NetGear R6400 v2
CPU: Broadcom BCM4708C0 (1 GHz, 2 cores)

Configuration:




On my desktop, i'm reaching around 100mb/s.
While running on router i get only around 30 mb/s.

During the speedtest load, the router's cpu is only loaded at 25% maximum (0.25). So it looks like the cpu is not the problem.



What might be the reason for such degradated performance?
Can i do anything to improve it?
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12889
Location: Netherlands

PostPosted: Tue May 21, 2019 16:30    Post subject: Reply with quote
I have an R6400v2 running OpenVPN to PIA it will get me max 35Mb/s when it is not doing anything else and with AES 128.

If you want faster VPN speed you need a faster router like an R7800.

I saw an interesting paper by Jason Donenfeld (Wireguard) and one of the reasons it is much faster is that everything is done in kernel space.
So the switching between user and kernel space looks like one of the main culprits of slow performance of OpenVPN on these simple ARM cores

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum