Sign in with
Sign up | Sign in
Your question

Dedicate a CPU Core to a single process

Last response: in Windows 7
Share
March 28, 2012 6:38:49 PM

I have a 2006 single-threaded game that sometimes uses 100% of one core. I have a 3 core AMD CPU.

Will dedicating a core to the game boost the performance a little bit? Or is Windows 7 is already automatically moving processes to another core when one core tends to be saturated?

How can I dedicate one core to the game without having to manually set all the other processes to use only the two other cores?
Is there a way to pre-set the core affinity before a process is run?
(Windows System Resource Manager seems to be able to do this, but there doesn't seem to be a version of it for Windows 7)
Maybe defining the game priority as Real Time would achieve the same effect? Or is there a risk that this would hang Windows and other processes?

Thank you in advance for your answer.
a b à CPUs
March 28, 2012 6:53:34 PM

If your game is maxing out a core, it means it's already scheduled and running. Setting its priority to realtime is going to do bad things to your system (the game can then preempt user input and networking), but choosing above normal might give you a very small boost in performance (probably unnoticeable).
m
0
l
a b à CPUs
a b $ Windows 7
March 29, 2012 12:15:55 PM

Agree with above. Windows already ensures the highest priority threads always run, and foreground applications get a priority boost over background ones. The only time your games main thread will not be running is when its IO blocked [in which case it will be pre-empted by some other thread]. You can force the game to use only one core, but not the reverse.

As a general rule: You are not smarter then the OS scheduler.
m
0
l
March 29, 2012 2:33:30 PM

Sorry, I meant that when the game is running, under some situations in the game, one core reports 100% load.
m
0
l
!