This is a very brief guide to help you get started using the Collector and Analyzer performance tools. For the details, see the latest Performance Analysis Tools reference documentation.
Workflow
The user workflow for the Sun ONE Studio Performance Tools is:
Prerequisites
First, take a look at the readme files
for Sun ONE Studio 8
and Sun ONE Studio 7
Compiler Collection releases
and set your PATH and MANPATH accordingly.
You must also have patches and the right version of Java installed,
as described in the readme.
Tutorials
The tools ship with several example codes, designed to be used in tutorials
on the product. The tutorials are available in Chapter 2 of the
S1S8 Compiler Collection Performance Tools
manual.
Compile the Target Program
The Sun ONE Studio Performance tools can record performance experiments, collecting various kinds of data, on any target executable that is built with shared libraries (not statically-linked). The target program for data collection can be compiled with any compiler, and any level optimization and parallelization. We recommend the Sun ONE Studio 8 compilers, and all features of the tools work with those compilers. In order to get source-level data, and for the support for parallel FORTRAN and OpenMP to work fully, the target should be compiled with the -g flag. For C++ programs, the target should be compiled with the -g0 flag. Please report any anomalies in source or disassembly line-mappings or compiler commentary from these compilers. Native Language (C, C++, Fortran) Compilers
Collect a Performance Experiment
Data collection for user application in the Sun ONE Studio Performance tools is done by the Collector, which is available in two command-line forms: the collect command and the dbx collector. It can also be done from the Collector GUI, also available in two forms, one from the Analyzer and the second from the Debugger GUI. The collect Command Further information about collect command can be found on the collect.1 man page. The types of data recorded are also described there. The dbx Collector Further information about dbx data collection can be found on the collector.1 man page. Collector GUI in Analyzer Further information about Analyzer's Collection GUI can be found on the analyzer.1 man page, or on the online help in the Analyzer The Collector GUI in the Debugger GUI Further information about Debugger GUI's Collector GUI can be be found in the online help for the Debugger GUI. Analyze the Performance Experiment
There are two ways to examine a performance experiment, the Analyzer GUI program, and a command-line er_print The Analyzer Further information about the Analyzer can found on the analyzer.1 man page. er_print Further information about er_print can found on the er_print.1 man page. About the AuthorMarty Itzkowitz is project lead for the Sun ONE Studio Compiler Collection Performance Tools. | ||||||||||||||
Oracle is reviewing the Sun product roadmap and will provide guidance to customers in accordance with Oracle's standard product communication policies. Any resulting features and timing of release of such features as determined by Oracle's review of roadmaps, are at the sole discretion of Oracle. All product roadmap information, whether communicated by Sun Microsystems or by Oracle, does not represent a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. It is intended for information purposes only, and may not be incorporated into any contract.
|
| ||||||||||||