Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Lonnie Abelbeck <lists@lonnie.abelbeck.com>
To: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: [ANNOUNCE] WireGuard Snapshot `0.0.20180620` Available
Date: Wed, 20 Jun 2018 19:22:20 -0500	[thread overview]
Message-ID: <3052A12F-768F-4E3B-AF68-77CB34D58D98@lonnie.abelbeck.com> (raw)
In-Reply-To: <CAHmME9oP5tPNbyYECJN4wgcPc4zg3QE9n2edx_TQQmn5tCbWjA@mail.gmail.com>


> On Jun 20, 2018, at 6:47 PM, Jason A. Donenfeld <Jason@zx2c4.com> =
wrote:
>=20
> Hey Lonnie,
>=20
> Thanks for helping to debug this.
>=20
> On Thu, Jun 21, 2018 at 12:37 AM Lonnie Abelbeck
> <lists@lonnie.abelbeck.com> wrote:
>> Hunk #1 only does the trick, though performance is ever so slightly =
slower than before overall.
>=20
> It's good to hear that hunks #2 and #3 don't have much an effect,
> though it does still seem to have _some_ effect.
>=20
> Looks like hunk 1 is rather worrisome though. Can you try out
> https://=D7=90.cc/eaxxpxbB and let me know if it has any effect?

That patch, as is, is very bad
--
[SUM]   0.00-30.00  sec  1.26 GBytes   360 Mbits/sec   98             =
sender
[SUM]   0.00-30.03  sec  1.25 GBytes   358 Mbits/sec                  =
receiver

I then edited the patch to add back in local_bh_disable() / =
local_bh_enable(), much better
--
[SUM]   0.00-30.00  sec  2.62 GBytes   751 Mbits/sec  1389             =
sender
[SUM]   0.00-30.00  sec  2.61 GBytes   748 Mbits/sec                  =
receiver

essentially back to 0.0.20180531 performance, hunk #1 from previous =
patch and hunk #1 from the latest patch.


> Are you sure
> the benchmark conditions were the same in other respects?

Yes, quite sure, but there is some variation of the iperf3 results on =
each run ... I perform a few runs and then pick a median sample.

Lonnie

  reply	other threads:[~2018-06-21  0:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-20 19:19 Jason A. Donenfeld
2018-06-20 20:11 ` Lonnie Abelbeck
2018-06-20 20:33   ` Matthias Urlichs
2018-06-20 21:24   ` Jason A. Donenfeld
2018-06-20 22:37     ` Lonnie Abelbeck
2018-06-20 23:47       ` Jason A. Donenfeld
2018-06-21  0:22         ` Lonnie Abelbeck [this message]
2018-06-21 13:51           ` Lonnie Abelbeck

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=3052A12F-768F-4E3B-AF68-77CB34D58D98@lonnie.abelbeck.com \
    --to=lists@lonnie.abelbeck.com \
    --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).