Hello!
I recently bought a new Netgear R8500 and flashed DD-WRT [1] onto it using the instructions here [2]. I set it up to be an always on VPN to my service provider here [3] who I've been successfully using for years with my old Netgear R7000 and DD-WRT. The reason for upgrading is to get better WiFi reception for complaining teenagers and young adults in the house hold :-)
After setting it all up then everything worked as expected and WiFi reception was great over 3 levels in my 4,200 sq ft house. Except for the VPN throughput when with the download test [4]. Typically it seems to vary from 10 to 20 Mbps which is on the slow side. My ISP is Telus and I have 50 Mbps down and 10 Mbps up.
I also added in an iptables 'kill switch' which ensures that there is no internet connectivity in the case that the VPN fails for some reason. It was in testing the perfermance with and without the iptables rules (rebooting the device) that I noticed extended period when the speed reported by speedtest [4] was 40 to 50 Mbps consistently for half a dozen test runs in a row!
I found this confusing because after reading up on what limits the throughput then the consensus seems to be that the CPUs can only handle a certain load of encryption. So if the CPU on the R8500 can only handle 20 Mbps ... how come I sometimes get 50 Mbps? Doesn't make sense, or?
So I tried to run top at the same time as the test and Murphy's Law kicked in and it went back to 10 Mbps again consistently... But top showed me that during the 10 Mbps then the max CPU usage is 11%. This suggests to me that CPU power for encryption is not the bottleneck with the VPN.
Has anybody else been in this situation? And can anybody else help me to debug why performance is mostly 10 to 20 Mbps but sometimes 50 Mbps?
I asked the provider TorGuard about this and they ran a test on the box I connect to and it said 816 Mbps, i.e. the box has very good connectivity to the internet... so does that mean it's a protocol issue, or a DD WRT issue, or an openvpn config issue, or a TorGuard server issue, or a combination?
Looking forward to suggestions.
Thanks,
Simon
[1] https://www.myopenrouter.com/download/dd-wrt-kong-mod-netgear-r8500-2018...
[2] https://www.myopenrouter.com/article/how-flash-your-netgear-router-dd-wr...
[3] https://torguard.net/
[4] http://www.speedtest.net/
https://www.google.com <a href="https://www.google.com">nice</a> [url=www.google.com]BB KING[/url] keyword