Jump to content
×
×
  • Create New...
  • 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 comment
Share on other sites

  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

5 answers to this question

Recommended Posts

  • 0
  • Premium

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 comment
Share on other sites

  • 0
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 comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Activity

    1. 0

      Looking for Someone to create the queries etc for armors and weapons

    2. 13

      Official Private Shop Search

    3. 944

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    4. 79

      GUI Teleport System

    5. 0

      inventory slot marking system cant compile

    6. 8

      Inventory Bug

    7. 63

      Metin2 Dev - Changelogs

    8. 0

      [BUG] Can't select my own character (Select Target)

  • Recently Browsing

    • No registered users viewing this page.

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.