openvpn and system overhead

Wojciech Puchar wojtek at puchar.net
Wed Apr 17 15:37:12 UTC 2019


> 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.

well i know i can divide it to many processes but my question wasn't about 
that, but about it's cpu usage.

most if it is system time. can this overhead be reduced?


>
> 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"
> _______________________________________________
> 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