Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Virtual Partitions Administrator’s Guide > Chapter 9 nPartition Operations

Setting Hyperthreading (HT ON/OFF) and cpuconfig Primer

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

This section describes how to set HT ON/OFF for the latest dual-core processors which offer this feature.

For complete information on hyperthreading and cpuconfig, see the document nPartition Administrator's Guide.

NOTE: vPars and HT ON/OFF
  • HT ON/OFF should be set using the EFI shell’s cpuconfig command. An alternative method is to use the vPar Monitor’s threads command. Using setboot from within a vPars environment is not supported.

  • Although hyperthreading is supported within vPars, CPU assignments to virtual partitions remain on a per core basis and not on a logical CPU (LCPU) basis.

  • HT ON is not supported in a mixed HP-UX 11i v2/v3 vPars environment.

  • HT ON is not supported in a mixed HP-UX 11i v1/v2/v3 vPars environment.

vPars Monitor

  • to show the current HT state of the CPUs  threads without any options will show the current state of HT ON/OFF (in other words, whether hyperthreads are turned on or off):

    MON> threads HyperThreading is currently OFF HyperThreading will be OFF after the next nPar reboot
  • to turn HT ON after the next nPar reboot:  

    MON> threads on HyperThreading is now set to be ON after the next reboot MON> threads HyperThreading is currently OFF HyperThreading will be ON after the next nPar reboot

  • to turn HT OFF after the next nPar reboot:  

    MON> threads off HyperThreading is now set to be OFF after the next reboot.

cpuconfig

  • to show the current state of the CPUs, including HT ON/OFF  cpuconfig without any options will show the current state of HT ON/OFF (in other words, whether hyperthreads are turned on or off):

    Shell> cpuconfig PROCESSOR MODULE INFORMATION Cab/ Cell Slot/ # of L3 L4 Family/ CPU Logical Cache Cache Model Processor Cell Module CPUs Speed Size Size (hex.) Rev State ---- ------ ------- -------- ------ ------ ------- --- ------------- 1 0/1/0 2 1.4 GHz 6 MB None 20/00 C0 Active CPU threads are turned off.
  • to show only the state of the threads:   

    Shell> cpuconfig threads cpuconfig: Threads are turned off.

  • to turn HT ON:  

    Shell> cpuconfig threads on cpuconfig: Threads will be on after a reset. Shell> cpuconfig PROCESSOR MODULE INFORMATION Cab/ Cell Slot/ # of L3 L4 Family/ CPU Logical Cache Cache Model Processor Cell Module CPUs Speed Size Size (hex.) Rev State ---- ------ ------- -------- ------ ------ ------- --- ------------- 1 0/1/0 2 1.4 GHz 6 MB None 20/00 C0 Active CPU threads will be on after a reset. Shell> reset Shell> cpuconfig PROCESSOR MODULE INFORMATION Cab/ Cell Slot/ # of L3 L4 Family/ CPU Logical Cache Cache Model Processor Cell Module CPUs Speed Size Size (hex.) Rev State ---- ------ ------- -------- ------ ------ ------- --- ------------- 1 0/1/0 4 1.4 GHz 6 MB None 20/00 C0 Active CPU threads are turned on. Shell>
    From here, you can boot the vPars Monitor:
    Shell> fs0: fs0:\> hpux vpmon

  • to turn HT OFF:  

    Shell> cpuconfig threads off cpuconfig: Threads will be off after a reset. Shell> cpuconfig PROCESSOR MODULE INFORMATION Cab/ Cell Slot/ # of L3 L4 Family/ CPU Logical Cache Cache Model Processor Cell Module CPUs Speed Size Size (hex.) Rev State ---- ------ ------- -------- ------ ------ ------- --- ------------- 1 0/1/0 2 1.4 GHz 6 MB None 20/00 C0 Active CPU threads will be off after a reset. Shell> reset Shell> cpuconfig PROCESSOR MODULE INFORMATION Cab/ Cell Slot/ # of L3 L4 Family/ CPU Logical Cache Cache Model Processor Cell Module CPUs Speed Size Size (hex.) Rev State ---- ------ ------- -------- ------ ------ ------- --- ------------- 1 0/1/0 4 1.4 GHz 6 MB None 20/00 C0 Active CPU threads are turned off.
    From here, you can boot the vPars Monitor:
    Shell> fs0: fs0:\> hpux vpmon

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.