Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Janne Johansson <icepic.dz@gmail.com>
To: Roman Mamedov <rm@romanrm.net>
Cc: Christopher Bachner <hello@chrisbox.org>,
	WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: Speed on Raspberry Pi 4
Date: Thu, 18 Jul 2019 08:38:54 +0200	[thread overview]
Message-ID: <CAA6-MF8gzQOdo9qxhpBJdcOUZ57bfdA8fCPZTi15XbYvG1pATA@mail.gmail.com> (raw)
In-Reply-To: <20190718015027.00e6010f@natsu>


[-- Attachment #1.1: Type: text/plain, Size: 884 bytes --]

Den ons 17 juli 2019 kl 22:53 skrev Roman Mamedov <rm@romanrm.net>:

> On Sat, 29 Jun 2019 12:38:01 +0200
> Christopher Bachner <hello@chrisbox.org> wrote:
> > In htop I can see that one of the 4 cores is running at 99%. So I assume
> > that is the bottleneck.
> > Is there a way to improve this? I assume it does not matter which side is
> > the server and which is the client?
>
> You can see that the load from WireGuard encryption is about 42-43% per
> each
> core. But the thing is, one of them (the 1st) also gets to process
> interrupt
> load from the NIC, and that consumes the rest of it, causing the
> bottleneck. In
> theory, if you could limit WG to run encryption on all cores EXCEPT the
> first
> one, then maaaaybe...
>
>
With taskset you should be able to:
https://www.howtoforge.com/linux-taskset-command/


-- 
May the most significant bit of your life be positive.

[-- Attachment #1.2: Type: text/html, Size: 1422 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

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

  reply	other threads:[~2019-07-18  6:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-29 10:38 Christopher Bachner
2019-07-17 20:50 ` Roman Mamedov
2019-07-18  6:38   ` Janne Johansson [this message]
2019-07-18  6:56     ` Roman Mamedov
2019-07-18  8:01       ` Janne Johansson
2019-07-18  8:15         ` Matthias Urlichs

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=CAA6-MF8gzQOdo9qxhpBJdcOUZ57bfdA8fCPZTi15XbYvG1pATA@mail.gmail.com \
    --to=icepic.dz@gmail.com \
    --cc=hello@chrisbox.org \
    --cc=rm@romanrm.net \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).