How to setup Hyperthreading?

From Wiki-UX.info
Jump to: navigation, search

Abstract[edit]

The Hyperthreading is an 11.31 feature and it is only supported on Integrity/Itanium servers.

Setboot Command[edit]

The setboot command gives the ability to turn on/off, and check if this feature is enabled or not.

# setboot
Primary bootpath : 0/0/1/1/0.12.0
HA Alternate bootpath : 0/0/0/1/0
Alternate bootpath : 0/0/0/1/1

Autoboot is ON (enabled)
Hyperthreading : ON 1
               : OFF (next boot) 2

The HP-UX setboot command indicates that Hyper-Threading currently is enabled (ON) for the server.

The next time the server is booted (after it is reset), Hyper-Threading will be disabled (OFF) for the server.


Enabling Hyper-Threading for a server or partition[edit]

To enable Hyper-Threading, use any of the following methods and then reset the server whose Hyper-Threading status you have changed:

  • From the EFI Shell: cpuconfig threads on
  • From HP-UX: setboot -m on
  • Using the Enhanced nPartition Commands: parmodify -pn -T y, where n is the nPartition number.
  • Using Partition Manager: Perform the Modify nPartition task and select the Enable Hyper-Threading check box on the Configure Memory tab.

You must reset an nPartition after changing its Hyper-Threading status.


Shell> cpuconfig threads 
cpuconfig: Threads are turned off.

Shell> 
Shell> cpuconfig threads on 2
cpuconfig: Threads will be on after a reset.

Shell>


The EFI Shell cpuconfig threads command indicates that Hyper-Threading currently is disabled (turned off) for the nPartition.

This EFI Shell command configures Hyper-Threading to be enable after the nPartition is reset.


Disabling Hyper-Threading for a server or partition[edit]

To disable Hyper-Threading, use any of the following methods and then reset the server whose Hyper-Threading status you have changed:

From the EFI Shell: cpuconfig threads off

From HP-UX: setboot -m off

Using the Enhanced nPartition Commands: parmodify -pn -T n, where n is the nPartition number.

Using Partition Manager: Perform the Modify nPartition task and deselect the Enable Hyper-Threading check box on the Configure Memory tab.

You must reset the server or partition after changing its Hyper-Threading status.


References[edit]

Authors[edit]