Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.

    Read our full announcement for more information and let us know if you have any questions.

Question Dynamic frame rate for servers based on CPU usage

Discussion in 'Game Server Hosting' started by jackward84, Aug 26, 2023.

  1. jackward84


    Jan 26, 2017
    Has anyone done this before/any advice?

    Playing around with what my game servers are capable of handling CPU wise, the answer is not black and white. It very much depends on what is happening on the server. I can set the value to an amount that is ok 99% of the time, and still bring the server down by spawning too many things that require CPU usage.

    While steps can be taken to optimize or ensure there's "always enough CPU available", having a dynamic frame rate would ensure that (1) CPU is not being wasted (2) if accidentally using too much CPU, we can just reduce the frames instead of risking a deallocation.

    Before diving in to it, I'm interested if anyone has played around with dynamic frame rates for servers on UGS and what they found the best practices to be.