LinuxQuestions.org
Review your favorite Linux distribution.
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 03-20-2009, 05:22 AM   #1
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 601

Rep: Reputation: 34
devide CPU across process


HI

I have multy CPU HP system running Redhat AS3 update4. Running custom made process (Bulling like)

Lets say my CPU count is 4, and I have process A and B running (A and B will be invoked by deferent users) can I assign cpu 2 to process A and CPU 3 to process B.

Thanks and best regards
 
Old 03-20-2009, 08:50 AM   #2
Valkyrie_of_valhalla
Member
 
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Rep: Reputation: 30
Interesting question, I googled a bit and found this for you:
http://www.linux-noob.com/forums/ind...showtopic=2413

Basically it says it's a package called schedutils that can do this.
 
Old 03-23-2009, 12:25 AM   #3
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 601

Original Poster
Rep: Reputation: 34
HI Valkyrie_of_valhalla, thinks for the your trouble

Best regards
 
Old 03-23-2009, 02:01 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,040

Rep: Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914
The in-kernel support for this is now handled by cgroups and containers. Depending on how old the AS3 kernel is, you might need to use cpusets - it's the old/initial incarnation of this. Still works o.k. - I use it reasonably frequently. See ../Documentation in your source tree.
 
Old 03-23-2009, 04:02 AM   #5
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 601

Original Poster
Rep: Reputation: 34
HI Valkyrie_of_valhalla, thinks for the your truble

Best regards
 
Old 03-23-2009, 04:31 AM   #6
procfs
Member
 
Registered: Jan 2006
Location: Sri Lanka
Posts: 601

Original Poster
Rep: Reputation: 34
THanks guys
Best regards
 
  


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
per process Cpu utilization kunal_patel22 Linux - Software 4 12-04-2007 06:14 PM
Check Devide Properties dwarf007 Linux - Hardware 1 06-29-2006 03:43 PM
Check Devide Properties dwarf007 Linux - Hardware 1 06-29-2006 09:40 AM
changing Lilo default boot devide Cheechi Mandriva 1 07-12-2004 09:39 PM
gtop process using 20% of CPU? defa0009 Linux - General 4 03-23-2004 11:40 AM


All times are GMT -5. The time now is 06:07 AM.

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