使用OpenVPN的可能tun0瓶颈

我有dedikuoti.lt的Debian 8.0 VPS,我想用它作为我的Windows 10 PC的 VPN。

我已经使用这个脚本安装了OpenVPN:

wget http://git.io/vpn --no-check-certificate -O openvpn-install.sh; chmod +x openvpn-install.sh; ./openvpn-install.sh 
  • 协议:UDP
  • 港口:11949

服务器configuration文件:

 port 11949 proto udp dev tun sndbuf 222222 rcvbuf 222222 ca ca.crt cert server.crt key server.key dh dh.pem auth SHA512 tls-auth ta.key 0 topology subnet server 10.8.0.0 255.255.255.0 ifconfig-pool-persist ipp.txt push "redirect-gateway def1 bypass-dhcp" push "dhcp-option DNS 212.24.109.143" push "dhcp-option DNS 212.24.105.143" keepalive 10 120 cipher AES-256-CBC comp-lzo user nobody group nogroup persist-key persist-tun status openvpn-status.log verb 3 crl-verify crl.pem 

客户端configuration文件:

 client dev tun proto udp sndbuf 222222 rcvbuf 222222 remote 194.135.93.22 11949 resolv-retry infinite nobind persist-key persist-tun remote-cert-tls server auth SHA512 cipher AES-256-CBC comp-lzo setenv opt block-outside-dns key-direction 1 verb 3 <ca> -----BEGIN CERTIFICATE----- ... ... ... 

我有家庭和VPN服务器之间的100 Mbps,但不知何故VPN限制到约30 Mbps的速度(通过从Ubuntu镜像使用HTTP下载ISO文件testing)

在做了一些瓶颈研究之后,我发现:

请看这个附件的输出

VPN Server有3个虚拟CPU(基于Linux VZ容器的虚拟化),具有以下限制:

 Version: 2.5 uid resource held maxheld barrier limit failcnt 12670: kmemsize 37922992 384258048 9223372036854775807 9223372036854775807 0 lockedpages 4127 10480 9223372036854775807 9223372036854775807 0 privvmpages 230153 311377 9223372036854775807 9223372036854775807 0 shmpages 35894 35908 9223372036854775807 9223372036854775807 0 dummy 0 0 9223372036854775807 9223372036854775807 0 numproc 66 150 4096 4096 0 physpages 90924 159961 0 393216 0 vmguarpages 0 0 9223372036854775807 9223372036854775807 0 oomguarpages 43687 44127 9223372036854775807 9223372036854775807 0 numtcpsock 6 24 8192 8192 0 numflock 38 61 4096 4096 0 numpty 1 2 256 256 0 numsiginfo 0 63 1024 1024 0 tcpsndbuf 120032 569376 9223372036854775807 9223372036854775807 0 tcprcvbuf 98304 393216 9223372036854775807 9223372036854775807 0 othersockbuf 180336 359880 9223372036854775807 9223372036854775807 0 dgramrcvbuf 0 353160 9223372036854775807 9223372036854775807 0 numothersock 131 164 8192 8192 0 dcachesize 24591116 367046187 9223372036854775807 9223372036854775807 0 numfile 1053 1390 9223372036854775807 9223372036854775807 0 dummy 0 0 9223372036854775807 9223372036854775807 0 dummy 0 0 9223372036854775807 9223372036854775807 0 dummy 0 0 9223372036854775807 9223372036854775807 0 numiptent 28 28 4096 4096 0 

有没有人有一个想法,为什么这个限制发生? 以及如何解决这个问题?

谢谢!