3 Replies Latest reply on May 5, 2017 11:22 AM by logic

    Stop thread 'hopping' between CCXs and unnecessary SMT for Ryzen gaming and app performance:

    logic

      CCX:

      With Ryzen there is a separate 8 MB L3 cache per 4 core CCX.

      Windows loves moving threads from core to core in an effort, I assume, to keep each core equally loaded.
      As the L3 cache of each core complex is connected via the Infinity Fabric bus, the moving of a thread also requires the moving of its cache data via this bus.

      The Infinity Fabric bus runs at the memory controller's speed and is shared by the memory controller, PCIe, etc.

      Hence moving a thread causes unnecessary load on the Infinity Fabric bus and latencies, leading to less than optimal performance.

       

      amd-ryzen-core-latency.png

      http://www.sisoftware.eu/2017/04/

       

      ping-amd.png

      AMD Ryzen and the Windows 10 Scheduler - No Silver Bullet | PC Perspective

       

      SMT:

      SMT is an issue with older software optimized for Intel HyperThreading:

      It seems to misinterpret things and consider virtual cores as physical cores, complete with a full L1, L2 etc cache.

      As this software is not all going to be updated, a good workaround is to avoid SMT until there are more related threads than cores per CCX.

       

      aHR0cDovL21lZGlhLmJlc3RvZm1pY3JvLmNvbS9YLzQvNjY3MzM2L29yaWdpbmFsL2ltYWdlMDQyLnBuZw==

      AMD Ryzen 5 1600X CPU Review

       

       

      The developer of Project Mercury seems to have written a really nice app that does a good job of solving the above issues and is really light on resources despite the strange name choice and lack of advertising skills:

      TechCenter.dk

       

      Other apps with similar capability:

      AMD Ryzen Processor Optimization added to Cacheman 10.10:

      https://community.amd.com/external-link.jspa?url=https%3A%2F%2Fwww.techpowerup.com%2F232096%2Foutertech-adds-amd-ryzen-p…

      Bitsum's Process Lasso:

      https://community.amd.com/external-link.jspa?url=https%3A%2F%2Fbitsum.com%2F

       

      While I can understand the above logic, I have no background in software development beyond some programs written in Basic in the 80's, I beleive this or a similar app, perhaps with prewritten profiles similar to what Nvidia does with their drivers, should be part of the software Ryzen software package..!?

      I post this here in the hope that someone of some import and without a 'not invented here' complex, sees it.