Content of the article: "Improving starcraft2 cpu performance (for all but especially AMD)"
I've just found this thread and it helped me so I decided to share it. I had intel i5-7500 processor, changed it to amd ryzen 5 2400g and noticed boost in performance, but still I didn't have smooth 60 fps in 1:1 200 vs 200 fights with bunch of zerglings on lowest details and 4:4 performance was crap.
After doing what is in thread games runs much smoother and better.
Change CPU affinity. I believe like guy on blizzard forums says sc2 uses up to 4 threads. https://superuser.com/questions/1105654/logical-vs-physical-cpu-performance
Set CPU affinity using lasso (you can do that in task manager but solutions is not permanent?) so each thread uses different core. I set it to 0,2,4,6. Also I believe moving one thread from one core to other core might be costly (so if you have 6 core cpu limit to 4 cpus because max 4 threads), but I'm not sure, I'm not cpu architect expert. I know L1/L2 cache is not shared between cores so that's one reason why recovering thread context on another core might take more time and there are also some security/memory-access between processes precautions. Context switching basically puts back register values (rax, rbp and stuff) and then restores them.
Starcraft2 uses intel math kernel library (intel mkl). Intel mkl has unfair CPU dispatchers. It checks whether cpu is intel or not and then uses one instruction set or other.
More info here:
I'm not dead sure if it helped me because I only did it after affinity step, but I think I noticed boost in performance. I set env variable mkl_debug_cpu_type=5 like here
However I read intel mkl removed that env variable in their update this year, but I think sc2 is shipped with older version(need to change binary/library files otherwise or use debugger tools that override memory of working application).
- Screen shakes very slight on abilities since Legion (Blue post confirmed this is intended) and it’s causing nausea. PLEASE MAKE IT A OPTION IN SHADOWLANDS!
- work-arounds for bug, where game freezes for 5-10 seconds in a GR.
- BFA / Shadowlands DX11 vs DX12 Performance Analysis
Top 7 NEW Games of January 2021
New year - new month - new games. Take a look at the first 2021 games you’ll be playing on PC, PS5, PS4, Xbox Series X, Xbox One, Switch, and more.
More about StarCraftPost: "Improving starcraft2 cpu performance (for all but especially AMD)" specifically for the game StarCraft. Other useful information about this game:
Top 10 Best Video Games of 2020 (So Far)
In times of uncertainty, video games allow us to escape from the stress of the real world. For this list, we’ll be looking at some of the best games released in the first half of 2020.