1753722 Members
4578 Online
108799 Solutions
New Discussion юеВ

CPU

 
David Lin_1
Occasional Advisor

CPU

If I have six CPUs running on my V-class server, is there any way I can assign an specific process dedicate to certain CPUs? such as, a data base process to CPU #2, 3,4, and 5 only.
God bless you all!
4 REPLIES 4
Patrick Wessel
Honored Contributor

Re: CPU

I can't imagine any way to do it
There is no good troubleshooting with bad data
Dave Wherry
Esteemed Contributor

Re: CPU

I believe there is a way to do it. I recently saw a document describing it which caught my eye because I used to do this on Sequent systems.
I'll keep looking and post again if it I find it.
Paul Hite
Trusted Contributor

Re: CPU

HP has a system call mpctl(2) which can be used to force processes into specific cpu's. You can use mpctl(MPC_SETPROCESS_FORCE, 2,1414) for example to force pid 1414 into processor 2. If this system call was invoked by a process other than pid 1414 itself, then the caller must be root or have PRIV_MPCTL authority.

So far, this seems to be a system call only. But it would be very easy to write a utility around the system call.

Type "man mpctl" and read all the warnings carefully.
Robert Gamble
Respected Contributor

Re: CPU

Try looking at this HP Product, PRM
http://www.unixsolutions.hp.com/products/sys_mgmt/prm_at_a_glance.html

"System administrators can define and guarantee a percentage of system resources for process resource groups or specific business-critical applications."