Jump to content
Sign in to follow this  
Nakita9359

What causes the server lag?

Recommended Posts

Not a network specialist or anything but was curious what is causing the server lag? I seem to get on just in time for some of the lag storms so I'm just lucky I guess. Still though, just looking to learn. 

Share this post


Link to post
Share on other sites

the game is on a custom engine thats older then dirt for one, two the amount of people in an area 3 your pc and the way your settings are 4 the amount of corpses left lying around

 

also yes theres random spikes in lag and i guess thats it processing a bunch of data at once

Share this post


Link to post
Share on other sites
53 minutes ago, cowhorseman said:

the game is on a custom engine thats older then dirt for one, two the amount of people in an area 3 your pc and the way your settings are 4 the amount of corpses left lying around

 

also yes theres random spikes in lag and i guess thats it processing a bunch of data at once

The game used to run fine (for me) back in the day though, even when it was nearing its end and people started complaining about lag, 

and the game used to have alot more people i suppose, i mean the engine/server code still got the same job as 10 years ago so why would its performance change just due to age.

 

those 15+ seconds lagg spikes were pretty massive thou.

Share this post


Link to post
Share on other sites
1 hour ago, cowhorseman said:

the game is on a custom engine thats older then dirt for one, two the amount of people in an area 3 your pc and the way your settings are 4 the amount of corpses left lying around

 

also yes theres random spikes in lag and i guess thats it processing a bunch of data at once

Regarding Corpses, Do you think getting rid of the NPC who just guns down blades in a the starting area? Would that reduce some lag?

Share this post


Link to post
Share on other sites
2 hours ago, wieditleestisg3k said:

The game used to run fine (for me) back in the day though, even when it was nearing its end and people started complaining about lag, 

and the game used to have alot more people i suppose, i mean the engine/server code still got the same job as 10 years ago so why would its performance change just due to age.

 

those 15+ seconds lagg spikes were pretty massive thou.

This was part of the reason why I asked about the server lag. I rarely experienced anything like this before with even more folks on so was thinking about and asking for some reasons this could be happening more so this time around. That said, I do wonder if going to the newer operating platform changed the way how data flow is being handled. It reminds me of trying to play an old 20 year old pc game on current OS / Hardware and crashing it out all the time. 

 

Appreciate the responses!

Share this post


Link to post
Share on other sites
6 hours ago, Eliessar said:

Regarding Corpses, Do you think getting rid of the NPC who just guns down blades in a the starting area? Would that reduce some lag?

would help no doubt but as a con makes the town feel less alive. just try not to kill to many mobs and not loot them or you bog it all down

Share this post


Link to post
Share on other sites

Your PC settings / specs / performance etc have absolutely zero impact on server lag.

 

The servers have just been totally rebuilt from the source code on a new x64 platform so some issues are to be expected.  Its only been a few days as yet and they are actively working on them though so things should stabilise in time.

  • Like 2

Share this post


Link to post
Share on other sites

I don't think this is the x64 remake they were talking about. As far as I understand it's just a slightly edited version of the original source.

  • Like 1

Share this post


Link to post
Share on other sites
49 minutes ago, Phrozen said:

I don't think this is the x64 remake they were talking about. As far as I understand it's just a slightly edited version of the original source.

As I understand its some of the server code has been cleaned up and recompiled from 32 bit to 64 bit, so yeah still same old code in a 64 bit environment

 

Also seen Matt mentioning server hardware running at 100% CPU, that will cause lag as it cant complete it tasks

Edited by Hondy
  • Like 1

Share this post


Link to post
Share on other sites
16 hours ago, Eliessar said:

Regarding Corpses, Do you think getting rid of the NPC who just guns down blades in a the starting area? Would that reduce some lag?

The game always had this since day one, plus a much higher population back then as well.  So I don't think a bunch of NPC corpses in the game world causes these 15+ second lag spikes.

 

Like one already said above, it's part of the charm of this game.

Edited by Jeronan

Share this post


Link to post
Share on other sites

Yeah they said they'd recompiled the server code to run in a modern 64 bit environment - part of the issues before was the servers were running in a very old out of support 32 bit Linux environment so they couldn't patch it etc

 

The client is the same old client we had before and that will be the "remake"

Share this post


Link to post
Share on other sites
2 minutes ago, Jeronan said:

The game always had this since day one, plus a much higher population back then as well.  So I don't think a bunch of NPC corpses in the game world causes these 15+ second lag spikes.

 

Like one already said above, it's part of the charm of this game.

It will if the new server isn't powerful enough to handle it. I guarantee this server isn't as powerful as the previous one.

Share this post


Link to post
Share on other sites
10 minutes ago, Phrozen said:

It will if the new server isn't powerful enough to handle it. I guarantee this server isn't as powerful as the previous one.

Ehh yes it is. The old servers were ancient and were forced to run 32bit OS. Now with the recompile they can use more modern hardware with 64bit OS.

This would have a big positive impact on performance.

 

The issue is most likely elsewhere. It could be anything. They basically just recompiled to 64bit and since its a very old engine beneath, unexpected issues can and will arise that will need to be ironed out.

 

They reported that they saw 100% CPU spikes, which is most definitely the cause of those 15+ second lag spikes we experienced yesterday. They just now need to find out what is causing them.  It doesn't mean the CPU is too weak, but rather some process that is wrecking havoc in CPU consumption.

It can be as simple as a bad unoptimized query or a missing index on a database (example).

Edited by Jeronan
  • Thanks 1

Share this post


Link to post
Share on other sites

From my experience in Rimworld, CPU can be a result of too many things processing too many commands at once. I suppose corpses would be more of a RAM issue, but it would certainly alleviate SOME stress if the NPCs weren't constantly being commanded to find every enemy within a certain radius and kill them.

I suppose you're right though. While the servers may not be as powerful, the 64 bit recompile should compensate quite well for it.

Share this post


Link to post
Share on other sites

caused by bad coding something small as one button on UI that doesn't release can cause buildup of lag happened to WoT. 

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...