PDA

View Full Version : Affinity Problems


bundok
6 Jan 2006, 6:58am
I have a program that does not like my dual core AMD processor. It used to be that everytime I would load it up, I would have to alt-tab back to the desktop, find the process in Task Manager and then set the affinity to only one of the cores. Now however, the program won't let me alt-tab permanently to windows, it keeps overriding and I can't access Task Manager when the program is running. Is there a way to permanently set the affinity for the program so that I don't have to find a workaround?

Straight_Man
6 Jan 2006, 3:19pm
Can you minimize the program, then use Ctrl-Alt-Del to get to task manager???? Sorry, I do not know the registry enough to set up a static affinity key as XP likes to do this dynamically itself. Thus it uses DYN_Keys for this.

bundok
6 Jan 2006, 5:08pm
Can you minimize the program, then use Ctrl-Alt-Del to get to task manager???? Sorry, I do not know the registry enough to set up a static affinity key as XP likes to do this dynamically itself. Thus it uses DYN_Keys for this.

I have tried via the alt-tab method (it doesn't have an in program minimize button) but it minimizes for less than a second and then automatically maximizes again. Leaving no possibility for using any other in windows program.

Having said that, I found a solution to the problem. Using the program imagecfg and placing it in the system32 folder in the windows directory. I accessed the program through the cmd prompt and then used the following sytax

imagecfg -u 0x1 "C:\Program Files\Mozilla Firefox\programname.exe" then
imagecfg -a 0x1 "C:\Program Files\Mozilla Firefox\programname.exe"

and now the program works perfectly.