Hp XC System 3.x Software Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Software Hp XC System 3.x Software herunter. HP XC System 3.x Software User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 131
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - Edition: 1

HPCPI and Xtools Version 0.6.6 User'sGuideHP Part Number: 5992-4009Published: March 2008Edition: 1

Seite 3 - Table of Contents

• L2I Misses: ICACHE_REFILLS_FROM_LS_FROM.SYSTEM• Misses: ICACHE_MISSES• Icache Fetches: ICACHE_FETCHESBranchDisplays the following branch metrics:• B

Seite 4 - 4 Table of Contents

Viewing xcxperf (Generic) StatisticsFigure 7-10 shows an xcxperf display. By default, xcxperf displays graphs withprocessor-independent statistics for

Seite 5 - Table of Contents 5

DiskDisplays the throughput rates in Mb/s for the following disk activities from /proc/diskstats:• Write• ReadNFSDisplays statistics for the following

Seite 6 - 6 Table of Contents

ElanDisplays the throughput rates in Mb/s for the following Quadrics QsNetIIinterconnect activitiesfrom Elan memory registers:• Write• ReadMemoryDispl

Seite 7 - Table of Contents 7

Displaying Color Legends and Creating Tear-Away LegendsTo display the color legend for a graph, select the menu item with the graph name, such as CPUi

Seite 8 - 8 Table of Contents

