Skip to main content

Router Setup - Improving Speed - Knowledgebase / Technical / Troubleshooting / Speed - PIA Support Portal

Router Setup - Improving Speed

Authors list

Typically, when you think of lag, a network related issue is what comes to mind. Although in some instances this may be the case, lag from the use of dated hardware is also a likely possibility.  You will find that even reasonably good routers by today’s standards typically lack the hardware capability to process encryption in real-time, causing connection lag. 

To put things into perspective, a router with a 700mhz processor, and 256mb of RAM, is identical to a high-end Windows 98/ low-end WinXP computer, which was manufactured 10-15 years ago. Setting up a VPN on a similar device will result in lag due to dated hardware attempting to run modern technology that it barely supports. 

Although everyone’s reasoning varies, router setups are typically used to (a) connect devices that do not support VPN installation (TVs, gaming consoles, etc.) or (b) to connect more than ten devices simultaneously. If you are concerned with speed, you may want to ensure your router can fulfil your expectations. 

That being said, if you are unhappy with the speeds you’re seeing, there are a few options you can input that will help optimize your device’s performance, allowing you to improve the speeds you’re experiencing.  

What you can do to improve your speed

The following should be input into the OpenVPN options field in your device. Depending on your firmware, this will likely be called Custom Configuration, Additional Config, or Custom Options, enter the following: 

`fast-io sndbuf 300000 rcvbuf 300000fast-io`  

This can improve the CPU efficiency by 5-10% but will only help if you're connecting using UDP.  

OpenVPN defaults to a buffer value of 65536 bytes, which was the result of some cross-platform buffer size issues exceedingly early in the protocol's development. While this was fine in 2004, it is quite low by modern standards. Increasing send/receive buffer values can provide much better speeds. The optimal value depends on the latency to the server you're connecting to — you might try starting around 300000 and experimenting with higher values from there. 

Additionally, you can try using an IP instead of a hostname in the Server Address field, to avoid any DNS resolution issues, which may result in improved speeds. To obtain an IP address from our servers, please open Command Prompt or a Terminal Window and type: 

`ping [hostname of the server you want IPs for] ` 

A list of our servers can be found in the config file generator tool in the client control panel. After you have input the ping command; hit enter.

Contact Us!

If you run into any issues performing the above, please reach out to us through our Helpdesk where we’d be more than happy to help sort things out!