Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2019 17:37:09 +0200 (CEST)
From:      Wojciech Puchar <wojtek@puchar.net>
To:        "D. Ebdrup" <debdrup@gmail.com>
Cc:        freebsd-hackers <freebsd-hackers@freebsd.org>
Subject:   Re: openvpn and system overhead
Message-ID:  <alpine.BSF.2.20.1904171736080.94788@puchar.net>
In-Reply-To: <CANtgGBr83UW_7LDA9==T3XwMYUCUvnpDuf0jrh7n0Pd_0Hoixg@mail.gmail.com>
References:  <alpine.BSF.2.20.1904171707030.87502@puchar.net> <CANtgGBr83UW_7LDA9==T3XwMYUCUvnpDuf0jrh7n0Pd_0Hoixg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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@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@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1904171736080.94788>