Table 7-3 xperf (Enhanced) Menu Options (continued)DescriptionOptionMenuOpens a dialog box that displays system information, as shown in Figure 7-12(p

Seite 9 - List of Figures

Starting an HPCPI Label from xperfYou can start an HPCPI label and collect data for that label from the xperf utility. An HPCPIlabel enables you to an

Seite 10

Recording, Replaying, and Plotting xperf and xcxperf DataYou can save the data from the xperf or xcxperf utility in a file. The utilities update data

Seite 11 - List of Tables

Displaying System Information with xperf or xcxperfIf you select Options→System Information from the menu at the top of the display, xperf orxcxperf o

Seite 12

Viewing Generic Data with xclus or xperfBy default, the xclus and xperf utilities display enhanced data. You can force xclus andxperf to display gener

Seite 13 - About This Document

List of Tables1-1 Processors that Support Enhanced Statistics...201-2 Pr

Seite 14 - Publishing History

Viewing Enhanced Data with xcxclus or xcxperfBy default, the xcxclus and xcxperf utilities display generic data. You can force xcxclusand xcxperf to d

Seite 15 - HP Encourages Your Comments

Xtools DaemonsXtools use the following daemons:• apmond and clusmondThe apmond and clusmond daemons are included with the Xtools software and collecte

Seite 17 - 1 Introduction

A Product SpecificationsThis appendix contains product specifications.HPCPI Database Directories and FilesThe database root directory contains the fol

Seite 18 - 18 Introduction

Figure A-1 HPCPI Database$HPCPIDB200802141532node 1node 2node 3200802141712200802141744. . .. . .. . .. . .App12.ebadcb63fb63e830_myLabel_5sum.0479a58

Seite 19

number of samplesrecorded for the event3 14The fully-qualified pathname for the image file.A table withper-instruction statistics.Each line contains e

Seite 20

Multi-Issue ArchitecturesIn multi-issue architectures (those that can execute more than one instruction per cycle), theinterrupt handler associates on

Seite 21

B HPCPI Quick ReferenceThis appendix contains quick reference information for basic HPCPI tasks.Starting HPCPITable B-1 Starting HPCPIReferenceUse thi

Seite 22 - 22 Introduction

Viewing HPCPI DataTable B-3 Viewing HPCPI DataReferenceUse this CommandTo Perform this Task“Viewing Per-Image Data:hpcpiprof” (page 44)hpcpiprofDispla

Seite 23

C Xtools Quick ReferenceThis appendix contains quick reference information for Xtools.xclus and xcxclus TasksThis section contains quick reference inf

Seite 25 - 2 Installing HPCPI and Xtools

Table C-2 Modifying xclus or xcxclus Displays (continued)ReferenceUse this ProcedureTo Perform this Task“Showing HyperTransportData Statistics or Data

Seite 26 - Installing the Software

xperf and xcxperf TasksThis section contains quick reference information for basic xperf and xcxperf tasks.Starting xperf or xcxperfTable C-4 Starting

Seite 27 - Installing the Software 27

Additional xperf and xcxperf TasksTable C-6 Additional xperf and xcxperf TasksReferenceUse this ProcedureTo Perform this Task“Starting an HPCPI Label

Seite 28

Glossaryactive fraction The fraction of time an event was active in the PMU.See also duty group.duty groupA group of HPCPI events, used to multiplex t

Seite 29 - Installing the Software 29

RPM Red Hat Package Manager.1. A utility that is used for software package management on a Linux operating system, mostnotably to install and remove s

Seite 30 - Removing the Software

IndexAactive fraction, 114, 116in HPCPI output, 44AMD Opteronbranch statistics displayed by xperf, 100CPU statistics displayed by xperf, 99CPU utiliza

Seite 31 - 3 Getting Started with HPCPI

DISPLAY environment variablesetting for Xtools, 78DMA busItanium statistics displayed by xperf, 97-doflushoption for hpcpid, 72DRAMAMD Opteron statist

Seite 32 - 32 Getting Started with HPCPI

organizing data with, 56loading the environment, 31, 35log file, 37manpage directory, 35organizing data, 56product limitations, 115sampling characteri

Seite 33

full imaging procedure, 28manual propagation procedure, 28running RPM on clients procedure, 29on standalone systems, 27requirements, 25instructionview

Seite 34

for Xtools, 78mond daemon, 111MPIand HPCPI labels, 73using HPCPI with, 70mpirunand HPCPI labels, 73using HPCPI labels with, 69Nnegating HPCPI label se

Seite 35 - 4 Using HPCPI

About This DocumentThis document describes how to install and use the HPCPI and Xtools performance analysistools on Linux systems running on HP Integr

Seite 36 - Starting the hpcpid Daemon

xcxclus, 78xperf or xcxperf, 94Xtools subsystem, 29statusHPCPI, 41stoppinghpcpid, 41subsume delay parameter for node grouping, 93supermon daemon, 111s

Seite 37 - Selecting Events to Monitor

specifying nodes for, 79starting,statistics, 21suspending the display, 86-zoom option, 86xcxperf utilitybandwidth, displaying, 104comparison with xper

Seite 38 - Commonly Used Event Sets

Key The name of a keyboard key. Return and Enter both refer to thesame key.Term The defined use of an important word or phrase.User inputCommands and

Seite 39 - Event Duty Qualifier

product changes. To ensure that you receive the updated or new editions, subscribe to theappropriate product support service. See your HP sales repres

Seite 41

1 IntroductionThe HP Continuous Profiling Infrastructure (HPCPI) and Xtools are performance analysis toolsfor Linux systems running on HP Integrity Se

Seite 42 - 42 Using HPCPI

hpcpiprofThe hpcpiprof utility displays performance profiles for systems (per image) or images(per procedure). The following excerpt from hpcpiprof ou

Seite 43 - Flushing Data: hpcpictl flush

greater the number of samples, the closer the statistical correspondence. Therefore, the statisticalevent samples provide a reasonably accurate profil

Seite 44 - HPCPI Header

© Copyright 2008 Hewlett-Packard Development Company, L.P.Confidential computer software. Valid license from HP required for possession, use or copyin

Seite 45

XtoolsThe Xtools utilities are X11 clients with GUIs that enable you to monitor the performance ofmultiple systems and individual systems. The Xtools

Seite 46 - HPCPI Procedure Header

Figure 1-1 xclus Display for AMD Opteron SystemsTable 1-3 Statistics for xclus and xcxclusxcxclus Statistics (Generic)xclus Statistics (Enhanced)• Pro

Seite 47

Figure 1-2 xperf Display for an Itanium System22 Introduction

Seite 48 - 48 Using HPCPI

Table 1-4 Statistics for xperf and xcxperfxcxperf Statistics (Generic)xperf Statistics (Enhanced)• CPU utilization (for the user and the system)• Disk

Seite 50 - 50 Using HPCPI

2 Installing HPCPI and XtoolsThis chapter describes the installation requirements and procedures for HPCPI and Xtools. Thischapter addresses the follo

Seite 51 - HPCPI Utility Options

• hpcpiThis package contains all the files necessary to use HPCPI.• xtools-commonThis package contains files and utilities that are common to xclus an

Seite 52 - Selecting Data by Label

HP also recommends that you install the HPCPI or Xtools software when the system is idle tominimize the effects of the installation procedure on other

Seite 53 - Displaying Raw Values

You can immediately install software on the clients; you do not have to wait until youhave created the golden image on the head node.—— You do not hav

Seite 54 - Additional Options

4. Set the shell variable nn to `nodename` to shorten the commands in the remainder of thisprocedure:# nn=`nodename`Where `nodename` resolves to the n

Seite 55 - Using Event Sets

Table of ContentsAbout This Document...13Intended

Seite 56 - Multiple Duty Groups

4. Copy the package files to the shared directory /hptc_cluster as follows:# cp package_file package_file ... /hptc_cluster5. Verify that HPCPI and Xt

Seite 57 - Itanium Instruction Metrics

3 Getting Started with HPCPIThis chapter shows the commands used in a simple HPCPI user session.NOTE: The program analyzed in this chapter is a simple

Seite 58

You will create the directory in the next step.The following example uses the directory /tmp/hpcpidb:% setenv HPCPIDB /tmp/hpcpidbFor information abou

Seite 59 - 5 Using HPCPI Labels

Step 8: Viewing Per Procedure Statistics for the ApplicationThe following command enables you to view per-procedure statistics for the image myApp:% h

Seite 61

4 Using HPCPIThis chapter describes how to perform basic HPCPI tasks, including how to start HPCPI, controlthe HPCPI daemon, and view data using HPCPI

Seite 62 - Label Selectors

Selecting a Location for the HPCPI Database DirectoryThe HPCPI database directory contains files with performance data. The files are organized insubd

Seite 63 - Operator Syntax

1 groups; user definition: 3 # 4 5 6 7 1 CPU_CYCLES <empty> <empty> <empty>----multiplexing interval =

Seite 64 - Comparing Epochs and Labels

event_set_nameSpecifies an event set name.valueSpecifies the event interval, which is the number of times an event isrecorded by the PMU before genera

Seite 65 - Label Examples

Event Duty QualifierThe -events statement also supports a duty qualifier, which enables you to control how oftenan event is monitored when you are mon

Seite 66 - Kernel Idle Data: -pid 0

Step 8: Viewing Per Procedure Statistics for the Application...33Step 9: Viewing Per Instr

Seite 67 - Creating Labels in Programs

Running an Application for AnalysisAfter you start the HPCPI daemon, you can run the applications you want to analyze; run theapplications as you norm

Seite 68 - Fortran Code Example

Controlling the Daemon with hpcpictlThe hpcpictl utility is a userspace application that controls the operation of the hpcpiddaemon. You can use hpcpi

Seite 69 - Overview

pretty proper name interval rnd duty active ------ ----------- -------- --- ------ ------ Cycles CPU_CYCLES 60000 no always 1/1 hpcpictl sho

Seite 70 - % hpcpid -create-epoch

Viewing Data with hpcpiprof, hpcpilist, and hpcpitopcountsHPCPI provides the following utilities to display HPCPI data:• hpcpiprofDisplays performance

Seite 71 - Submitting the Job

Viewing Per-Image Data: hpcpiprofIf you run hpcpiprof without an image name, it displays statistics for the system, partitionedper-image. For example:

Seite 72

%Lists the percentage of event samples for the event type that occurred in theimage.cum%Lists the cumulative percentage of all event samples for this

Seite 73 - Collecting Data on One Node

Viewing Per-Procedure Data: hpcpiprof image_nameIf you run hpcpiprof with an image name, it displays statistics for the image, partitionedper-procedur

Seite 74

Viewing Per-Instruction Data: hpcpilist procedure_nameimage_nameThe hpcpilist utility lists HPCPI performance statistics per line of source and/or ass

Seite 75 - 7 Using Xtools

Interpreting hpcpilist Event CountsThe value of the instruction pointer recorded is typically several or many instructions after theinstruction that c

Seite 76 - Using xclus and xcxclus

Listing the Instructions with the Highest Event Counts: hpcpitopcountsThe hpcpitopcounts utility displays the n instructions with the highest counts f

Seite 77 - Using xclus and xcxclus 77

Displaying Raw Values...53Limiting th

Seite 78 - Starting xclus and xcxclus

Listing Instructions in an Image: hpcpitopcounts image_nameYou can run hpcpitopcounts with an image name to list the instructions with the highesteven

Seite 79 - Starting xclus and xcxclus 79

HPCPI Utility OptionsThis section describes options for the hpcpiprof, hpcpilist, and hpcpitopcounts utilities.Specifying an Alternate DatabaseBy defa

Seite 80 - 80 Using Xtools

In a cluster environment with a consolidated HPCPI database and synchronized epochs, youmight want to include or exclude the data from specific system

Seite 81

data for myApp with the label myLabel. The following command displays performance data forcode called by myApp from libc-2.3.4.so:% hpcpiprof -label m

Seite 82 - 82 Using Xtools

85189620000 89.5% 89.5% 28200 main myApp 10002660000 10.5% 100.0% 3000 unknown_rou myApp Limiting the hpcpiprof Out

Seite 83

Tips and Best Practices for Using HPCPIThis section contains tips and best practices for using HPCPI.TipsTo profile an application, you start by monit

Seite 84 - 84 Using Xtools

Limiting the Event Count Display (hpcpiprof -keep Option)If you have a lot of data, you can use the -keep option with hpcpiprof to limit the number of

Seite 85

Itanium Instruction MetricsOn Itanium processors, the event counter IA64_INST_RETIRED includes retired instructionsand retired no operation instructio

Seite 87

5 Using HPCPI LabelsThis chapter describes how to use HPCPI labels. This chapter addresses the following topics:• “Overview” (page 59)• “Simple HPCPI

Seite 88

Using Labels with mpirun and Other Distribution Utilities...69Collecting Data on Multiple Nodes

Seite 89 - Plotting Data

Simple HPCPI Session Using LabelsIn the following session, the user associates the label myLabel with the performance data for asingle process, myApp.

Seite 90 - 90 Using Xtools

: :If you run the same hpcpiprof command and specify the label name (hpcpiprof -labelmyLabel), hpcpiprof displays event counts for code execu

Seite 91

Label SelectorsUsing the hpcpictl label command in its simplest form is sufficient if you are executing andmonitoring a single process that is execute

Seite 92 - Viewing Grouped Nodes

-or-equiv-not OperatorThe unary postfix operator -not negates the specification. The following example uses the -notoperator to select events for nons

Seite 93

Multiple LabelsAn event can be recorded in only one data set, that is, one label. If you have multiple labelsdefined and a process matches the selecto

Seite 94 - Starting xperf and xcxperf

Label ExamplesThis section contains HPCPI label examples.Existing Processes: -pid pidYou can use the ps utility to determine the PID of an existing pr

Seite 95

Alternatively, you can use the sleep 99999 command and manually terminate the sleepprocess when you are done taking measurements. For example:% hpcpic

Seite 96 - Instructions

Creating Labels in ProgramsYou can use a function such as popen() to invoke the hpcpictl label command within anapplication and assign a label to spec

Seite 97 - Sum I/O B/W

} else { perror("popen()"); } } }}NotesNote the following items:• The first if block terminates an existing label proc

