views:

1784

answers:

8

Is there a way to assign a process to a core (or more than one core) on a multi-core system running Windows XP?

An answer using a GUI is acceptable.

A: 

Sure thing. Open the Windows Task manager, right click on the process, and select "set affinity".

Moshe
A: 

TaskManager > Applications > Rt click - Go to process > Rt click - Set Affinity

Kapil Kapre
A: 

You need to set the affility on the application. Here is an article that shows you how!

Mitchel Sellers
A: 

In task manager, right click on the process (in the "Processes" view) and choose "Set affinity..."

1800 INFORMATION
+4  A: 

You can set a process's affinity using task manager. Right click on the process in the "Processes" tab, and select "Set Affinity...". The, uncheck all the processors you don't want it to run on.

Bob King
Thanks, I knew SO would have the answer!
salt.racer
+1  A: 

If you were talking about doing it in code (ala programming) you can utilize the SetThreadAffinityMask function

curtisk
A: 

Thanks for asking the question, and good to know the answer. Had no idea you can do that in the Windows task manager!

jakobengblom2
+1  A: 

Curtisk, SetThreadAffinityMask is for a thread, he wanted for a process. But for a process, it is similar: SetProcessAffinityMask.

Note that the affinity of a thread must reside within the confines of the affinity of its process, or it won't be set at all.

Juice