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

List:       wireguard
Subject:    Re: Very low throughput in *BSDs (but only as a router)
From:       Jonathan =?utf-8?Q?Neusch=C3=A4fer?= <j.neuschaefer () gmx ! net>
Date:       2018-07-21 22:18:05
Message-ID: 20180721221805.GD10598 () latitude
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Hi,

On Fri, Jul 20, 2018 at 08:54:48PM +0000, Lee Yates wrote:
[...]
> To present it visually, in case it makes more sense for the visual
> learners among us:
> 
> # Full speed
> Virtual client OS [wg] > virtual router > real home router > WAN > [wg]
> VPN server
> 
> # Crippled speed
> Virtual client OS > virtual router [wg] > real router > WAN > [wg] VPN
> server

As far as I understand it, the virtual router OS is based on BSD, right?
Are the virtual client OSes that you tested based on Linux?

If that's the case, then the result is quite expected: There is a fast,
in-kernel implementation for Linux[1], but no fast implementation for BSD.
The implementation for BSD is wireguard-go[2], which hasn't really been
optimized.


Jonathan Neuschäfer

[1]: https://git.zx2c4.com/WireGuard/tree/src
[2]: https://git.zx2c4.com/wireguard-go/about/

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

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard


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

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