Page 1 of 1

very high cpu usage T_T

Posted: Fri Feb 03, 2023 5:51 am
by sk911
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?

Re: very high cpu usage T_T

Posted: Fri Feb 03, 2023 9:05 am
by solo
sk911 wrote:
Fri Feb 03, 2023 5:51 am
User:
250-300 ip
300 simultaneous users?

Re: very high cpu usage T_T

Posted: Fri Feb 03, 2023 9:08 am
by sk911
version 4.27 build 9668

Re: very high cpu usage T_T

Posted: Fri Feb 03, 2023 9:10 am
by sk911
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

Re: very high cpu usage T_T

Posted: Fri Feb 03, 2023 9:20 am
by solo
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?

Re: very high cpu usage T_T

Posted: Fri Feb 03, 2023 10:24 am
by sk911
yes

Re: very high cpu usage T_T

Posted: Fri Feb 03, 2023 11:32 am
by solo
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.

Re: very high cpu usage T_T

Posted: Fri Feb 03, 2023 6:54 pm
by shakibamoshiri
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).