Speed ​​Limit

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
Maza_KOT
Posts: 7
Joined: Mon Aug 05, 2024 8:41 pm

Speed ​​Limit

Post by Maza_KOT » Mon Aug 05, 2024 8:47 pm

Good afternoon.
I deployed the SoftEther VPN server on my deb12 server, successfully configured it and can connect to it, but unfortunately I was faced with a lack of information about setting speed limits. My computer and server both support speeds of up to 1Gbit/s, but unfortunately the VPN gives me less than 100Mbit/s, something around 70-80Mbit/s. Please tell me this is a software limitation or did I make a mistake in the settings? Please also share information about further configuration for clients, for example, I want to limit everyone’s speed to 300 Mbit/s.
Please ask questions about my settings, I will be happy to share them, but please share information on how to show you certain settings because I’m still a beginner.

solo
Posts: 1614
Joined: Sun Feb 14, 2021 10:31 am

Re: Speed ​​Limit

Post by solo » Mon Aug 05, 2024 10:50 pm


Maza_KOT
Posts: 7
Joined: Mon Aug 05, 2024 8:41 pm

Re: Speed ​​Limit

Post by Maza_KOT » Tue Aug 06, 2024 6:55 am

Here are speed tests from the server and on my computer with and without VPN enabled.

Code: Select all

Network Traffic Speed Test Tool

Item Name                                             |        Normal View|Simplified View
------------------------------------------------------+-------------------+---------------
Time Span for Measurement                             |       00:00:15.001|
Data Correction for Ethernet Frames                   |                Yes|
Communication Data Volume in Download Direction       |  492,873,898 Bytes|  492.87 MBytes
Communication Data Volume in Upload Direction         |  536,304,502 Bytes|  536.30 MBytes
Total Communication Data Volume                       |1,029,178,400 Bytes|    1.03 GBytes
Relay Device Input Output Total Throughput Computation|                 No|
Average Throughput in Download Direction              |    262,848,555 bps|    262.85 Mbps
Average Throughput in Upload Direction                |    286,010,000 bps|    286.01 Mbps
Total Average Throughput                              |    548,858,555 bps|    548.86 Mbps
The command completed successfully.

Code: Select all

Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Orange Belgium (Antwerp) [133.07 km]: 7.154 ms
Testing download speed................................................................................
Download: 992.92 Mbit/s
Testing upload speed......................................................................................................
Upload: 743.74 Mbit/s
Screenshots of PC speed tests - https://imgur.com/a/kcQuJTY

I’ll also add that earlier, out of curiosity, I installed squid on the same server and configured an https proxy on it, the speed when using squid was normal, over 500mbps

solo
Posts: 1614
Joined: Sun Feb 14, 2021 10:31 am

Re: Speed ​​Limit

Post by solo » Tue Aug 06, 2024 7:31 am

Re-read, post #1 #2 #3 and include CPU%.
https://www.vpnusers.com/viewtopic.php? ... 34#p100955

Wait, your partial result...

Code: Select all

Average Throughput in Download Direction              |    262,848,555 bps|    262.85 Mbps
Average Throughput in Upload Direction                |    286,010,000 bps|    286.01 Mbps
...shows that it isn't a 1Gbps server. Case closed?

Maza_KOT
Posts: 7
Joined: Mon Aug 05, 2024 8:41 pm

Re: Speed ​​Limit

Post by Maza_KOT » Tue Aug 06, 2024 8:02 am

Previously I attached an Internet connection test from "speedtest" and it shows that my server is 1gbps. So I used the command as stated in another forum thread, but it does not show the load on the processor, so I opened htop in parallel, running the test and unfortunately my processor is heavily loaded, the screenshot is below the link. Also a question, I chose softether because it claims to be a very optimized application, should it cause such a load?
https://imgur.com/a/bpPWkZe

solo
Posts: 1614
Joined: Sun Feb 14, 2021 10:31 am

Re: Speed ​​Limit

Post by solo » Tue Aug 06, 2024 9:15 am

The #1 test you posted has nothing to do with VPN connection's CPU load.
If you observe high CPU usage on test #2, check "Bridge not working as expected"
TLDR - use a local bridge instead of SecureNAT and/or upgrade to v5 DE.

Maza_KOT
Posts: 7
Joined: Mon Aug 05, 2024 8:41 pm

Re: Speed ​​Limit

Post by Maza_KOT » Tue Aug 06, 2024 9:31 am

Thank you very much for trying to help me, but unfortunately I don’t quite understand what actions I need to take, and I also couldn’t find the DE v5 archive.
Could you please describe the step-by-step actions and send a direct link to the DE v5 archive.
Sorry for my ignorance.

solo
Posts: 1614
Joined: Sun Feb 14, 2021 10:31 am

Re: Speed ​​Limit

Post by solo » Tue Aug 06, 2024 9:59 am


Maza_KOT
Posts: 7
Joined: Mon Aug 05, 2024 8:41 pm

Re: Speed ​​Limit

Post by Maza_KOT » Tue Aug 06, 2024 10:47 am

Thanks for the link provided. I downloaded and configured DE v5 after stopping and uninstalling the old version. The client successfully connects to the server, but the speed has dropped to 20mbps and the processor load is off the charts; I have not previously observed increased load during connection. Below I am attaching a screenshot of the load and speed, as well as the result of checking with the command “vpncmd /tools /cmd TrafficClient speed.softether.com:9821”

Code: Select all

Network Traffic Speed Test Tool

Item Name                                             |        Normal View|Simplified View
------------------------------------------------------+-------------------+---------------
Time Span for Measurement                             |       00:00:15.006|
Data Correction for Ethernet Frames                   |                Yes|
Communication Data Volume in Download Direction       |  378,989,304 Bytes|  378.99 MBytes
Communication Data Volume in Upload Direction         |1,068,078,834 Bytes|    1.07 GBytes
Total Communication Data Volume                       |1,447,068,138 Bytes|    1.45 GBytes
Relay Device Input Output Total Throughput Computation|                 No|
Average Throughput in Download Direction              |    202,046,810 bps|    202.05 Mbps
Average Throughput in Upload Direction                |    569,414,279 bps|    569.41 Mbps
Total Average Throughput                              |    771,461,089 bps|    771.46 Mbps
The command completed successfully.
Screenshot of client check - https://imgur.com/a/c5hAUjf

solo
Posts: 1614
Joined: Sun Feb 14, 2021 10:31 am

Re: Speed ​​Limit

Post by solo » Tue Aug 06, 2024 1:00 pm

Your shared VPS with 2GB RAM may be actually overloaded by other CPU users. If you are absolutely sure that there is nothing wrong with the VPS, submit your case here https://github.com/SoftEtherVPN/SoftEtherVPN/issues

Post Reply