[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: openvpn and system overhead
From:       "Andrey V. Elsukov" <bu7cher () yandex ! ru>
Date:       2019-04-23 11:39:10
Message-ID: 86f267de-0edc-ec34-6c46-d087e86a34c1 () yandex ! ru
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]


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


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic