Jump to content

Fix lags please


Recommended Posts

Hello.

I can't believe that lags are necessary.

There are no lags in game for me while I'm using torrent client (50Bbit/sec +  using hdd non-stop). I still have ping 2ms to yadex.ru. But I have hugs lags ingame (even as admin with ping 0) on some game events when there is no parallel tasks on same machine. Clients have lags even when there is only server application (I'm not playing and no other working applications).

Also I made my own "profiler and lag detector". Most of rare minor lags (0.06 sec) are unknown for me, because I'm not sure how to profile them. But I am sure about main huge lags:

1) Serializing world session - main huge lag up to 0.5 seconds.

2) New incoming connection, then ValidateGameSessionToken - second huge lag up to 0.4 seconds.

If there are few connections at the same time, it may be 1 second or more. It is common situation if there are 20-25 people on the server, and new/old people are connecting and disconnecting very often.

 

3) Other "minor" lags up to 0.1 seconds. However it is still lags:

OnResumeRequestLoadComplete

Serializing user session

ReceiveAuthenticationBlob

SPAWNING PLAYER AT

Deleting user session from

Link to comment
https://forums.kleientertainment.com/forums/topic/54084-fix-lags-please/
Share on other sites

Also there are huge network lags. I mean profiler says nothing while lags are present for all players if there are 20 or more people on the server. It seems that problem is in C functions. Because profiler can feel each tick of the game (that means no lags at all, and no skipped ticks). Of course there are standard lags on save/load and connect/disconnect, but network lags make that it is impossible to play.

Lags looks like teleporting to previous point. If player is fighting and trying to escape, the lag can teleport him back to monster. Mod "No More Lags" does not help (because it is not ping or connection problem). I guess it is not even cpu problem, because, as I said, world update is fine and each game tick occurs each 0.03 sec (30 ticks in a second).

I have better profile. :)

 

Actually I can't understand how 3 seconds can say something useful about server. It takes me at least few hours to save up enough statistics about events on the server. What if someone makes a pig army? Profiler have to work for long time to be able to catch that kind of events.

@Maris,

 

I have the same problem as you, the lag very quickly on my servers, that's why I have stop my servers wilderness server because there are lags after 100 or 200 days, which has no interest for me

there were function multithreading but unfortunately it's doesn't work, as I hope that the lag will be solved one day :(

 

your statistics graphically are great :)

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...