1 / 12

Tools for Measuring System and Application Performance

Tools for Measuring System and Application Performance. Introduction GlancePlus Introduction Glance Motif Glance Character Mode Glance Command-line Xverbosegc HPjmeter and –Xeprof Other Tools gdb. Learning objectives. By the end of this session you will be able to:

buck
Download Presentation

Tools for Measuring System and Application Performance

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tools for Measuring System and Application Performance • Introduction • GlancePlus • Introduction • Glance Motif • Glance Character Mode • Glance Command-line • Xverbosegc • HPjmeter and –Xeprof • Other Tools • gdb

  2. Learning objectives • By the end of this session you will be able to: • Use the system tools for monitoring operating system performance • Use the Java specific tools for tuning and troubleshooting performance in Java programs • Gather the appropriate information for the labs to use in additional problem diagnosis

  3. Top Troubleshooting Tools • Glance/gpm • Overall view of system performance • Xverbosegc output • Java Heap performance • Xeprof option and HPjmeter • What an application is doing as its executing • Java monitor metrics in JDK 1.3.1 • Java stack traces • What application is doing at a single moment

  4. Top Troubleshooting Tools • Puma • Profiling user native methods • gdb • Outstanding for tracking down C Heap memory leaks • -Xnocatch coupled with “kill –10 <pid>” for core • Instrumented libpthreads • Profiling pthread mutex activity • netstat and ndd • Monitor and tune networking

  5. Top Troubleshooting Tools • tusc • System call activity • Reveals what application is doing as it’s executing • swapinfo • System swap utilization • Unsupported kernel tools • cyclemeter, vps_stat, ...

  6. Measurement • What are we trying to measure? • How do we go about measuring? • What information is collected? • How is the data collected?

  7. System Resources • CPU • Memory • Physical • Virtual • Disk • Movement of data: Memory <-> Disk

  8. System Resources • CPU - Memory - Disk • Kernel resources • Network

  9. Types of Measurements • Type of metric collectors • Hardware • Software • Periodic sampling • 10ms timeslice on 400 MHz is 4 million+ instructions • Event-driven sampling • Counters

  10. HP-UX Kernel Instrumentation • System call • Context switch • Virtual Memory • I/O events

  11. HP-UX Kernel Instrumentation Kernel Counters Kernel Instrumentation Trace Buffers midaemon pstat Shared Memory MI Library ps top gpm (Glance)

  12. Tools Sections • GlancePlus • Xverbosegc • Understanding the Output By Generating Graphs • HPjmeter • Understanding Your Java Application’s Performance • The Other Tools • Java Stack Traces • Puma • Instrumented pthreads • netstat • tusc • swapinfo • JProbe

More Related