CPU usage up 200-500% with 1.0 dedicated server

Not sure, servers that I run on my 3200g (win10 pro) and 5800x (win11 pro) barely use my CPU at all with 1 - 4 players unless it's during heavy situations (blood moons, tier 3+ quests, etc), and less than 1% on idle. 

 
Not sure, servers that I run on my 3200g (win10 pro) and 5800x (win11 pro) barely use my CPU at all with 1 - 4 players unless it's during heavy situations (blood moons, tier 3+ quests, etc), and less than 1% on idle. 


FYI, the i3-N305 is not less powerful than the 3200G (which I used to host at one point). I've never seen less than 1% on idle on any CPU using Linux.

I'll try under Windows with the 4600G to compare, but currently, it's idling at 20%.

Unless there's a secret sauce to run the server.

 
Last edited by a moderator:
Tested on an i5-8400, and is was about 2.3% CPU idle in Windows. This server has near-vanilla settings and a few QoL mods.

On a 3900x it is showing 18.8%. This is a 12c/24t CPU, so if it were to max out a single core it would be at 100% CPU with max system CPU at 2400%. (I covered this in much detail earlier in the thread.)  So if we were to compare it to Windows, it would be showing 4.5%. Note that this particular server has about twice the mods and zed settings as the previous server.

Later I can test on a 5600x, 5950x, i7-7700HQ, and some other older hardware if you like.

 
Unless there's a secret sauce to run the server.


Yeah not sure, definitely not secret sauce :)  . I just port forward for the machine that's running it, add exclusions to windows security and launch. I do have quite a number of startup programs and windows features turned off (lots turned on for dev debugging work and console stuff tho, but that doesn't matter).

I don't remember idle percentage on hand with Linux, but it's not any better/worse/different than Win10 on that machine.

 
My dedicated server is idling at 10% with current game directly after start. I can't say what it was in A21 but I would be surprised if it was anything less. I can't say what it would be after letting it run for a day since I don't have a need for letting it run that long.

Your logfile is simply needed so people with experience in reading logfiles for this game can look for suspicious data or generally for out-of-the-ordinary things. Nobody can tell you before looking at it where or what the suspicious data is. And different people will spot different things or get different ideas because they are looking for different things in there and have different experiences with all kinds of bugs.

The other reason is to get a full picture of the situation. I have seen dozens of players report an issue and claim one thing and the logfile showed something different. Mistakes happen.


Thank you for your input. I want to be clear: my main concern is the comparison between idle CPU usage in version a21 and version 1.0, on the same hardware, with the same default game settings and map size. The specific percentage numbers alone aren’t as important because they vary depending on the CPU. What I’m trying to understand is why there’s such a dramatic increase in CPU usage from a21 to 1.0 under these consistent conditions.

If you think the logs could help identify the issue, I can provide them. Let me know how you’d prefer to receive them.

 
Since the architecture and setup has such a large impact on performance, it is extremely important to discuss the specifics when attempting to assimilate the data regarding the metrics you are seeing.  Sure different versions will have different performance simply due to changes in features, options, and how that version of the client utilizes your hardware. 

The problem is that you are claiming broad sweeping differences, and there is no point of reference to validate a possible cause.

As for the logs, it would be the full log from the server running. Beginning to end. That will give us a lot of information on what the performance metrics of the system are as it is working through gameplay. The most relevant data is basically everything that is inside of the log file.  

I'm trying to set an example, but Pastebin is getting so hard to use with how bloated these logs get.  One minute...


Google Drive hates my files too.  Probably the work firewall. I will have to play with it later.

Apparently, OneDrive works from work...

In this particular log, the server did end up freezing because of an EOS issue. This has been not real common but has been happening regularly since Stable dropped. The client is still able to process telnet login requests, and getting details using the Steam API works peachy, so any monitoring tools think the server is alive. However, the server is incapable of processing user logins or even any commands via telnet/console. As a result, the only way to stop the client is by force killing the process.  Fun times.


My concern is specifically with the 500% increase in CPU usage between a21 and 1.0, both running on the same hardware and configurations. This isn’t about performance in isolation but about the stark contrast between these two versions under conditions that are as close to identical as I can get between a21 and 1.0. The consistency in hardware and setup is key here and serves as the point of reference.

I’m trying to understand whether this increase could be due to new features in version 1.0, changes in task handling, or potential inefficiencies or bugs in the new code.

While I’ve been hesitant to provide logs, I’m willing to share them if you still think they’re necessary. Could you confirm if this is needed and suggest the best platform for uploading?

 
Last edited by a moderator:
While I’ve been hesitant to provide logs, I’m willing to share them if you still think they’re necessary. Could you confirm if this is needed and suggest the best platform for uploading?
Info on posting logs is right in the pinned topic.  In short, put on pastebin and put the link here.  Why would you be hesitant?  Logs are vital for determining the cause of problems.  Otherwise, you're only going to get random guesses.

 
Info on posting logs is right in the pinned topic.  In short, put on pastebin and put the link here.  Why would you be hesitant?  Logs are vital for determining the cause of problems.  Otherwise, you're only going to get random guesses.


