Date: Tue, 23 Apr 2019 14:39:10 +0300 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Jim Thompson <jim@netgate.com>, Wojciech Puchar <wojtek@puchar.net> Cc: Mark Millard via freebsd-hackers <freebsd-hackers@freebsd.org>, Miroslav Lachman <000.fbsd@quip.cz> Subject: Re: openvpn and system overhead Message-ID: <86f267de-0edc-ec34-6c46-d087e86a34c1@yandex.ru> In-Reply-To: <94EA4F3F-4D78-4E08-9AF8-441B957A4749@netgate.com> References: <alpine.BSF.2.20.1904171707030.87502@puchar.net> <8648d069-2172-2c09-8e59-d66a8265a120@quip.cz> <alpine.BSF.2.20.1904171753480.98262@puchar.net> <94EA4F3F-4D78-4E08-9AF8-441B957A4749@netgate.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --a1OaN7DaIXPHprHcgTiFdsnJuTVuFRbcj Content-Type: multipart/mixed; boundary="2c8cyYmu0Lx0KSbLwR5MxPi9QqZI8qNbA"; protected-headers="v1" From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Jim Thompson <jim@netgate.com>, Wojciech Puchar <wojtek@puchar.net> Cc: Mark Millard via freebsd-hackers <freebsd-hackers@freebsd.org>, Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <86f267de-0edc-ec34-6c46-d087e86a34c1@yandex.ru> Subject: Re: openvpn and system overhead References: <alpine.BSF.2.20.1904171707030.87502@puchar.net> <8648d069-2172-2c09-8e59-d66a8265a120@quip.cz> <alpine.BSF.2.20.1904171753480.98262@puchar.net> <94EA4F3F-4D78-4E08-9AF8-441B957A4749@netgate.com> In-Reply-To: <94EA4F3F-4D78-4E08-9AF8-441B957A4749@netgate.com> --2c8cyYmu0Lx0KSbLwR5MxPi9QqZI8qNbA Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 17.04.2019 21:09, Jim Thompson wrote: > and twice the number of context switches. Making things worse, the > =E2=80=9CIP stack=E2=80=9D inside OpenVPN is single-threaded, and proce= sses 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? --=20 WBR, Andrey V. Elsukov --2c8cyYmu0Lx0KSbLwR5MxPi9QqZI8qNbA-- --a1OaN7DaIXPHprHcgTiFdsnJuTVuFRbcj Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAly++V4ACgkQAcXqBBDI oXrHJAf/fiBc+s7jLm8wsPVAee+oD5YraKVscrWXq5EL+Niwd09a2GmFj8805Bc4 RBHlE6IOpLu0FhW8iLf0y1kqN2/QB1MNir2moC1Umz3XQnZe/TXfeIPJNoVSxIlM iMjxaoKnoxDJWuARLMI1yZEExkm9mFKegn0yB2dFFBuWOYyZbIJrUbRJfo1LOgoX t+LNj7XBGIrcmW2p8qqGWELnYeWEz9dMtUIxd3is2qdbeXOxtnHhN09uDgRf7bXf zEXhdR6KU+Ei54S/1+TM1wgehb8VLdaEOd1WIuihw/0drwO9f6qGd+7zvx38vvTU SXFRN3BNEixWAEin3IDVlhNXIazNPg== =Fb8C -----END PGP SIGNATURE----- --a1OaN7DaIXPHprHcgTiFdsnJuTVuFRbcj--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86f267de-0edc-ec34-6c46-d087e86a34c1>