performance tools

21
1 hp education services education.hp.co m Performance Tools Version B.02 H4262S Module 2 Slides

Upload: akio

Post on 02-Feb-2016

82 views

Category:

Documents


0 download

DESCRIPTION

Performance Tools. Version B.02 H4262S Module 2 Slides. HP-UX Performance Tools. HP-UX Performance Tools. Objective: Identify the various performance tools available on HP-UX. Demonstrate their mechanics. Discuss their features. Compare and contrast the differences between these tools. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Performance Tools

1

hp education services

education.hp.com

Performance Tools

Version B.02H4262S Module 2 Slides

Page 2: Performance Tools

2 © 2001 Hewlett-Packard Company

H4262S B.02

HP-UX Performance Tools

Page 3: Performance Tools

3 © 2001 Hewlett-Packard Company

H4262S B.02

HP-UX Performance Tools

Objective:• Identify the various performance tools available on HP-UX.• Demonstrate their mechanics.• Discuss their features.• Compare and contrast the differences between these tools.

acctcom bdf/df diskinfo dmesg fsadm glance/gpm

HP-PAK ioscan iostat ipcs/ipcrm lanadmin LVM

mount NetMetrix netstat nfsstat ndd nice

PerfView ping PRM/WLM ps renice rtprio

sar scsictl serialize setprivgrp size swapinfo

sysdef timex/time top tunefs vmstat w/uptime

Page 4: Performance Tools

4 © 2001 Hewlett-Packard Company

H4262S B.02

Sources of Tools

• Standard tools– Tools found on UNIX systems, including HP-UX– Tools frequently found on other UNIX systems

• HP-UX-specific tools– Tools found only on HP-UX

• Optional tools– Tools licensed and sold separately

(Generally available only on HP-UX)

Page 5: Performance Tools

5 © 2001 Hewlett-Packard Company

H4262S B.02

Types of Tools

PerformanceAdministration

Application Profilingand Monitoring

Network Monitoring

Data CollectionPerformance

Run-TimeMonitoring

System Configurationand Utilization

Page 6: Performance Tools

6 © 2001 Hewlett-Packard Company

H4262S B.02

Criteria for Comparing the Tools

• Source of data• Scope• Additional cost versus no cost• Intrusiveness• Accuracy• Ease of use• Portability• Metrics available• Data collection and storage• Permissions required

Page 7: Performance Tools

7 © 2001 Hewlett-Packard Company

H4262S B.02

MeasurementInterfaceLibrary

Kernel Memory/dev/kmem

Kernel InstrumentationTrace Buffers

midaemonsar

vmstat

iostat

psscopeux

Logfiles

extractutility

SharedMemorySegment

glance

pv

Socket

Data Sources

Page 8: Performance Tools

8 © 2001 Hewlett-Packard Company

H4262S B.02

Global Metrics Process Details Alarming Capability

iostat Yes No Nops No Yes Nosar Yes No Notime No Some Notimex Some Some Notop Yes Some Nouptime,w Some Some No

vmstat Yes No No

Performance Monitoring Tools (Standard UNIX)

Page 9: Performance Tools

9 © 2001 Hewlett-Packard Company

H4262S B.02

monitor (9.x)

Performance Monitoring Tools(HP Specific)

Global Metrics Process DetailsAlarming Capability

glance Yes Yes Yesgpm Yes Yes Yes

Yes Yes No

Page 10: Performance Tools

10 © 2001 Hewlett-Packard Company

H4262S B.02

Data Collection Performance Tools (Standard UNIX)

Global Metrics Process Details Alarming Capabilityacctcom Some Some Nosar Yes No No

Page 11: Performance Tools

11 © 2001 Hewlett-Packard Company

H4262S B.02

Data Collection Performance Tools(HP-Specific)

Global Metrics Process Details Alarming CapabilityMeasureWare Yes Yes YesPerfView Yes Yes Yes

Data Source Integ User Definable User Definable User Definable

Page 12: Performance Tools

12 © 2001 Hewlett-Packard Company

H4262S B.02

Network Performance Tools (Standard UNIX)

