LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   How do you assign a process to a specific processor? (http://www.linuxquestions.org/questions/linux-general-1/how-do-you-assign-a-process-to-a-specific-processor-127136/)

ter_roshak 12-18-2003 11:30 PM

How do you assign a process to a specific processor?
 
I have been playing around with the Folding@home application of late and am wondering how to assign a process to a specific processor. I have an SMP machine and I started two of the console applications to run the folding application and they are both running on the same CPU. Also, any documentation on this topic would be wonderful.

Josh

oulevon 12-19-2003 12:38 AM

I'm pretty sure this can't be done with a normal kernel. So, as to which processor gets which process would depend on the Scheduling algorithm that is implemented by the OS. I did come across this kernel hack, that seems to be doing the same thing you are interested in.

http://www.deater.net/john/processorgroups.html

I hope that helps.


All times are GMT -5. The time now is 03:20 AM.