• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

high cpu usage

demonrage

New Member
Joined
Oct 28, 2014
Messages
22
Reaction score
2
I'm using tfs 0.4 rev 3996 , and when I reach + 120 players online, the cpu usage increases a lot, I would like to know how to solve this?
my vps : 4vcpu 6gb ram
 

Attachments

  • Screenshot_342.png
    Screenshot_342.png
    111.4 KB · Views: 37 · VirusTotal
  • Screenshot_348.png
    Screenshot_348.png
    109.3 KB · Views: 36 · VirusTotal
I'm using tfs 0.4 rev 3996 , and when I reach + 120 players online, the cpu usage increases a lot, I would like to know how to solve this?
my vps : 4vcpu 6gb ram
It depends on a few factors, I use OTX 2 (bad choice) and I've been through it, a few things I recommend:

  • See which vCPU is assigned to your VPS, in some cases it may be the solution. Remember what we not need too many cores, as long TFS work just with 1, we need a better frequency. Check ur CPU speed with sysbench (mine with Ryzen 5 got 2200 events per second):
sudo apt install sysbench
sysbench cpu --threads=1 run

Look at official repo of ur TFS for changes, maybe there's a lot of changes to optimize things.

OR

Try to use some new version of TFS.
 
Last edited:
It depends on a few factors, I use OTX 2 (bad choice) and I've been through it, a few things I recommend:

  • See which vCPU is assigned to your VPS, in some cases it may be the solution. Remember what we not need too many cores, as long TFS work just with 1, we need a better frequency. Check ur CPU speed with sysbench (mine with Ryzen 5 got 2200 events per second):
sudo apt install sysbench
sysbench cpu --threads=1 run

Look at official repo of ur TFS for changes, maybe there's a lot of changes to optimize things.

OR

Try to use some new version of TFS.
where can I put this -Ofast, I use 0.4 would there be any problem using it?

me on the server we use fast attack
 
Back
Top