Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-18-2003, 11:30 PM   #1
Registered: May 2001
Location: Everett, WA
Distribution: Gentoo, RedHat
Posts: 102

Rep: Reputation: 15
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.

Old 12-19-2003, 12:38 AM   #2
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 437

Rep: Reputation: 30
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.

I hope that helps.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
get info about a specific process hfawzy Programming 4 01-31-2007 01:11 PM
How do I know processor usage by a process bipinkdas Linux - Newbie 1 11-04-2005 11:45 PM
How to assign one particular process to particular CPU, in multiprocessor Architeture sudha Linux - General 1 01-23-2005 10:53 AM
assign new data partition to specific users wycolorado Linux - Newbie 2 01-01-2005 09:53 PM
Assign Privs to specific user sikandar Linux - Software 13 08-31-2003 02:12 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration