LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-31-2008, 08:48 AM   #1
icedfusion
Member
 
Registered: Jun 2004
Posts: 31

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

Last edited by icedfusion; 12-31-2008 at 11:11 AM.
 
Old 12-31-2008, 10:33 AM   #2
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by icedfusion View Post
Is there a way to over-ride the scheduler that does this?
Install the "schedutils" package and use "taskset".
 
Old 12-31-2008, 11:10 AM   #3
icedfusion
Member
 
Registered: Jun 2004
Posts: 31

Original Poster
Rep: Reputation: 15
Cheers for that. Just what I was looking for.

ice.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Command to run program on a specific display? thecake Linux - Newbie 1 12-16-2008 03:55 PM
Way to force a specific value for system uptime? soliax Linux - Kernel 8 09-10-2008 01:18 AM
Boot with 'acpi=no'-Ubuntu shows one core,normal boot-kacpid process is eating 70%CPU WebEyeX Ubuntu 5 05-18-2008 07:48 AM
Intel DG33FB motherboard - cannot run second core on cpu (core 2 duo) rmitev Linux - Enterprise 2 09-28-2007 05:54 AM
run program automatically at specific time simon_qwl Programming 2 03-20-2005 11:58 AM


All times are GMT -5. The time now is 12:22 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration