openvpn and system overhead

D. Ebdrup debdrup at gmail.com
Wed Apr 17 15:22:47 UTC 2019


Hi Wojciech,

I believe you might've run into one of the design decisions that was
made by OpenVPN, specifically related to how it exclusively favours
spawning more processes rather than implement any form of threading.

I believe it's currently on the roadmap [1] of things that they would
like to address at one point, but I'm not aware of any work being done
on it at present.

[1]: https://community.openvpn.net/openvpn/wiki/RoadMap#Threading

Daniel Ebdrup aka. D. Ebdrup.

On Wed, Apr 17, 2019 at 5:11 PM Wojciech Puchar <wojtek at puchar.net> wrote:
>
> i'm running openvpn server on Xeon E5 2620 server.
>
> when receiving 100Mbit/s traffic over VPN it uses 20% of single core.
> At least 75% of it is system time.
>
> Seems like 500Mbit/s is a max for a single openvpn process.
>
> can anything be done about that to improve performance?
>
>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"


More information about the freebsd-hackers mailing list