Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

What about the thermal CPU speed boost throttling in modern multi-core CPUs?

Discussion in 'Entity Component System' started by Arowx, Nov 6, 2020.

  1. Arowx

    Arowx

    Joined:
    Nov 12, 2009
    Posts:
    8,194
    Modern CPUs now have variable Boost speeds that allow heavily loaded cores to run faster as long as they keep within thermal limits.

    So in theory a DOTS based system using all the cores evenly could run slower than a DOTS or non DOTS game that uses fewer cores but more heavily. As each core would be adding to the thermal envelope of the CPU and therefore it would keep the cores Boost speed lower than fewer cores working at a higher rate with other cores idling.

    Has anyone done any tests on a multi-core system to see what impact using less cores working harder can have VS more cores working easier on actual performance?

    Would there be any way that developers or Unity could dynamically change DOTS workloads based on thermals and Boost behaviour of CPUs?

    Side Note: Could loading the edge cores and idling central cores provide more performance and is there any way to know the physical location of a CPU core?
     
    Last edited: Nov 6, 2020
  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,580
    Bring some data please to discussion.
    Run some tests and try to measure performance degradation over the time.
     
    JoNax97 likes this.
  3. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,653
    One more abstract thread from Arowx...:)
     
  4. JoNax97

    JoNax97

    Joined:
    Feb 4, 2016
    Posts:
    611
    These threads shouldn't be allowed outside of general discussion...
     
    DreamingImLatios likes this.
  5. RoughSpaghetti3211

    RoughSpaghetti3211

    Joined:
    Aug 11, 2015
    Posts:
    1,695
    I enjoy the different perspective Arowx posts brings.
     
  6. DreamingImLatios

    DreamingImLatios

    Joined:
    Jun 3, 2017
    Posts:
    3,984
    So I could provide an end-all-be-all answer based on a massive logical oversight in the proposed question, but it is Friday and jumping on the bandwagon seems more fun. So instead, I am going to put my answer behind a codewall. :p

    What's a codewall?

    It's like a paywall, except instead of giving me money, you post original DOTS code here on the forums. ;)

    In all seriousness, this thread really has nothing to do with DOTS other than mentioning it. There is no mention by name of any of the specific DOTS pieces that would apply. But I will honor my codewall if someone were to actually comply!
     
  7. jamespaterson

    jamespaterson

    Joined:
    Jun 19, 2018
    Posts:
    390
    I have personally experienced thermal cpu throttling testing my own game. 3.2ghz machine dropped to 800mhz according to cpuz. Gpu is at 100pc. This is on a laptop. I don't use dots so essentially one core is saturated of four. I suspect that a more balanced load across the cores would improve thermal performance as i regularly run compute tasks with all four cores without this issue.