1830895 Members
2109 Online
110017 Solutions
New Discussion

CPU Control in HPUX

 
SOLVED
Go to solution
Ramesh.K.R.
Regular Advisor

CPU Control in HPUX

Hi,

If i have a multiprocessor hpux server, can i do the following ??

1. Can i disable any/one of the cpu's ??
2. Can i make a cpu dedicated to a process/s ??

If so, let me know the procedure.

Thanks & Regards,
Ramesh.K.R.
hai
7 REPLIES 7
Brian Bergstrand
Honored Contributor

Re: CPU Control in HPUX

1.

You may be able to do this in ISL. Not sure.

2.

See this thread http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xd1d0506d69a7d711abdc0090277a778c,00.html
RAC_1
Honored Contributor

Re: CPU Control in HPUX

1 Enable/disable cpus - you need icod product. or through GSP.

2 You can do that. With some c scripts or you need to have PRM(process resource manager)- a licensed product.
There is no substitute to HARDWORK
Marco Santerre
Honored Contributor

Re: CPU Control in HPUX

Ramesh,

I'm not particularly familiar with disabling CPU so I wouldn't know how to answer that one. But as for number 2, I would recommend you to look into a piece of software called PRM (Process Resource Manager) which allows (as far as I can understand this software) to assign name processes to CPUs.

This is the user guide :
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B8680BA:B8733-90007

and the trial version :
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B3835DATRY
Cooperation is doing with a smile what you have to do anyhow.
Hai Nguyen_1
Honored Contributor

Re: CPU Control in HPUX

Ramesh,

You can purchase HP-UX Process Resource Management software for task 2.

Hai
James Murtagh
Honored Contributor
Solution

Re: CPU Control in HPUX

Hi Ramesh,

To answer your questions:

1) Yes. In PDC (when you boot and it says 10 secs to interrupt...) type CO for the configuration menu. Here you will see the CPUconfig option with the syntax to switch a CPU on or off. In ICOD or vaprs you may unassign CPUs but you are not disabling them.

2) Yes. You can bind a process to a CPU through the standard API or use specific products to do so. PRM has been mentioned but I'd go with psets for this - its easy, free and ideal for this purpose. See:

http://www.docs.hp.com/hpux/pdf/5185-4322.pdf

However, you will have to be on 11i for this.

cheers,

James.
RAC_1
Honored Contributor

Re: CPU Control in HPUX

Process binding.

Try mpsched and rtprio and rtsched.
There is no substitute to HARDWORK
Bill McNAMARA_1
Honored Contributor

Re: CPU Control in HPUX


1. Can i disable any/one of the cpu's ??
offline: via BCH SER CPU command
online: mstm/icod then reboot.

2. Can i make a cpu dedicated to a process/s ??
(searching.. this is taking time ;)
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xad97663ce855d511abcd0090277a778c,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xdcbb3a7b3682d611abdb0090277a778c,00.html

good luck,
Bill
It works for me (tm)