Am I being throttled? Getting 30-40mbit down stream on a gig WAN
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Wed Oct 21, 2020 5:51 am
Am I being throttled? Getting 30-40mbit down stream on a gig WAN
Hey all,
I have a Raspberry Pi running Pihole + OVPN.
When I fully tunnel my traffic to my phone, the maximum download I get is 30-40mbit consistently; it literally looks like I'm getting throttled. At home, I have 1gbit fiber (down/up).
I checked the CPU for both my Pi and Router and they are barely being touched when I run fully tunneled traffic. I've also experimented with no vs. full compression but the change was negligible.
Any ideas if this is actually a thing or what I could do to improve the speed so that I'm able to take advantage of my home's upload bandwidth?
Cheers.
I have a Raspberry Pi running Pihole + OVPN.
When I fully tunnel my traffic to my phone, the maximum download I get is 30-40mbit consistently; it literally looks like I'm getting throttled. At home, I have 1gbit fiber (down/up).
I checked the CPU for both my Pi and Router and they are barely being touched when I run fully tunneled traffic. I've also experimented with no vs. full compression but the change was negligible.
Any ideas if this is actually a thing or what I could do to improve the speed so that I'm able to take advantage of my home's upload bandwidth?
Cheers.
-
- OpenVPN Expert
- Posts: 685
- Joined: Tue May 01, 2012 9:30 pm
Re: Am I being throttled? Getting 30-40mbit down stream on a gig WAN
that is correct number nothing new about slow speed on openvpn you can try this one to see if speed can faster or not . adding all this on server config and restart again
hash-size 137552 155372
bcast-buffers 15310720
tcp-queue-limit 1
tun-mtu 60000
mssfix 0
fragment 0
sndbuf 39321006
rcvbuf 39321006
push "sndbuf 39321006"
push "rcvbuf 39321006"
push "route-method exe"
wireguard run on raspberry faster than openvpn you can try if you like .
hash-size 137552 155372
bcast-buffers 15310720
tcp-queue-limit 1
tun-mtu 60000
mssfix 0
fragment 0
sndbuf 39321006
rcvbuf 39321006
push "sndbuf 39321006"
push "rcvbuf 39321006"
push "route-method exe"
wireguard run on raspberry faster than openvpn you can try if you like .
-
- OpenVpn Newbie
- Posts: 4
- Joined: Wed Oct 21, 2020 5:51 am
Re: Am I being throttled? Getting 30-40mbit down stream on a gig WAN
300000 wrote: ↑Wed Oct 21, 2020 12:03 pmthat is correct number nothing new about slow speed on openvpn you can try this one to see if speed can faster or not . adding all this on server config and restart again
hash-size 137552 155372
bcast-buffers 15310720
tcp-queue-limit 1
tun-mtu 60000
mssfix 0
fragment 0
sndbuf 39321006
rcvbuf 39321006
push "sndbuf 39321006"
push "rcvbuf 39321006"
push "route-method exe"
wireguard run on raspberry faster than openvpn you can try if you like .
Thanks for the reply, mate. Is there anything else you can tell me about the reason why openvpn is capped to 30-40mbit upstream from the server? Is it an ISP related cap? Or perhaps point me in the right direction as to where I could read more about this?
Thanks for the tips.
I tried the suggested changes above on the server and was met with even slower performance (went from 30-40mbit down to 15-20mbit -- tested on several servers near my area).
-
- OpenVPN Expert
- Posts: 685
- Joined: Tue May 01, 2012 9:30 pm
Re: Am I being throttled? Getting 30-40mbit down stream on a gig WAN
natural openvpn is very slow speed . people talk about it all the time , that config on my raspberry 3+ and i can get 70 mb on my boandanb 200 up/down. if you like faster try wireguard it runs faster and can use multi cores than openvpn one olny one core.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
-
- OpenVpn Newbie
- Posts: 4
- Joined: Wed Oct 21, 2020 5:51 am
Re: Am I being throttled? Getting 30-40mbit down stream on a gig WAN
I'm curious to get your thoughts as well, TinCanTech. Would appreciate any documentation or discussion that talks about this limitation more in depth.
Thanks for the recommendation for WireGuard, I'll look that up.
-
- OpenVPN Expert
- Posts: 685
- Joined: Tue May 01, 2012 9:30 pm
Re: Am I being throttled? Getting 30-40mbit down stream on a gig WAN
you can search on google why does openvpn slow and you will find out , there are a lot people complaint about it , openvpn run only one core so if your cpu have multi core it cant use all of them and it run on user space so data will be transfer back and down take more time than other vpn tech.
if you pm me i can help you setup wireguard on raspberry and you will expect speed double on openvpn . i am running it now at the same time openvpn and wireguard on raspberry 3 and if run it on 1 gb up /down you can expect more than 100 mb for sure.
if you pm me i can help you setup wireguard on raspberry and you will expect speed double on openvpn . i am running it now at the same time openvpn and wireguard on raspberry 3 and if run it on 1 gb up /down you can expect more than 100 mb for sure.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Wed Oct 21, 2020 5:51 am
Re: Am I being throttled? Getting 30-40mbit down stream on a gig WAN
300000 wrote: ↑Fri Oct 23, 2020 8:28 pmyou can search on google why does openvpn slow and you will find out , there are a lot people complaint about it , openvpn run only one core so if your cpu have multi core it cant use all of them and it run on user space so data will be transfer back and down take more time than other vpn tech.
if you pm me i can help you setup wireguard on raspberry and you will expect speed double on openvpn . i am running it now at the same time openvpn and wireguard on raspberry 3 and if run it on 1 gb up /down you can expect more than 100 mb for sure.
I don't seem to have the ability to message you privately. I ended up reinstalling PiVPN w/ Wireguard. While it is a touch faster (50-60mbit), it's still slow in comparison to my total upload bandwidth (1gbit). I am running it on a Pi 4 and only connect mobile clients to it. I want to be able to get up to 150mbit.
Do you have any suggestions on how I might tweak the Wireguard server/client config to get faster performance in full tunneling mode?
Cheers.
-
- OpenVPN Expert
- Posts: 685
- Joined: Tue May 01, 2012 9:30 pm
Re: Am I being throttled? Getting 30-40mbit down stream on a gig WAN
I am running wireguard on raspberry 4 too and got about 80 mb that max speed . I dont know which one faster . I try run on pi 4. l2tp.openvpn and wireguard but speed about 80 mb is max .
We are connecting over vpn so it is not as fast as on cable at home and over 60 mb still very fast too
We are connecting over vpn so it is not as fast as on cable at home and over 60 mb still very fast too
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
Re: Am I being throttled? Getting 30-40mbit down stream on a gig WAN
If this becomes a Wireguard topic I will close it...
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp
Halton Arp
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Am I being throttled? Getting 30-40mbit down stream on a gig WAN
I don't think you need to close a wireguard topic ?
Openvpn already ships with wintun ..
Openvpn already ships with wintun ..
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
Re: Am I being throttled? Getting 30-40mbit down stream on a gig WAN
Topic did not start as that.
TS got "talked into it" and this is not the place, for WG support.
If at all then in Off topic.
TS got "talked into it" and this is not the place, for WG support.
If at all then in Off topic.
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp
Halton Arp
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Am I being throttled? Getting 30-40mbit down stream on a gig WAN
infra wrote: ↑Wed Oct 21, 2020 6:28 amHey all,
I have a Raspberry Pi running Pihole + OVPN.
When I fully tunnel my traffic to my phone, the maximum download I get is 30-40mbit consistently; it literally looks like I'm getting throttled. At home, I have 1gbit fiber (down/up).
I checked the CPU for both my Pi and Router and they are barely being touched when I run fully tunneled traffic. I've also experimented with no vs. full compression but the change was negligible.
Any ideas if this is actually a thing or what I could do to improve the speed so that I'm able to take advantage of my home's upload bandwidth?
Cheers.
Started as somebody trying to improve the use of an online service provider ..
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Am I being throttled? Getting 30-40mbit down stream on a gig WAN
If OpenVPN does not work well then you probably configured it incorrectly.
Or your Service provider is a liar .. more often than not.
As for "speed" .. openvpn-dco kernel module.
And remember .. computers do what we tell them to do .. allegedly!