openvpn and system overhead

Andrey V. Elsukov bu7cher at yandex.ru
Tue Apr 23 11:40:46 UTC 2019


On 17.04.2019 21:09, Jim Thompson wrote:
> and twice the number of context switches.  Making things worse, the
> “IP stack” inside OpenVPN is single-threaded, and processes one
> packet at a time, so all the overheads accrue to each packet, rather
> than being amortized across several packets.

Hi,

Have you thought to hack openvpn to use SO_REUSEPORT_LB and then run
several processes to service several tunnels?

-- 
WBR, Andrey V. Elsukov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20190423/303d76c2/attachment.sig>


More information about the freebsd-hackers mailing list