210 likes | 366 Views
T-REX – Transaction Recording & Examination. Overview. Reasons for T-REX Capabilities of T-REX T-REX Viewer Details. Before TRex. After TRex. Reasons For T-REX. Problem: TPF Applications that use too many resources degrade system performance
E N D
Overview • Reasons for T-REX • Capabilities of T-REX • T-REX Viewer Details
Before TRex After TRex Reasons For T-REX Problem: • TPF Applications that use too many resources degrade system performance • But it is difficult to see the problem(please click) Solution: • T-REX – Allows programmers to immediately identify which App is using what resources • Having T-REX is like being able to see in focus and in color...(please click) • ...now you can see what is really annoying you
Capabilities: T-REX Analyzes Performance at Several Levels • Transaction level • All the resources used by the transaction • Identifies all the ECBs • ECB level • All resources used at ECB level • Identify programs and functions • Individual program/function level • All resources used at the program/function level • Counts of MACRO/SVC used
Capabilities: Comprehensive Level of Information • Memory usage • Application-level memory • Core blocks, heap space, system work blocks • I/O usage, tape records, pool records • Program usage • What programs/ functions the application calls
Capabilities: Analysis Tools • Just collecting data is not enough • Programmers must have a way to review and analyze it • T-REX provides many visualization and analysis tools • Pie charts, bar charts, tables, lists
Starting T-REX • When you are ready to collect data • Select “User” from the T-REX menu. • Data will now be collected forT-REX Charges to Middleware (e.g. TPFDF, printf) • User means the middleware level is charged under one account for everything its programs do • All means the programs used by the middleware are charged individually
Collect Data • After activating T-REX, start a transaction • The results are ready to be viewed...
Viewing T-REX • When you are ready to analyze your data... • Select “View” • The T-REX viewer will open
Transactions & ECBs • Each transaction is contained within one file • Beneath the transactions you can see the ECBs used
ECBs & Programs/Functions • Expanding an ECB shows the programs and functions used by the ECB • The bracketed number (e.g. “[3]”) shows how many times each program or function was called
Analysis Page • Provides a quick, easy, meaningful way to identify resource usage by transaction • Subsections: • CPU Usage • I/O Usage • Core Usage • Pool Usage • Subsections allow you to concentrate on your area of concern
Analysis, CPU Usage • Top programs/functions used by the ECB • You can specify how many programs/ functions you want to see
Analysis, I/O Usage • Top programs/functions in the ECB by I/O • Reads in one color, writes in another
Analysis, Core Usage • Information divided into system heap, ECB heap, and ECB core • Top programs/functions in the ECB by core use
Analysis, Pool Usage • Information divided into gets and releases • Top programs/functions in the ECB by pool use
ECB Heap Page • Amount of heap gets and releases in bytes • Count of heap gets and releases
Summary Page • Quick overview of resource usage for a transaction, an ECB, or a program/function
Stopping T-REX • Select “Off” from the T-REX menu to stop data collection
Summary • Strengths of T-REX • Easy to learn and use • Superb feedback and analysis • Friendly, and easy to startup and run • Minimal overhead when running • Saves problems from happening on the Production system
Questions? For more information, contact: Thiru Thirupuvanam TPF Software, Inc. info@tpfsoftware.com 919-676-5501 www.tpfsoftware.com