Hp XC System 3.x Software Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Oprogramowanie Hp XC System 3.x Software. HP XC System 3.x Software User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 131
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów

Podsumowanie treści

Strona 1 - Edition: 1

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

Strona 3 - Table of Contents

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

Strona 4 - 4 Table of Contents

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

Strona 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

Strona 6 - 6 Table of Contents

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 13 - About This Document

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

Strona 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

Strona 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

Strona 17 - 1 Introduction

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

Strona 18 - 18 Introduction

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

Strona 19

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

Strona 20

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

Strona 21

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

Strona 22 - 22 Introduction

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

Strona 23

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 30 - Removing the Software

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

Strona 31 - 3 Getting Started with HPCPI

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

Strona 32 - 32 Getting Started with HPCPI

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

Strona 33

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

Strona 34

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

Strona 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

Strona 36 - Starting the hpcpid Daemon

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

Strona 37 - Selecting Events to Monitor

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

Strona 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

Strona 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

Strona 41

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

Strona 42 - 42 Using HPCPI

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

Strona 43 - Flushing Data: hpcpictl flush

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

Strona 44 - HPCPI Header

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

Strona 45

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

Strona 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

Strona 47

Figure 1-2 xperf Display for an Itanium System22 Introduction

Strona 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

Strona 50 - 50 Using HPCPI

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 55 - Using Event Sets

Table of ContentsAbout This Document...13Intended

Strona 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

Strona 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

Strona 58

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

Strona 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

Strona 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

Strona 62 - Label Selectors

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

Strona 63 - Operator Syntax

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

Strona 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

Strona 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

Strona 66 - Kernel Idle Data: -pid 0

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

Strona 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

Strona 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

Strona 69 - Overview

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

Strona 70 - % hpcpid -create-epoch

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

Strona 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:

Strona 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

Strona 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

Strona 74

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

Strona 75 - 7 Using Xtools

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

Strona 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

Strona 77 - Using xclus and xcxclus 77

Displaying Raw Values...53Limiting th

Strona 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

Strona 79 - Starting xclus and xcxclus 79

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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 85

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

Strona 87

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

Strona 88

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

Strona 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.

Strona 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

Strona 91

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

Strona 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

Strona 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

Strona 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

Strona 95

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

Strona 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

Strona 97 - Sum I/O B/W

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

Strona 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

Strona 99

CPU...96Instr

Strona 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-

Strona 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

Strona 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

Strona 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

Strona 105

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

Strona 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

Strona 107

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

Strona 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

Strona 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

Strona 110 - % xcxclus -enhanced -apmond

HPCPI Product Limitations...115Skid...

Strona 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,

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 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

Strona 121 - Starting xperf or xcxperf

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

Strona 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

Strona 123 - Glossary

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

Strona 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

Strona 125

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

Strona 126 - 126 Index

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

Strona 127

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

Strona 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

Strona 129

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

Strona 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

Strona 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

Komentarze do niniejszej Instrukcji

Brak uwag