very high cpu usage T_T

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
sk911
Posts: 9
Joined: Fri Feb 03, 2023 5:27 am

very high cpu usage T_T

Post by sk911 » Fri Feb 03, 2023 5:51 am

PC:
cpu amd 3690x 24core 48threads
ram 128GB
harddisk 1TB nvme pcie4.0

Server:
local bridge none
security Nat yes
DHCP yes 172.16.0.0/23
Nat function none

User:
250-300 ip
15MB/s uploading speeding(ISP 20MB/s uploading limit)
CPU 90%-100%

why?

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

Re: very high cpu usage T_T

Post by solo » Fri Feb 03, 2023 9:05 am

sk911 wrote:
Fri Feb 03, 2023 5:51 am
User:
250-300 ip
300 simultaneous users?

sk911
Posts: 9
Joined: Fri Feb 03, 2023 5:27 am

Re: very high cpu usage T_T

Post by sk911 » Fri Feb 03, 2023 9:08 am

version 4.27 build 9668

sk911
Posts: 9
Joined: Fri Feb 03, 2023 5:27 am

Re: very high cpu usage T_T

Post by sk911 » Fri Feb 03, 2023 9:10 am

solo wrote:
Fri Feb 03, 2023 9:05 am
sk911 wrote:
Fri Feb 03, 2023 5:51 am
User:
250-300 ip
300 simultaneous users?
same user id and same password
at the same time

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

Re: very high cpu usage T_T

Post by solo » Fri Feb 03, 2023 9:20 am

sk911 wrote:
Fri Feb 03, 2023 9:10 am
solo wrote:
Fri Feb 03, 2023 9:05 am
sk911 wrote:
Fri Feb 03, 2023 5:51 am
User:
250-300 ip
300 simultaneous users?
same user id and same password
at the same time
So, 300 simultaneous connections, actively transferring data?

sk911
Posts: 9
Joined: Fri Feb 03, 2023 5:27 am

Re: very high cpu usage T_T

Post by sk911 » Fri Feb 03, 2023 10:24 am

yes

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

Re: very high cpu usage T_T

Post by solo » Fri Feb 03, 2023 11:32 am

SoftEther has awesome features, compatibility and performance, except for scalability unfortunately

...
vpn-clients.png
...

It should be fine below 250 active clients, source https://www.researchgate.net/publicatio ... networking

Try out SoftEther developer edition, a lot has changed since the above publication.
You do not have the required permissions to view the files attached to this post.

shakibamoshiri
Posts: 285
Joined: Wed Dec 28, 2022 9:10 pm

Re: very high cpu usage T_T

Post by shakibamoshiri » Fri Feb 03, 2023 6:54 pm

good article, but I do not think it is a good compression
- WireGuard has kernel support
- OpenVPN is old enough and stable
- ZeroTier is pear to pear not a client to server
- Tinc (I do not know about it)

SoftEther in its own category is the best. similar features with other tools are not free.
I think form the beginning they did not design it for enterprise uses cases and main focuses are on
- passing firewalls
- ease of use
- multi-protocols

There are many projects on Github, not as great as SoftEther, but they have more starts because not everyone needs a such VPN.
Hope it gets more attention and funding/sponsoring to get better.

###

It is better not register more than 300 users per a VM or machine since near 1/4 or 1/3 will connect simultaneously. (100)
Or at most 200 users simultaneously which means not more than 600 users registered
So scaling-out (more instance) is a better choice than scaling-up (more resources).

Post Reply