Re: How to improve Wireguard speed?

2022-06-01 Thread Frank Carmickle
It's almost certainly the iPhone that's the slow part. The wireguard implementation on iOS is running in userspace. --FC > On Jun 1, 2022, at 7:40 AM, Houman wrote: > > Thanks Roman. > >> So did you apply both of that, and what was the effect? > > I will create a new environment this

Re: How to improve Wireguard speed?

2022-06-01 Thread Houman
Thanks Roman. > So did you apply both of that, and what was the effect? I will create a new environment this afternoon and test the MTU changes mentioned earlier and investigate the outcome. > What are the other point that you test against, is it another VPS (better if > you could try with

Re: How to improve Wireguard speed?

2022-06-01 Thread Roman Mamedov
On Wed, 1 Jun 2022 10:07:31 +0100 Houman wrote: > I didn't change the MTU settings, but I have a suspicion about MTU. I > found this article here that makes some interesting suggestions to set > MTU to 1280: https://keremerkan.net/posts/wireguard-mtu-fixes/ > > And beyond that iptables -A

Re: How to improve Wireguard speed?

2022-06-01 Thread Houman
Thanks for your reply. I have run htop to observe the CPU consumption during this test, and the CPU(s) go up only to 10-20%. So the CPU doesn't seem to be the bottleneck. I didn't change the MTU settings, but I have a suspicion about MTU. I found this article here that makes some interesting

Re: How to improve Wireguard speed?

2022-06-01 Thread Janne Johansson
Den ons 1 juni 2022 kl 09:49 skrev Houman : > Hello, > I'm compiling the latest stable Wireguard on Debian 11. > git clone https://git.zx2c4.com/wireguard-tools > make -C wireguard-tools/src -j$(nproc) > sudo make -C wireguard-tools/src install > > However the speed is not that impressive. I have

How to improve Wireguard speed?

2022-06-01 Thread Houman
Hello, I'm compiling the latest stable Wireguard on Debian 11. git clone https://git.zx2c4.com/wireguard-tools 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.