Space Engineers

Space Engineers

Nanite Control Factory - Automated Construction (Not working - Old Version)
Server CPU usage
Hello tyrsis,

I have a question about your mod that is a little bit more...sophisticated.

I own a server that is running the SE instance, and this system is a really good hardware.
Lately, i noticed that SE started to eat performance away in an unlikely matter.
So, for your information, the system look like that now (no hyperthreading!):
CPU Usage[www.sek2000.net]

Process explorer tells me what is going on here:
Thread details[www.sek2000.net]

The 9 threads with the highest cycles correspond to the number on NCF's on the server.
The 10th thread seems to be SE's internal calculations.



/Edit:
I have a thread analysis for you too: first thread on list:
Thread analysis[www.sek2000.net]

I have a strong feeling that it could be the inventory handling, and that too much requests are done per frame. Is this a possibility in your eyes?

Last edited by [SEK2000]Blackhawk; 2 May, 2016 @ 3:52am
< >
Showing 1-5 of 5 comments
tyrsis  [developer] 2 May, 2016 @ 5:58am 
Rebuilding can be a bit intensive, it's done in a thread, and also only once every 30 seconds. I can't really fathom a situation where that would cause issues, as I've had a server wtih 3000 ships and that was far from anything that would ever cause concern.

I'm not saying there isn't an issue, but I can safely say that isn't it.
All 9 Threads show the same behavior like in picture 3, which shows that Rage seems to trigger the NCF somehow. Each thread is bugging one CPU core atm. This has not been observed in your tests at all?
Edgelord69 4 May, 2016 @ 9:40am 
Originally posted by SEK2000.netBlackhawk:
All 9 Threads show the same behavior like in picture 3, which shows that Rage seems to trigger the NCF somehow. Each thread is bugging one CPU core atm. This has not been observed in your tests at all?
Blackhawk, has the mod cause lag in your server?
Jepp, but since some updates, the issue does not seem to eat up the CPU so much anymore. But i'm still validating. Time will tell :)
Okay, I've checked some more, and it has to do something with the conveyor system at last. i have tracked down the CPU usage to be an issue when the NCF's have the status 'MissingComponents'. I do not think so far that your mod is the root issue, but the amount of cargo move requests done in a short time. And if i understand the sources right, this is one of the situations where this is done every update cycle. Refineries and Assemblers used to have the same behavior, but now its changed. It moves only one type of item per request - maybe this is a way to go here too.
< >
Showing 1-5 of 5 comments
Per page: 1530 50