Maris Posted May 17, 2015 Share Posted May 17, 2015 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 More sharing options...
Maris Posted May 17, 2015 Author Share Posted May 17, 2015 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). Link to comment https://forums.kleientertainment.com/forums/topic/54084-fix-lags-please/#findComment-638209 Share on other sites More sharing options...
ToNiO55 Posted May 17, 2015 Share Posted May 17, 2015 Hi @Maris, im so agree with you maybe you can take profil of your server and put on this post: http://forums.kleientertainment.com/topic/51160-profiling-your-server-redux-i-need-you/ maybe this may help devs Link to comment https://forums.kleientertainment.com/forums/topic/54084-fix-lags-please/#findComment-638316 Share on other sites More sharing options...
Maris Posted May 18, 2015 Author Share Posted May 18, 2015 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. Link to comment https://forums.kleientertainment.com/forums/topic/54084-fix-lags-please/#findComment-638438 Share on other sites More sharing options...
ToNiO55 Posted May 22, 2015 Share Posted May 22, 2015 @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 methere 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 Link to comment https://forums.kleientertainment.com/forums/topic/54084-fix-lags-please/#findComment-639621 Share on other sites More sharing options...
Maris Posted May 31, 2015 Author Share Posted May 31, 2015 I found over 3000 folders in save/session/02E006FF916C6B78It takes 200-300 ms to list this folder. I think this is cause of "join/leave" lags. Link to comment https://forums.kleientertainment.com/forums/topic/54084-fix-lags-please/#findComment-642455 Share on other sites More sharing options...
Recommended Posts
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.