LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to assign CPU resource to a certain process(RHEL 5.5 client with workstation) (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-assign-cpu-resource-to-a-certain-process-rhel-5-5-client-with-workstation-810500/)

elelab 05-27-2010 12:30 PM

how to assign CPU resource to a certain process(RHEL 5.5 client with workstation)
 
Hi guru,

How to assign CPU and memory resource to a certain process?
How to assign CPU and memory resource to a certain user?
Let's assume the software is no limit for resource usage.

Below is a description of my situation.
dual 6 core, 32G memory, RHEL5.5 client with workstation option.

I run a big computation (say process1). However, I found from KDE system guard the CPU and memory are not loaded as expected. below are numbers.

user% system%
process1 100 0.00

and CPU idle 90%, memory free 97%

valen_tino 05-27-2010 02:22 PM

This may help http://kbase.redhat.com/faq/docs/DOC-15596

syg00 05-27-2010 05:24 PM

Probably single threaded - in which case it wil never use more than 1 core. You can't do anything to give it more CPU - except use "bigger" cores.
See if you have a multi-threaded option.

As for isolating workloads, I find cgroups much more usabale - and it accomodates forked processes.

elelab 07-01-2010 11:02 AM

thanks a lot for reply.


All times are GMT -5. The time now is 03:34 PM.