Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Performance issues: possible CPU upgrade?

Discussion in 'ML-Agents' started by StewedHarry, Jul 20, 2020.

  1. StewedHarry

    StewedHarry

    Joined:
    Jan 20, 2020
    Posts:
    25
    I'm doing a relatively simple project which requires an agent to traverse a maze like environment (it is not a maze as the agent knows where the exit it). The agent is more successful when its observations are stacked and it has some kind of memory to draw from, however this is computationally taxing and my system is struggling to keep up. I'm getting around 13 fps in unity while training 6 instances, with 15 stacked observations

    My CPU is an I5 6600k, and my GPU is a 6gb 1060gtx. I have read that the GPU is under (or not) utilised in ML agents so I am looking to upgrade my CPU. Would I benefit from getting more cores, or from a higher clock speed? Ideally I would like to be able to run many instances of my training scenario, and possibly increase the agents available memory.
     
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    558
    I'll circulate this with the team, and be in touch with any guidance they have.
     
  3. awjuliani

    awjuliani

    Unity Technologies

    Joined:
    Mar 1, 2017
    Posts:
    37
    Hello,

    In most cases, a faster CPU would likely lead to greater performance improvements compared to more cores.
     
  4. StewedHarry

    StewedHarry

    Joined:
    Jan 20, 2020
    Posts:
    25
    Thanks for the reply!
     
unityunity