OpenWrt Forum Archive

Topic: Very slow download speed using Archer C7 v2 router as OpenVPN client

The content of this topic has been archived on 5 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,


I bought an Archer C7 v2 router so I could install OpenWRT and use the router as openvpn client. However my download speed is very slow:

Speed test without VPN:
Ping 6 ms / 75Mbps download / 18 Mbps upload

Speed test with Windows 10 as openvpn client:
Ping 100ms / 58 Mbps download  / 14 Mbps download

Speed test with Archer C7 v2 as openvpn client:
Ping 100ms / 5mbps download /  7mbps upload


I'm running openwrt 15.05 on my router.  I tried multiple changes on the server.conf and client.conf but  the download speed never reach 9 Mbps.

I'm wondering if the reason for that it's because that router can't delvier better speeds as OpenVPn client or if there is something that can be done.

Does anyone have any idea?

PS: I will post my current server.conf and client.conf once I'm back home, but as I said I tried different configuration and the results didn't change much

thank you

(Last edited by juanmartinbravo on 4 Jan 2016, 12:26)

-Maybe this explains something?
https://airvpn.org/topic/12981-very-poo … on-router/ (see comment in green)
https://wiki.openwrt.org/doc/howto/benchmark.openssl

I'm new to this so I don't know if that could be related or if the openssl test have to do somethign with the download speed


-Here one ddwrt user informs that he can get more than 10mbps:
http://dd-wrt.co.id/phpBB2/viewtopic.ph … 6c89a159e8

-And here one user mentions that this router can get maximum 10mbps but he could be wrong (although I'm afraid he is not) and he is using ddwrt. See comment from user tigs where he says:

http://www.dd-wrt.com/phpBB2/viewtopic. … b368d97141

"If that is the case, I think archer c& will be the bottleneck. You won't be able to get beyond 12M regardless your ISP service. It is the hardware linitation. I have a netgear R7000 which works way better than archer. I can easily get 25-27 out of the the 30M my ISP provided.

This also makes me wonder why you had such a big overhead. Archer can handle at least 10M VPN. I guess it is the distance you are from the vpn server that accounts for the difference."

Maybe there is a hardware limitation with that router when it works as openvpn client?

Does anyone know a router that could provide more downlaod speed when its working as openvpn client?

(Last edited by juanmartinbravo on 4 Jan 2016, 13:18)

juanmartinbravo wrote:

Does anyone know a router that could provide more downlaod speed when its working as openvpn client?

I quote from https://forum.openwrt.org/viewtopic.php … 97#p306097
Over the Christmas holidays we made some tests and the results are: Turris Omnia is able to route 975 Mbps (even with NAT). If you prefer more technical info, it can handle up to 450 000 packets per second. We also measured VPN throughput. With Turris Omnia, acting as an OpenVPN server with recommended configuration with one client connected, we measured 100 Mbps in one direction. We expect this number to be a bit better in the future as we have still the crypto acceleration turned off.
so https://www.indiegogo.com/projects/turr … rce-router

maurer wrote:
juanmartinbravo wrote:

Does anyone know a router that could provide more downlaod speed when its working as openvpn client?

I quote from https://forum.openwrt.org/viewtopic.php … 97#p306097
Over the Christmas holidays we made some tests and the results are: Turris Omnia is able to route 975 Mbps (even with NAT). If you prefer more technical info, it can handle up to 450 000 packets per second. We also measured VPN throughput. With Turris Omnia, acting as an OpenVPN server with recommended configuration with one client connected, we measured 100 Mbps in one direction. We expect this number to be a bit better in the future as we have still the crypto acceleration turned off.
so https://www.indiegogo.com/projects/turr … rce-router

So then you also think that the Archer C7 can't deliver more than 10mbps download speed when working as openvpn client?

thank you

Thanks, but do think I could get more than 10Mbps as download speeds or my hardware isn't able to deliver that as openvpn client?

In the meantime I did some tess in the server and client conf files and the results were:
Ping 150 ms / 6-8 Mbps download speed / 15-16 Mbps upload speed.

So I managed to improve the upload speed... but the download is still too bad hmm

I haven't tested myself, but compiler etc optimizations could have big difference and Arokhs build is based to trunk version which could also be little better compared to 15.05.

PJK wrote:

https://forum.openwrt.org/viewtopic.php?id=50914

Try if Arokh's build will do any better, it is more optimized.

I tried it and I got even worst speed.... I think it's time to return my router to amazon and get one more powerful.

Based on the hardware of a C7v2 I'd say somewhere around 17mbit or so (AES 192). My TL-WDR3600 pushes roughly ~13mbit over the Internet with 75% CPU load. Kernel HZ=250, mips16 disabled globally and using PolarSSL (mbedtls).
You can probably get out about 20 or so using OpenSSL.

The discussion might have continued from here.