Riamus, I’ve been hesitant because my original question was about comparing CPU usage between a21 and 1.0 on identical hardware, OS, game settings, map size, and with no added mods — especially when the game is idling. I thought these controlled conditions would make the issue clear. However, it seems that some view logs as necessary to move the discussion forward.

Regarding the idea that we’re only getting random guesses without logs, I’m trying to avoid that by focusing on specific comparisons. Unfortunately, quite random is what most of the responses so far have felt like.

When I'm able, I’ll post the logs on Pastebin as suggested, even though I expected a more direct discussion on the comparison itself. Thanks for chiming in.

 
Tested on an i5-8400, and is was about 2.3% CPU idle in Windows. This server has near-vanilla settings and a few QoL mods.

On a 3900x it is showing 18.8%. This is a 12c/24t CPU, so if it were to max out a single core it would be at 100% CPU with max system CPU at 2400%. (I covered this in much detail earlier in the thread.)  So if we were to compare it to Windows, it would be showing 4.5%. Note that this particular server has about twice the mods and zed settings as the previous server.

Later I can test on a 5600x, 5950x, i7-7700HQ, and some other older hardware if you like.


I tried on the same machine (4600G) but under Windows, and CPU usage was mainly 0%, sometimes 1% (which would be 12% on Linux).

Maybe it is due to how Windows reports CPU usage, but in this case, it does indeed look like the process is really idle.

 
Riamus, I’ve been hesitant because my original question was about comparing CPU usage between a21 and 1.0 on identical hardware, OS, game settings, map size, and with no added mods — especially when the game is idling. I thought these controlled conditions would make the issue clear. However, it seems that some view logs as necessary to move the discussion forward.

Regarding the idea that we’re only getting random guesses without logs, I’m trying to avoid that by focusing on specific comparisons. Unfortunately, quite random is what most of the responses so far have felt like.

When I'm able, I’ll post the logs on Pastebin as suggested, even though I expected a more direct discussion on the comparison itself. Thanks for chiming in.
Yeah, I need to set up some like vs tests. Deploying Win 11 upgrades at work, and catching up with a massive SharePoint migration leaves me with little free time though.

I will note that between a21 and 1.0, I haven't really noticed a lot of difference in CPU usage. Mostly the difference as been RAM usage. 1.0 uses a good bit less.

 
Riamus, I’ve been hesitant because my original question was about comparing CPU usage between a21 and 1.0 on identical hardware, OS, game settings, map size, and with no added mods — especially when the game is idling. I thought these controlled conditions would make the issue clear. However, it seems that some view logs as necessary to move the discussion forward.

Regarding the idea that we’re only getting random guesses without logs, I’m trying to avoid that by focusing on specific comparisons. Unfortunately, quite random is what most of the responses so far have felt like.

When I'm able, I’ll post the logs on Pastebin as suggested, even though I expected a more direct discussion on the comparison itself. Thanks for chiming in.
Understandable, but the experience of everyone else seems to be that there isn't any significant difference, which means there is a good chance it is something specific to you, which logs will show.  You may have some error or warning flooding logs, causing things to lag, for example.  Your map and mods (if you were using some, which you said you weren't, and I'm just saying this for anyone else with similar issues) are going to have been updated or changed for 1.0, even if it was just for compatibility.  These things can still cause problems and knowing everything helps to test those same conditions.

 
Last edited by a moderator:
my main concern is the comparison between idle CPU usage in version a21 and version 1.0, on the same hardware,
image.pnge is A21.2 and Serverconfig-V1.0.xml is V1.0. Both instances are idle with no users connected.

A21.2 putters between 7.4% and 9.4%
V1.0 putters between 9.4% and 12%.

 
SylenThunder said:
Yeah, I need to set up some like vs tests. Deploying Win 11 upgrades at work, and catching up with a massive SharePoint migration leaves me with little free time though.

I will note that between a21 and 1.0, I haven't really noticed a lot of difference in CPU usage. Mostly the difference as been RAM usage. 1.0 uses a good bit less.
Thanks for the update. Likewise, I’m also working on a solution to a sync problem with SharePoint, so I get the time constraints. It’s interesting that you haven’t noticed much CPU difference, and more RAM usage instead. If you do get a chance to run those tests, I’d be curious to hear the results. The consistently high CPU usage I’m seeing has been puzzling.

Riamus said:
Understandable, but the experience of everyone else seems to be that there isn't any significant difference, which means there is a good chance it is something specific to you, which logs will show.  You may have some error or warning flooding logs, causing things to lag, for example.  Your map and mods (if you were using some, which you said you weren't, and I'm just saying this for anyone else with similar issues) are going to have been updated or changed for 1.0, even if it was just for compatibility.  These things can still cause problems and knowing everything helps to test those same conditions.
Thanks for continuing the conversation. I understand the issue might be specific to my setup, and I’ll keep exploring potential causes.

Beelzybub said:
View attachment 32349e is A21.2 and Serverconfig-V1.0.xml is V1.0. Both instances are idle with no users connected.

A21.2 putters between 7.4% and 9.4%
V1.0 putters between 9.4% and 12%.
Thank you for providing those numbers. It’s really helpful to have that comparison, and it does suggest the issue may be on my side. Your input has been extremely valuable to this discussion, and I appreciate your help. I’ll keep digging into it and share more as I go.

 
Back
Top