<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I've been experimenting a bit with Wireguard on several ubuntu systems, and am not seeing the performance I'd expect based on the numbers at <a href="https://www.wireguard.com/performance/">https://www.wireguard.com/performance/</a> </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I'm wondering if there is a configuration setting i'm missing or any better way to debug this.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Testing between two locations - both have nominally 1Gbit internet connections from the same provider.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"> </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">At location A:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">1) Ubuntu 18.04 "server" - i7-4790K CPU @ 4.00GHz <br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">2) Ubuntu 16.04 client - i5-3470 CPU @ 3.20GHz</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">At location B:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">3) Ubuntu 18.04 client - Celeron N2808  @ 1.58GHz</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">4) Ubuntu 18.04 client - Virtual Machine - Xeon(R) Gold 6126 CPU @ 2.60GHz</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Using iperf3 for all tests, with 8 threads, but that doesn't seem to matter significantly.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Between 1 & 2, via gigabit LAN - 940 Mbit/sec.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Between 1 & 2, via WireGuard - 585 Mbit/sec <br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">- I might have expected a bit higher, but this is certainly acceptable.<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Between 3 and 1, direct iperf3 - 580 Mbit/sec</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Between 3 and 1, WireGuard - 73 Mbit/sec</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">   </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">At this point I was guessing WireGuard was CPU limited on this little Celeron, so I set up the Xeon VM (#4):</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Between 4 and 1, direct iperf3 - ~600 Mbit/sec</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Between 4 and 1, WireGuard - 80 Mbit/sec</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">In other words, the much faster VM is only a tiny bit faster that the celeron.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Any suggestions?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Scott</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div></div></div></div></div></div></div>