Operating System - HP-UX
1837960 Members
2568 Online
110124 Solutions
New Discussion

Re: Deactivating one processor

 
Michael Selvesteen_2
Trusted Contributor

Deactivating one processor

Hello All,

I want to deactive one of the processor in my server for my product testing.

Am aware about grup in linux through which we can atleast control hyperthreading.. Is there any similar option in HP-UX ?

11.23 HP-UX IA is my environment. Any idea gurus ?

Advance thanks for your help.
6 REPLIES 6
Devender Khatana
Honored Contributor

Re: Deactivating one processor

Hi,

What is the hardware model?

Atleast I know for rx2600, you can disable it at EFI prompt.

HTH,
Devender
Impossible itself mentions "I m possible"
Arunvijai_4
Honored Contributor

Re: Deactivating one processor

Hi Michael,

In Solaris you can do it with "psradm" command.
In HP-UX, you have to login to MP and disable a processor or you can do it with STM.

Check this thread for more information,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=969302

-Arun

"A ship in the harbor is safe, but that is not what ships are built for"
Sivakumar TS
Honored Contributor

Re: Deactivating one processor


Hi Michael,

Once you get into the EFI shell,

Shell> cpuconfig [cpu] [on|off]

Regards,

Siva.
Nothing is Impossible !
Yogeeraj_1
Honored Contributor

Re: Deactivating one processor

hi,

see also:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=28825


kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Sivakumar TS
Honored Contributor

Re: Deactivating one processor



Hi,

You can get the list of CPUs enabled in the system just by entering
shell>cpuconfig in EFI shell.

You can also deactivate a CPU from STM ( support tool manager) from OS level,

Regards,

SIva
Nothing is Impossible !
rick jones
Honored Contributor

Re: Deactivating one processor

You might also get acceptable results with a combination of psets and intctl. The cpuconfig from EFI is perhaps the most "certain" of them, if STM knows how to disable a CPU that should be pretty certain as well, athough since that is at run time, if there were any applications that had checked how many CPUs there were, and then did stuff based on that, it may not be quite the way to go.

What sort of product testing are you looking to do - make sure that the product does the right thing when a CPU is deactivated online, or scaling measurements?
there is no rest for the wicked yet the virtuous have no pillows