LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How can you force a program/process to run on a specific CPU core? (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-you-force-a-program-process-to-run-on-a-specific-cpu-core-694047/)

icedfusion 12-31-2008 07:48 AM

[SOLVED] How can you force a program/process to run on a specific CPU core?
 
Hi,
Having a quad core processor, when I launch a program/process, I always want it to run on a specific core, is there a way to over-ride the scheduler that does this?

Cheers

ice.

David1357 12-31-2008 09:33 AM

Quote:

Originally Posted by icedfusion (Post 3392543)
Is there a way to over-ride the scheduler that does this?

Install the "schedutils" package and use "taskset".

icedfusion 12-31-2008 10:10 AM

Cheers for that. Just what I was looking for.

ice.


All times are GMT -5. The time now is 04:17 PM.