Jump to content

Inefficient idle state for DST dedicated server


einax2
  • Pending

Server has a high CPU usage when idle.

This is due to the game running in a very tight loop using clock_gettime and futex (it is always wrong to use these two together).

deadlock_log.txt


Steps to Reproduce

1. start Don't Starve Together dedicated server

2. see very high CPU usage with top/htop tools

3. attach to the process with `strace -p 123456`

3. see the very inefficient locking and high precision time sampling




User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...