Jump to content
  • 0

Game Login and teleport CPU boost %13-15


ProBrain

Question

Hello,

I'm sorry for my bad english.

 

 

I have a problem. CPU goes up too much while entering the game and teleporting. There is a 3% increase with a single client.

 

There is a 13-15% increase with 4 clients. 

 

I checked the input_login.cpp Entergame function. I compared it with different. The problem does not appear. 

 

Server Memory : 4GB VDS, not localhost. There are no players on my server. This is a test server.

BSD 10.3, Mysql 5.7 

 

Connecting with 4 clients at the same time :  BSD TOP :

spacer.png

 

https://gyazo.com/6a5a873249e84a2df2ca90a1046c6631

 

What should I do?

 

 

Link to post

5 answers to this question

Recommended Posts

  • 0
  • VIP
Posted (edited)

I'm not sure what you expect. 4GB isn't a lot for running 3 cores and a mysql server, plus it's a VPS so you're sharing CPU with maybe 50 others. Did you check CPU usage during normal gameplay?

 

Review the mysql settings as having too low buffers will increase CPU usage (/var/db/mysql/my.cnf in older versions and /usr/local/et/mysql/conf.d/server.conf in newer plus run MySQLTuner: pkg install perl, cd /root, fetch http://mysqltuner.pl, perl mysqltuner.pl -u root -pyourpassword)

Edited by Shogun

 

 

Link to post
  • 0
Posted (edited)
Quote

 

 

@Shogun I did not test this during a normal game. Because I was afraid to use it with CPU usage. I uploaded this to a different VPS question and the result was the same. Is it normal for the CPU to increase 3% - 4% when a person enters?

Edited by ProBrain
Link to post
  • 0
9 hours ago, useless69 said:

i have 0.8% cpu with three persons in game, 2gb and 1vcpu (vps)

Is 0.8 cpu stable while entering the game or teleporting?

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.