Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Janne Johansson <>
To: Houman <>
Cc: WireGuard mailing list <>
Subject: Re: How to improve Wireguard speed?
Date: Wed, 1 Jun 2022 10:50:48 +0200	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Den ons 1 juni 2022 kl 09:49 skrev Houman <>:
> Hello,
> I'm compiling the latest stable Wireguard on Debian 11.
> git clone
> make -C wireguard-tools/src -j$(nproc)
> sudo make -C wireguard-tools/src install
> However the speed is not that impressive.  I have a VPS with 4 vCores
> and 8 GB RAM on 1 Gbps network.  The VPS is located in London and so
> am I.
> With wireguard enabled I get 117 Mbps
> Without wireguard I get 506 Mbps
> That's a drop of 75%. What are the factors to improve the download rate?

That seems like very poor values, I would make two tests, one local to
the VPS and one test local to the other end (which you left out of the
description) and see which one is the limiting box. People (including
me) have easily gotten speeds at 1-2 gigabit on 10GE networked
computers and VPSes and several gigabits on loopbacks, so the fault is
not simply using wireguard.

If you check the results of the nightly builds for x86_64 at you find several iperf3 runs
that end up over 2-3 Gbit/s when a box is talking "to itself" so it's
not the crypto or the tunnel that prevents you from filling up the
gigabit link. Perhaps the VPS isn't giving you a lot of cpu? Perhaps
the test reacts poorly to the lowered MTU for using (any) tunnel in

May the most significant bit of your life be positive.

  reply	other threads:[~2022-06-01  8:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-01  7:42 Houman
2022-06-01  8:50 ` Janne Johansson [this message]
2022-06-01  9:07   ` Houman
2022-06-01  9:51     ` Roman Mamedov
2022-06-01 11:40       ` Houman
2022-06-01 12:41         ` Frank Carmickle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='' \ \ \ \
    --subject='Re: How to improve Wireguard speed?' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).