Benchmarking with OpenVPN Clone
Posted: Tue May 05, 2015 1:21 pm
Hi all,
I do a benchmarking for the included OpenVPN clone. Here is my setting:
#1 dedicated server: 16x CPU (2GHz) cores, 16GB RAM
running one standalone Softether server
- 1000 virtual hubs, each with 10 Users
#2 dedicated server: 2x CPU (2GHz) cores, 2GB RAM
running 500 OpenVPN connection to server #1
5 Users to 100 different hubs
#3 dedicated server: 2x CPU (2GHz) cores, 2GB RAM
running 500 OpenVPN connection to server #1
5 Users to 100 different hubs
So at the end only 100 hubs are in use with 10 sessions each.
every dedicated server has its own public IP.
What happend:
1. the configuration file for the Softether Server is 170MB and takes 2 minutes to read and gives a lot of load when it automatically saves all 300 seconds by default.
2. I start the 500 connection on #2 with one command and the openvpn script does start each openvpn process. So a lot of connections coming in from #2 to #1. This brings a high load but in ~3 minutes every connection is established.
3. I start the second 500 connection on #3 with one command and the openvpn script does start each openvpn process. So a lot of connections coming in from #3 to #1. Now from this the system is very unstable. I found out that the communication timeout in the Interop_Openvpn.h is too low and I increased this. From now on every client connects.
4. after 1000 clients are connected the PING between two users is very unstable. From 6ms to 3000ms depending. I increased the OpenVPN Ping interval to 10seconds and this helped. But not it is not really smooth. Also sometimes I'm not able to connect this last 500 users, it seems that it runs into the openvpn client timeout for TLS. I know it is not really a practise environment that 500 user are trying to connect in the same time, ut could happend in case the server will restart.
My questions:
1. has anybody experiences with SoftEther + OpenVPN and high amount of hubs and user? (I would like to bring this up to 3000 OpenVPN Users for one Server, because of exchange an existing solution with OpenVPN)
2. Some hints on how to improve this strange behaviour above?
3. has anybody some experiances with 4000 softhether clients connecting to one server?
any help appreciate...
Siegfried
I do a benchmarking for the included OpenVPN clone. Here is my setting:
#1 dedicated server: 16x CPU (2GHz) cores, 16GB RAM
running one standalone Softether server
- 1000 virtual hubs, each with 10 Users
#2 dedicated server: 2x CPU (2GHz) cores, 2GB RAM
running 500 OpenVPN connection to server #1
5 Users to 100 different hubs
#3 dedicated server: 2x CPU (2GHz) cores, 2GB RAM
running 500 OpenVPN connection to server #1
5 Users to 100 different hubs
So at the end only 100 hubs are in use with 10 sessions each.
every dedicated server has its own public IP.
What happend:
1. the configuration file for the Softether Server is 170MB and takes 2 minutes to read and gives a lot of load when it automatically saves all 300 seconds by default.
2. I start the 500 connection on #2 with one command and the openvpn script does start each openvpn process. So a lot of connections coming in from #2 to #1. This brings a high load but in ~3 minutes every connection is established.
3. I start the second 500 connection on #3 with one command and the openvpn script does start each openvpn process. So a lot of connections coming in from #3 to #1. Now from this the system is very unstable. I found out that the communication timeout in the Interop_Openvpn.h is too low and I increased this. From now on every client connects.
4. after 1000 clients are connected the PING between two users is very unstable. From 6ms to 3000ms depending. I increased the OpenVPN Ping interval to 10seconds and this helped. But not it is not really smooth. Also sometimes I'm not able to connect this last 500 users, it seems that it runs into the openvpn client timeout for TLS. I know it is not really a practise environment that 500 user are trying to connect in the same time, ut could happend in case the server will restart.
My questions:
1. has anybody experiences with SoftEther + OpenVPN and high amount of hubs and user? (I would like to bring this up to 3000 OpenVPN Users for one Server, because of exchange an existing solution with OpenVPN)
2. Some hints on how to improve this strange behaviour above?
3. has anybody some experiances with 4000 softhether clients connecting to one server?
any help appreciate...
Siegfried