Operating System - HP-UX
1833582 Members
4735 Online
110061 Solutions
New Discussion

psradm equivalent on HPUX

 
SOLVED
Go to solution
Gene L. Huft
Occasional Advisor

psradm equivalent on HPUX

Gurus, Solaris has a command called psradm that allows you to disable/enable CPU's on the fly. What is the HPUX 11i equivalent?

Thanks in advance!

--Gene
4 REPLIES 4
Michael Tully
Honored Contributor
Solution

Re: psradm equivalent on HPUX

On a standard machine this is not possible. It has to be done from the 'GSP' (guardian service processor) from the console Using control+b and then a system reboot.(I am not sure if you can do this on a superdome on the fly) If a CPU dies some of the later systems will continue to function with one less CPU.
Anyone for a Mutiny ?
Gene L. Huft
Occasional Advisor

Re: psradm equivalent on HPUX


Thanks for the info, too bad HP doesn't have something like that....but actually I've got an 8400 & I guess I can accompish my mission - (which is just to run some perf tests at different resource levels) - from the partition manager via sam and/or from the MP> console, running the partition commands. If I start with 16 procs, run a test, capture results, then remove a cell w/ 4 procs, run new test on 12 procs, drop to 8, test...then 4 procs, test..etc.

rick jones
Honored Contributor

Re: psradm equivalent on HPUX

The nearest analog to the psradm command of Solaris would probably be some of the iCOD stuff, perhaps in combination with intctl. maybe some psets stuff too.

iCOD can enable/disable CPUs (instant Capacity On Demand)

intctl can move the interrupts of an I/O card from one CPU to another

psets can be used to restrict apps to a set of CPUs (doesn't affect the kernel though).

I _believe_ you will need to install patches and/or bits from software.hp.com to get the intctl and psets stuff for 11i v1, honestly, I'm not sure how/where one gets the iCOD stuff.

since you mention the 8400, there may be some differences depending on how you select CPUs from among the cells - two cells each with two CPUs may not perform exactly the same as one cell with four CPUs, that sort of thing.
there is no rest for the wicked yet the virtuous have no pillows
James A. Donovan
Honored Contributor

Re: psradm equivalent on HPUX

As long as you have more than one cell board, take a look at using VPAR's (virtual partitions). Using the vparmodify command, you'll be able to add/subtract CPU's on-the-fly.

http://www.docs.hp.com/hpux/onlinedocs/T1335-90018/T1335-90018.html
Remember, wherever you go, there you are...