Operating System - HP-UX
1834389 Members
1871 Online
110066 Solutions
New Discussion

Re: Dynamic resource alloation

 
ramkumar
Valued Contributor

Dynamic resource alloation

Hi i am having few queries .

1. Is there any way to allocated processors dynamically or dedicatedly to a particular application or a package ?

2. Is it possible to do it by using PRM
2 REPLIES 2
melvyn burnard
Honored Contributor

Re: Dynamic resource alloation

If I understand you correctly, you are asking if you can dedicate a procesor/processors to a process or an aplication's processes.
There a few ways you can do this:
1) Use Psets
2) Use PRM
3) Use WLM (which uses PRM)
4) There are system calls (cannot remember what they are) to give cpu affinity to a process
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
A. Clay Stephenson
Acclaimed Contributor

Re: Dynamic resource alloation

The system call is mpctl(). Man mpctl for details.
If it ain't broke, I can fix that.