Page MenuHomeSchine - Phabricator

Starmade | Dedicated server GUI maxes 1 CPU core
Closed, FinishedPublic

Description

#1

When starting dedicated server from launcher, it maxes 1 cpu core. Using StarMade-dedicated-server-windows.bat directly leaves it down to about 0%.

So there is propably some thread in the server GUI that is not using sleep(), or similar way of resting the CPU.

gui-vs-console.png - CPU-Usage Graph (106 KB) Delete AndyP, 11/29/2014 02:20 PM

#2


Looks like the GUI impacts performance on a really bad portion.

Even when the server almost drops the same messages.

Startup logs with and without gui.

https://www.diffchecker.com/caxdadl3

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
Serverside
Reproducible
Yes
Last tested (version)
0.19291 (Dev)
Category
Engine
First occurrence (version)
0.1617
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Serverconfig (server.cfg)
<replace this line with the file content>
Clientconfig (settings.cfg)
<replace this line with the file content>

Event Timeline

SmilingDemon updated the task description. (Show Details)Jun 25 2015, 4:31 PM
SmilingDemon changed the visibility from "Custom Policy" to "Public (No Login Required)".
SmilingDemon changed the edit policy from "Task Author" to "Starmade (Project)".
SmilingDemon changed Category from none/unspecified to Engine.
SmilingDemon changed Affected Gamemode(s) from none/unspecified to Serverside.
SmilingDemon set First occurrence (version) to 0.1617.
SmilingDemon changed Reproducible from uncertain to Yes.
SmilingDemon set Last tested (version) to 0.19291 (Dev).
SmilingDemon edited a custom field.
SmilingDemon edited Serverconfig (server.cfg). (Show Details)
SmilingDemon edited Clientconfig (settings.cfg). (Show Details)
SmilingDemon added a subscriber: SmilingDemon.
SmilingDemon created this task.
SmilingDemon raised the priority of this task from to Normal.
Restricted Application added projects: Issue Navigation, Starmade. · View Herald TranscriptJun 25 2015, 4:31 PM
SmilingDemon changed the task status from Open to In Queue (Game).Jun 25 2015, 4:32 PM
Restricted Application edited projects, added Game Development; removed Issue Navigation. · View Herald TranscriptJun 25 2015, 4:32 PM
AndyP shifted this object from the S1 Public space to the S3 Starmade space.Aug 11 2015, 11:23 PM
AndyP changed the edit policy from "Starmade (Project)" to "All Users".
AndyP set Task Type to Bug.
AndyP set OS-Specific to No.
AndyP set Hardware-Specific to No.
AndyP set Video Card Vendor to uncertain.
schema added a subscriber: schema.Mar 9 2017, 4:17 PM
schema changed the task status from In Queue (Game) to Resolved.

Possibly fixed by detaching a while ago. Cannot reproduce anymore

Restricted Application edited projects, added Quality Assurance; removed Game Development. · View Herald TranscriptMar 9 2017, 4:17 PM
Restricted Application added a project: Engine. · View Herald TranscriptMar 10 2017, 6:32 PM
lancake closed this task as Closed.Jun 16 2017, 8:12 PM
Restricted Application removed a project: Quality Assurance. · View Herald TranscriptJun 16 2017, 8:12 PM