Resource Super User Access Required

netstat Various LAN Statistics Nonfsstat Network File Sharing Statistics Noping Test Network Connectivity and Packet

Round-Trip Response Time No

Page 13: Performance Tools

13 © 2001 Hewlett-Packard Company

H4262S B.02

Network Performance Tools(HP-Specific)

Resource Super User Access Required

lanadmin Layer 2 Networking Statistics and NIC Reset

Yes

lanscan LAN Hardware and Software Status No

ndd (11.X) Change Kernel Networking ParametersYes

NetMetrix Collects network performance data using RMON LAN probes

Yes

YesChange Kernel Networking ParametersChange Kernel Networking Parametersnettune (10.X)

Page 14: Performance Tools

14 © 2001 Hewlett-Packard Company

H4262S B.02

Performance Administrative Tools (Standard UNIX)

Resource Super User Access Required

ipcs List Semaphores, Message Queues, and Shared Memory Segments

No

ipcrm Destroy Semaphores, Message Queues, and Shared Memory Segments

Yes

nice Setting Process Priorities Yesrenice Modifying Process Priorities Yes

Page 15: Performance Tools

15 © 2001 Hewlett-Packard Company

H4262S B.02

Performance Administrative Tools(HP-Specific)

Resource Super User Access Required

getprivgrpsetprivgrprtprio

scsictlserializefsadm

getext

setext

newfstunefsPRM

rtsched

List system privileged groups NoAllocate special system privileges Yes

Set real time process priority (HP) Privileged Access

Set parameters on SCSI devices YesMark a program to run serially Privileged AccessOnline JFS management tool YesDisplay JFS extent attributes No

Sets/changes JFS extent attributes YesCreate a file system Yes

Change a file system’s attributes YesProcess Resource Manager Yes

Set POSIX real time process priority Privileged Access

WebQoS Web Quality of Service Yes

Page 16: Performance Tools

16 © 2001 Hewlett-Packard Company

H4262S B.02

System Configuration and Utilization Information (Standard UNIX)

Resource Portability

bdf Local and remote mounted file system space Somedf Mounted file systems Yesmount Local and remote file system mounts Yes

Page 17: Performance Tools

17 © 2001 Hewlett-Packard Company

H4262S B.02

System Configuration and Utilization Information (HP-Specific)

Resource Portability

diskinfo Size and model of local disk drives No

dmesg I/O tree and memory details Some

ioscan I/O tree and addressing No

vgdisplay Local volume group contents/attributes No

pvdisplay Local physical volume contents/attributes No

lvdisplay Local logical volume contents/attributes No

swapinfo Swap space utilization No

sysdef Sizes and values of kernel tables and parms Some

kmtune SomeQuery, set, or reset system parameters

Page 18: Performance Tools

18 © 2001 Hewlett-Packard Company

H4262S B.02

Application Profiling and Monitoring Tools (Standard UNIX)

Resource Super User Access Required

prof Application Profiler Nogprof Enhanced Application Profiler No

arm Define and measure response timeof transactions for an application

No

Page 19: Performance Tools

19 © 2001 Hewlett-Packard Company

H4262S B.02

Application Profiling and Monitoring Tools (HP-Specific)

No

Tracks how much time is spent between specific lines of code in a program

Program utilization and measurement analysis

No

DescriptionSuper User Access

Required

puma

ttd

cxperf

Nocxperf is an interactive runtime performance analyzer for programs compiled with C, C++ and Fortran 90 compilers

Page 20: Performance Tools

20 © 2001 Hewlett-Packard Company

H4262S B.02

Summary

• Different categories of performance tools• Standard UNIX tools versus HP-specific tools• Separately purchasable tools• Kernel register-based tools versus midaemon-

based Tools

Page 21: Performance Tools

21 © 2001 Hewlett-Packard Company

H4262S B.02

Lab

Before we continue with a more focused discussion of glance and gpm, lets spend some time exploring the generic UNIX and HP-UX-specific tools discussed so far.

As you answer the following questions, try to categorize each tool as to its type and scope.