STM: Support Tools for HP Computers (logo)

IA64_IPF CPU Expert Tool (xstm Online Help)

The CPU Expert Tool provides sophisticated troubleshooting for problems associated with a specific processor in a multi-processor environment. Functionality includes the on-line ability to deactivate, reactivate, and assign a process to a specific processor.

The CPU Expert Tool is fully interactive, with its own set of menu commands.

CAUTION: The CPU Expert Tool contains commands which will cause severe performance degradation as a result of processor deactivation. It is assumed that users are aware of the dangers of its use.

To use the CPU Expert Tool safely, you should be trained and knowledgeable about CPU modules.

Introduction

The CPU Expert Tool allows on-line control of processor functionality in a multi-processor environment by issuing processor-specific commands.

This product provides individual operations that enable the user to identify a malfunctioning processor. The goal of the Expert Tool is to provide the user with an interactive tool that allows processor deactivating or reactivating of individual processor modules without requiring reset of the SPU or restart of the operating system. The ability to assign a specific process to an individual processor is an another capability of this product. Care should be exercised to NOT leave a CPU deactivated, as system performance will be adversely effected. In addition, care must be taken on iCOD machines to not leave more CPUs active than the customer is licensed for.

This tool should allow the multi-processor system under test to be reduced in scope via programmatic elimination of one or more modules. Thus, problems caused by a CPU module or specific process can be isolated without off-line testing.

The CPU Expert Tool requires that you enter an HP-Only license at the main STM window. Consult a Mesa Administrator for the password.

If you experience problems, consult the Troubleshooting Tool-Related Problems help topic.

Step-by-Step Instructions

Running the CPU Expert Tool

To run the CPU Expert Tool on a device:

  1. At the main STM window, select a CPU device. The CPU Expert Tool will access all CPU devices on the Unit Under Test.
  2. If desired, change the options for the CPU Expert Tool at the main STM window. Options include the level of logging for the tool. For more information, see online help for STM as a whole (use the Help menu in the STM main window).
  3. Run the CPU Expert Tool. To select the desired commands, use the pull-down menus in the main window of the tool. For more information, see:
  4. To change run-time options, pull down the Options Menu and make a selection.
  5. To run the Exercise command, pull down the CPU-Exercise Menu and make a selection.
  6. If you run into problems, see the Troubleshooting Tool-Related Problems help topic.
  7. Exit the tool by selecting the Exit command from the File Menu.

Troubleshooting a Suspect Processor

The following procedure is one possible method for troubleshooting processors. The idea is to use the process of elimination. First, find easy problems then perform more time-consuming operations to find less obvious problems.

To troubleshoot a suspect processor:

  1. Try running a specific process (identified by a PID number) on a processor to identify process-specific problems.
  2. Deactivate all processors that may not have problems, and assign a PID to the activated processor suspected to be malfunctioning.
  3. Continue Deactivating and Reactivating Processors until a malfunctioning processor is identified.
  4. If you get confused about which processors are deactivated/activated, run the Display command, which will indicate the status of all.

Common Tasks

If you run into problems, see the Troubleshooting Tool-Related Problems help topic.

Troubleshooting Tool-Related Problems

CPU Exercise

The function Exercise is applied on a specified CPU to run stress tests on data cache, data TLB, and floating point unit, in turn.

Data cache exerciser -- exercises the data cache by forcing misses, replacements and flushes.

Data TLB exerciser -- exercises the data TLB by forcing page faults, which forces TLB replacements.

Floating point exerciser -- exercises the floating point unit by providing a series of known inputs and checking for corresponding outputs. The benchmark algorithm used here is "tomcatv".

Execution Time Limit

The parameter Execution Time Limit can be specified by the user as an option for limiting the CPU Exercise execution time in minutes. The default value is 10 minutes.

Error Allowed Number

The parameter Error Allowed Number can be specified by the user as an option for limiting the allowed number of errors before the CPU exercise test fails. The default value is 10.

Commands and Buttons

The CPU Expert Tool offers the following commands and buttons:

Exit

Use the Exit command to terminate the execution of the CPU Expert Tool and return to the main STM window. If the user tries to exit without reactivating deactivated processor(s), a warning message will appear. The message will indicate that all processors have not been reactivated, and provide the user with the opportunity to Cancel in order to reactivate them before Exiting.

Activate

The Activate command will only return a processor that has been previously DEACTIVATED to normal system use. The command will return an error message if the activation routine does not return SUCCESSFUL or if the wrong device was selected. The Activate command will display in the main window the SPU, Slot Number, and Logical ID (LID) number along with the current number of activated processors after execution.

Assign

Forces (and locks) a process to a specific processor. The user is required to find an active PID from a different application (top, ps).

Deactivate

Deactivates a processor from system use. The Expert Tool will display a warning message and fail if there is only one processor currently activated or on any attempt to deactivate the Monarch. The Deactivate command will display the SPU, Slot Number, and LID number along with the remaining number of activated processors after execution.

Display

The Display command will display a listing of the current processor status and identify information for all system processors:

SPU Number: Slot Number: LID: Active: (Activated/Deactivated status) Monarch: (Yes/No)

Run

The Run command will launch the CPU Exerciser for a selected CPU. On the popup dialog box, the user can modify parameters of the exerciser, such as Execution Time Limit and Error Allowed Number. By design, only one CPU exerciser can run at any time.

To monitor the running processes, the user may use the Top utility to obtain execution information on the running process.

The running record can be found on CPU Expert activity log.

Termination

The Termination command allows the user to terminate the Exerciser earlier than the CPU Exercise. The exercise termination message will be indicated on the main window of this Expert Tool.

General Help

The General Help command displays online help for the CPU Expert Tool (the help system you are currently viewing).

For information on using the help system, select the "Using Help..." command in the Help menu in this Help window.

For online help on STM as a whole, use the Help menu in the STM main window.

Version

The Version command displays version and copyright information for the CPU Expert Tool.

Abort Button

The Abort button allows you to abort the CPU Expert Tool, halting its execution and returning to the STM main window.

The tool will be requested to abort and the state of the tool execution in the system map will be set to ABORT_PENDING. When the tool actually exits, its state will be set to ABORTED.

Interrupt Button

The Interrupt button allows you to interrupt the tool. When the tool receives the interrupt, it will stop whatever it is doing and prompt the user whether they want to continue with the current operation. If the choice is "Continue", the tool will continue with the current operation. If the choice is "Abort", the tool will abort the current operation and return to the window for the CPU Expert Tool.


Top of Page

/ Diagnostics HOME


URL: http://docs.hp.com/hpux/onlinedocs/diag/stm/help/expert/cpu_ia64x.htm
Last updated: Mon Apr 29 18:17:49 PDT 2002