Seite 98 - 98 Using Xtools

6 Using HPCPI on an HP XC ClusterThis chapter describes additional procedures for using HPCPI on an HP XC cluster. This chapteraddresses the following

Seite 99

CPU...96Instr

Seite 100 - HTn (HyperTransport Links)

Collecting Data on Multiple NodesThis section describes the tasks you must perform to collect data on multiple nodes, and includesan example using HP-

Seite 101

Submitting the JobUse the HP-LSF bsub command to submit the following job:% bsub -n num_nodes \ mpirun -srun \ --task-prolog=`pwd`/slurm.task-p

Seite 102 - 102 Using Xtools

the daemon when the specified PID process terminates. In this case, pid is the PID of the initialslurmstepd on node for this task.By default, the -ter

Seite 103

Collecting Data on One NodeTo collect data on one node in a cluster environment, you can use the procedures described inChapter 3 (page 31) and Chapte

Seite 105

7 Using XtoolsThis chapter describes how to use xclus, xcxclus, xperf, and xcxperf. This chapter addressesthe following topics:• “Xtools Overview” (pa

Seite 106 - 106 Using Xtools

Xtools OverviewThe Xtools utilities are X11 clients with GUIs that enable you to monitor the performance ofmultiple systems and individual systems. Th

Seite 107

not require superuser privileges to use the -unrestricted-nodes option and supportsthe -unrestricted-nodes option for all users.• On non-cluster syste

Seite 108 - 108 Using Xtools

Starting xclus and xcxclusTo start xclus or xcxclus, follow these steps:1. Set up the Xtools environment.2. Set the DISPLAY environment variable.3. St

Seite 109 - % xclus -generic

Specifying Nodes with xcxclusBy default, you do not need to specify the nodes you want to monitor with xcxclus, andxcxclus monitors all the nodes that

Seite 110 - % xcxclus -enhanced -apmond

HPCPI Product Limitations...115Skid...

Seite 111 - Xtools Daemons

Specifying the Cluster File Name with the -cluster OptionIf the cluster file is not named cluster and is not located in the current working directory,

Seite 112

Viewing xclus and xcxclus DisplaysFigure 7-1 shows an xclus display for four Itanium systems. To view an xclus display withAMD Opteron systems, see Fi

Seite 113 - A Product Specifications

Viewing xclus (Enhanced) Itanium IconsBy default, xclus displays enhanced icons for Itanium processors. Figure 7-2 shows an enhancedicon for a node wi

Seite 114 - 114 Product Specifications

Viewing xclus (Enhanced) Single-Core and Dual-Core AMD Opteron Node IconsBy default, xclus displays enhanced icons for AMD Opteron processors. Figure

Seite 115 - HPCPI Product Limitations

Viewing xclus(Enhanced) Native Quad-Core AMD Opteron Node IconsBy default, xclus displays enhanced icons for AMD Opteron processors. Figure 7-4 shows

Seite 116 - Active Fraction Changes

Viewing xcxclus (Generic) Node IconsBy default, the xcxclus utility displays generic icons for all processor types, and the informationdisplayed is th

Seite 117 - B HPCPI Quick Reference

Showing Statistic Names and DescriptionsIf you move your mouse over an icon area, xclus or xcxclus opens a window with the nameof the statistic and mo

Seite 118 - Viewing HPCPI Data

You can also modify the number of icons that xclus or xcxclus displays per row. By default,the xclus or xcxclus utility attempts to display eight node

Seite 119 - C Xtools Quick Reference

Table 7-2 xcxclus Generic) Menu OptionsDescriptionOptionMenuStops the xcxclus utility.Exit..FileOpens a dialog box that enables you to control node gr

