LinuxQuestions.org
Register a domain and help support LQ
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 05-27-2010, 01:30 PM   #1
elelab
LQ Newbie
 
Registered: Feb 2010
Posts: 3

Rep: Reputation: 0
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%

Last edited by elelab; 07-01-2010 at 11:59 AM.
 
Old 05-27-2010, 03:22 PM   #2
valen_tino
Member
 
Registered: Jan 2008
Posts: 105

Rep: Reputation: 28
This may help http://kbase.redhat.com/faq/docs/DOC-15596
 
Old 05-27-2010, 06:24 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,834

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
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.
 
Old 07-01-2010, 12:02 PM   #4
elelab
LQ Newbie
 
Registered: Feb 2010
Posts: 3

Original Poster
Rep: Reputation: 0
thanks a lot for reply.
 
  


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
Assign process nic ahalabb Linux - Networking 17 04-21-2010 02:32 PM
Where to Download RHEL Client or Workstation? Skynet.Boy Red Hat 2 04-05-2010 12:04 PM
How do i assign max cpu to applications? RonaldUitAlmere Debian 3 05-23-2006 06:44 AM
How to assign one particular process to particular CPU, in multiprocessor Architeture sudha Linux - General 1 01-23-2005 11:53 AM
How to assign CPU usage with Thread wangru Programming 5 08-25-2004 11:14 AM


All times are GMT -5. The time now is 06:44 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