Hello,
On Sat, Feb 12, 2022 at 06:22:41PM +0100, Bo Berglund wrote:
> So this is about 10 Mbit/s speed...
> I had really hoped for something better than 1/25th of the connection speed.
> Is this normal or is there some way to improve the speed?
Depending on the hardware, I can measure upto 7-8 MByte/s (~70 MBit/s) through
OpenVPN. And the symptom is that one of the CPU is at 100% (OpenVPN is not
multithreaded AFAIK).
Do you have hardware AES acceleration?
Do you observe a CPU maxing out?
If not there might be something else going on.
An example here, using SSH over OpenVPN, in both cases we simply send data out
from
Internet to either a) normal Internet b) Internet through an OpenVPN
a) SRC: 46.140.72.222 (this is native, 1G/100M link)
10240K, 10870K/s
102400K, 47539K/s
b) SRC: 193.72.186.249 (this is OpenVPN)
10240K, 9642K/s
102400K, 9169K/s
It's a somewhat small transfer, but the numbers rise with the time.
Script:
#! /bin/sh
BS=4096
COUNT_UP=$((10*1024*1024/$BS))
COUNT_DOWN=$((100*1024*1024/$BS))
for SRC in 46.140.72.222 193.72.186.249
do
echo "SRC: $SRC"
dd if=/dev/zero bs=$BS count=$COUNT_UP 2>/dev/null \
| ssh -o "ProxyCommand=ssh virtual nc -q 0 -s $SRC
some-internet-host-we-will-not-disclose.ch 22" \
some-internet-host-we-will-not-disclose.ch buffer -S 1048576 -s $BS
-o /dev/null
ssh -o "ProxyCommand=ssh virtual nc -q 0 -s $SRC
some-internet-host-we-will-not-disclose.ch 22" \
some-internet-host-we-will-not-disclose.ch dd if=/dev/zero bs=$BS
count=$COUNT_DOWN 2>/dev/null \
| buffer -S 1048576 -s $BS -o /dev/null
echo
done
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users