LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 12-19-2003, 12:30 AM   #1
ter_roshak
Member
 
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.

Josh
 
Old 12-19-2003, 01:38 AM   #2
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 435

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.

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

I hope that helps.
 
  


Reply


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 02:11 PM
How do I know processor usage by a process bipinkdas Linux - Newbie 1 11-05-2005 12:45 AM
How to assign one particular process to particular CPU, in multiprocessor Architeture sudha Linux - General 1 01-23-2005 11:53 AM
assign new data partition to specific users wycolorado Linux - Newbie 2 01-01-2005 10:53 PM
Assign Privs to specific user sikandar Linux - Software 13 08-31-2003 03:12 AM


All times are GMT -5. The time now is 10:13 PM.

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