Development discussion of WireGuard
 help / color / mirror / Atom feed
* freebsd - cpu consumption?
@ 2021-04-14 18:00 Osku Sneits
  2021-04-14 20:21 ` Jason A. Donenfeld
  0 siblings, 1 reply; 2+ messages in thread
From: Osku Sneits @ 2021-04-14 18:00 UTC (permalink / raw)
  To: wireguard

Dear all,

has anyone else noticed the CPU consumption on FreeBSD kernel Wireguard?

For my test link, there is a net speed of 200 Mbit/s.

On esxi based host, transferring inside Wireguard tunnel, full speed
takes about 90% of xeon d-1541 host.

Doing this on CentOS 7, takes less than 20% of the same host.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: freebsd - cpu consumption?
  2021-04-14 18:00 freebsd - cpu consumption? Osku Sneits
@ 2021-04-14 20:21 ` Jason A. Donenfeld
  0 siblings, 0 replies; 2+ messages in thread
From: Jason A. Donenfeld @ 2021-04-14 20:21 UTC (permalink / raw)
  To: Osku Sneits; +Cc: WireGuard mailing list

Hi Osku,

We'll switch to using FreeBSD's opencrypto at some point, at which
point the performance will improve. Right now we're using boring
unoptimized reference implementations.

See https://lists.freebsd.org/pipermail/freebsd-hackers/2021-March/057076.html
for more info. So far nobody has stepped up to contribute code there.

Jason

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-14 20:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-14 18:00 freebsd - cpu consumption? Osku Sneits
2021-04-14 20:21 ` Jason A. Donenfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).