LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   devide CPU across process (https://www.linuxquestions.org/questions/linux-newbie-8/devide-cpu-across-process-713063/)

procfs 03-20-2009 04:22 AM

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

Valkyrie_of_valhalla 03-20-2009 07:50 AM

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.

procfs 03-22-2009 11:25 PM

HI Valkyrie_of_valhalla, thinks for the your trouble

Best regards

syg00 03-23-2009 01:01 AM

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.

procfs 03-23-2009 03:02 AM

HI Valkyrie_of_valhalla, thinks for the your truble

Best regards

procfs 03-23-2009 03:31 AM

THanks guys
Best regards


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