Lazalatin / space-engineers-dedicated-ubuntu-docker-server

This project aims to provide an ubuntu docker image in order to host a fully functional dedicated Space Engineers® Server under Linux OSes
GNU General Public License v3.0
22 stars 9 forks source link

Constant low CPU usage #12

Open nrgbistro opened 4 years ago

nrgbistro commented 4 years ago

There are 2 problems I would like to ask about:

  1. Every 5-20 seconds, my server sim CPU load spikes up to >80% for less than 1 second and then goes back down to a steady 15%-18%. This causes character movement (especially noticeable when within 5m-10m of any stationary object) to jerk back/slow down for a second. I have tried connecting both via LAN and WAN with no noticeable difference in performance so I don't think this is a networking issue.

  2. Average CPU load is usually between 30%-50%. This is the same whether I run my empty world and get a constant 1.00 sim speed or if I run my modded world and get a relatively steady 0.40-0.50 sim speed. Is there any way to allow/force the server to utilize more of my CPU/more cores? I have an older AMD fx-8350 8 core CPU in my server and 16gb of ram.

Lazalatin commented 4 years ago

Hi @nrgbistro thanks for opening the discussion! :)

As far as I am concerned, my server also experiences the first issue. I have a hard time tracking that problem down, but, as much as I was able to conclude, it seems to be an optimization problem regarding wine. Maybe proton might help with this. I have to test that.

Regarding the second issue, this is definitely a wine-related issue. It does not allow the app to use more than one thread at once. This limits the capabilities here. Also, this might be solvable by using proton. See above.

nrgbistro commented 4 years ago

@Lazalatin alright. Does the current Proton branch work/actually use Proton? I noticed it hasn't been committed to in a few months. Is it still being looked into as an alternative to Wine?