Bitsum Community Forum

General Category => Process Lasso => Topic started by: Coldblackice on July 15, 2014, 12:45:17 AM

Title: Any benefit to setting CPU affinity?
Post by: Coldblackice on July 15, 2014, 12:45:17 AM
Would there be any possible benefit to setting the CPU affinity for a game? Like Starcraft 2, for example.

I've heard suggestions before that there's some benefit to be had by setting the affinity, like choosing real cores only (no hyperthreaded cores), choosing cores of a certain number, choosing particular cores that "match", etc. Is there any benefit to this, or is it just digi-voodoo?
Title: Re: Any benefit to setting CPU affinity?
Post by: BenYeeHua on July 15, 2014, 05:03:14 AM
Except you are still using Windows XP, there should be no reason to do that.
Because since Windows Vista, the scheduler know it is a HT-core, and will avoid it when there are some heavy works on the other HT-core/thread.

And you can disable core-parking to reduce the overload of scheduler, which park the core too often that causing some overhead and reducing the performance. :)

http://bitsum.com/about_cpu_core_parking.php (http://bitsum.com/about_cpu_core_parking.php)
Title: Re: Any benefit to setting CPU affinity?
Post by: Coldblackice on July 15, 2014, 05:33:39 PM
Ah, k. Thanks Ben.

And man, you're like the all-knowing encyclopedia of all things computers! Is there anything you don't know?! :)
Title: Re: Any benefit to setting CPU affinity?
Post by: BenYeeHua on July 16, 2014, 03:54:08 AM
Yes, anything that I don't interesting to learn. :)