Seite 120

Recording, Replaying, and Plotting xclus and xcxclus DataYou can save the data from the xclus or xcxclus utility in a file. The utilities update data

Seite 121 - Starting xperf or xcxperf

List of Figures1-1 xclus Display for AMD Opteron Systems...211-2 xperf

Seite 122

plot_file_prefix.xclus.gnuplot Script file for gnuplot.You can redisplay the plotted data using the /opt/xtools/gnu/bin/gnuplot commandwith the plot_f

Seite 123 - Glossary

Figure 7-7 Plotted Data from xclusRecording, Replaying, and Plotting xclus and xcxclus Data 91

Seite 124 - 124 Glossary

Starting xperf or xcxperf from xclus or xcxclusTo start xperf from xclus or to start xcxperf from xcxclus, click a node icon.Viewing Grouped NodesIf y

Seite 125

CPU utilizationDRAM utilizationHyperTransport link utilization (processor-to-processor)HyperTransport link utilization (to external devices)If all the

Seite 126 - 126 Index

Using xperf and xcxperfThe following sections describe general procedures for using xperf and xcxperf. The xperfand xcxperf utilities are similar, and

Seite 127

Viewing xperf and xcxperf DisplaysBy default, xperf displays graphs for the statistics listed in “Viewing Itanium xperf (Enhanced)Statistics” (page 96

Seite 128 - 128 Index

Viewing Itanium xperf (Enhanced) StatisticsFigure 1-2 (page 22) shows an xperf display for an Itanium system. By default, xperf displaysgraphs with pr

Seite 129

• L3cache misses: Level 3 cache misses• TLB misses: Translation Lookaside Buffer missesSysBusDisplays the following system bus utilization rates:• Add

Seite 130 - 130 Index

Viewing AMD Opteron xperf (Enhanced) StatisticsFigure 7-9 shows an xperf display for an AMD Opteron system. By default, xperf displaysgraphs with proc

Seite 131

NOTE: AMD does not provide code-usable names for AMD Opteron processor events. Inaddition, the names listed in this section are used for single-core a

Kommentare zu diesen Handbüchern

Keine Kommentare