290 likes | 373 Views
Introduction to System i for Computer Professionals. Performance Management. Module 14. Module Objectives. After completing this module, you should be able to: Define performance management Discuss monitoring facilities on the System i
E N D
Introduction to System i for Computer Professionals Performance Management Module 14
Module Objectives After completing this module, you should be able to: • Define performance management • Discuss monitoring facilities on the System i • Discuss the functions of work management in reference to performance • Describe Collection Services data system reports • Describe the system monitor displays
Monitoring Facilities • Integrated with i5/OS • Performance data collection • Collection services • Performance monitoring • Interactive 5250 commands • WRKSYSSTS/WRKDSKSTS • iSeries Navigator (GUI) interface • Graphical monitors • "Drill-down" capability • Performance Management/400 (5722-PM1) • Shipped with i5/OS • Capacity utilization • Performance trend analysis • Graphs and reports generated by IBM "factory"
System i Facilities Performance Tools/400 (5722-PT1) • Manages and analyzes performance data • Interactive commands • WRKSYSACT/DSPPFRDTA • Advisor • Analyzes performance data and displays data • Printed output • Reports/graphs • Performance Explorer (PEX) • Detailed performance information • Helps identify "hot spots" • PEX STATS • Application and IBM programs or modules • PEX PROFILE • High level language (HLL) programs • "Hotspots" based on source program statements • PEX TRACE • Programs • Licensed Internal Code (LIC) tasks • i5/OS jobs • Object reference information
Work Management • Number of activity levels • Systemwide • Each pool • Check job state transitions • Memory pool allocation • Machine pool • User pools • Process priorities • High (=<20) • Low (=>50) • Expert cache • *CALC
Dynamic Priority Scheduling (1 of 2) • QDYNPTYSCD system value • 1=dynamic priority scheduling (default) • 0=fixed priority scheduling • Delay-cost algorithm • Waiting increases “cost” • “Costly” tasks have dispatch priority • Avoids CPU monopolization • Ensures CPU cycles for low priority tasks • Penalizes tasks with high CPU use • Uses priority groups • High priority (0) • Fixed priority (1-9 and 90-99) • Dynamic priority • Band I (10-16) • Band II (17-22) • Band III (23-35) • Band IV (36-46) • Band V (47-51) • Band VI (52-89)
Key Capacity Indicators • Measured by Performance Monitor • CPU utilization • Usage by high priority processes/jobs/threads • Threshold dependent on n-way • 1-way ... 70% • 2-way ... 76% • 4-way ... 81% • 8-way ... 85% • 12-way ... 90% • Memory utilization • Machine pool approximately 5-10 per second • User pools • Impact of number of faults per second per active request • Disk utilization • Arm utilization threshold • Below 30-40% • Disk response time • Disk wait time • Space utilization • 85-90+% • I/O processor utilization • Below 50-60%
WRKACTJOB Work with Active Jobs TEAMLPR3 03/23/XX 15:51:54 CPU %: 42.2 Elapsed time: 00:00:01 Active jobs: 318 Type options, press Enter. 2=Change 3=Hold 4=End 5=Work with 6=Release 7=Display message 8=Work with spooled files 13=Disconnect ... --------Elapsed--------- Opt Subsystem/Job Type Pool Pty CPU Int Rsp AuxIO CPU % ITCDWA SBS 2 0 .3 0 .0 ADMINP BCI 2 20 30.0 0 .0 AMGR BCI 2 20 4.9 0 .0 AMGR BCI 2 20 3.6 0 .0 CA BCI 2 20 12.9 0 .0 CALCONN BCI 2 20 1.1 0 .0 COLLECT BCI 2 20 13.3 0 .0 COLSRV400 BCI 2 20 1.5 0 .0 DIIOP BCI 2 20 7.5 0 .0 More... Parameters or command ===> F3=Exit F5=Refresh F7=Find F10=Restart statistics F11=Display thread data F12=Cancel F23=More options F24=More keys
WRKSYSSTS Work with System Status TEAMLPR3 03/23/XX 16:30:14 % CPU used . . . . . . . : 54.0 Auxiliary storage: % DB capability . . . . : .1 System ASP . . . . . . : 457.1 G Elapsed time . . . . . . : 00:00:05 % system ASP used . . : 61.8772 Jobs in system . . . . . : 1332 Total . . . . . . . . : 457.1 G % perm addresses . . . . : .022 Current unprotect used : 12907 M % temp addresses . . . . : .103 Maximum unprotect . . : 13373 M Type changes (if allowed), press Enter. System Pool Reserved Max -----DB----- ---Non-DB--- Pool Size (M) Size (M) Active Fault Pages Fault Pages 1 996.87 550.45 +++++ .0 .0 .0 .0 2 24756.05 4.59 687 .0 .0 .1 6.1 3 2861.45 <.01 715 .0 .0 4.2 4.6 4 .25 .00 5 .0 .0 .0 .0 Bottom Command ===> F3=Exit F4=Prompt F5=Refresh F9=Retrieve F10=Restart F12=Cancel F19=Extended system status F24=More keys
WRKSYSSTS Work with Disk Status TEAMLPR3 03/23/XX 16:42:15 Elapsed time: 00:01:37 Size % I/O Request Read Write Read Write % Unit Type (M) Used Rqs Size (K) Rqs Rqs (K) (K) Busy 1 6718 17548 93.9 .0 4.0 .0 .0 4.0 .0 0 2 6718 17548 92.8 .0 4.0 .0 .0 4.0 4.0 0 3 6718 17548 92.8 .1 21.6 .0 .0 4.0 30.5 0 4 6718 17548 92.7 .1 19.2 .0 .0 4.0 22.6 0 5 6718 17548 92.6 .0 4.8 .0 .0 4.0 8.0 0 6 6718 17548 92.8 .0 7.3 .0 .0 4.0 10.6 0 7 6718 17548 92.8 .0 4.0 .0 .0 4.0 .0 0 8 6718 17548 93.4 .0 4.0 .0 .0 4.0 .0 0 9 6718 17548 93.7 .1 6.8 .0 .0 4.0 12.0 0 10 6718 17548 93.2 .1 4.8 .0 .0 4.0 6.6 0 11 6718 17548 93.6 .0 4.0 .0 .0 4.0 4.0 0 12 6718 17548 93.3 .1 4.0 .0 .0 4.0 4.0 0 13 6718 17548 93.6 .1 7.0 .0 .0 4.0 9.3 0 More... Command ===> F3=Exit F5=Refresh F12=Cancel F24=More keys
WRKSYSACT Work with System Activity TEAMLPR3 03/23/XX 16:46:48 Automatic refresh in seconds . . . . . . . . . . . . . . . . . . . 5 Elapsed time . . . . . . : 00:00:02 Average CPU util . . . . : 42.0 Number of CPUs . . . . . . : 3 Maximum CPU util . . . . . : 84.1 Overall DB CPU util . . . : .0 Minimum CPU util . . . . . : 18.6 Current processing capacity: 3.00 Type options, press Enter. 1=Monitor job 5=Work with job Total Total DB Job or CPU Sync Async CPU Opt Task User Number Thread Pty Util I/O I/O Util QJVAEXEC QTMHHTTP 336088 0000000E 10 21.6 48 1 .0 QJVAEXEC QTMHHTTP 336088 00000002 31 7.4 20 0 .0 QJVAEXEC QTMHHTTP 336088 00000006 25 4.7 49 0 .0 QJVAEXEC QTMHHTTP 336088 00000005 10 .6 7 0 .0 ITCEBIZ3 TONI 334522 00000031 1 .3 5 0 .0 QP0ZSPWT QTMHHTTP 335809 0000015C 31 .1 2 0 .0 QPWFSERVSO QUSER 329710 00000040 20 .0 2 4 .0 P0FSYNC01N 99 .0 1 4 .0 Bottom F3=Exit F10=Update list F11=View 2 F12=Cancel F19=Automatic refresh F24=More keys
System Report (2 of 3) iSeries Access
Advisor Detailed conclusion: PFR2648 Cause . . . . . : The guideline was first exceeded in the interval ending 07/28/XX 13:03:24. The maximum utilization of 96% occurred in the interval ending 07/28/XX 13:08:18. The guideline was exceeded in 5 out of 10 intervals. Note: CPU utilization refers to the amount of the CPU used for jobs and system tasks with priorities less than or equal to 20. Recovery . . . : If response time is unacceptable or batch jobs no longer finish in an acceptable time, you may need to upgrade your CPU. You could also analyze your application design for efficiency. Detailed conclusion: Note that a high CPU utilization (above 70%) does not necessarily indicate a problem that needs immediate attention. If your performance goals (throughput and response time) are being met, then possibly all you need to do is analyze your growth plans to determine if a faster processor is needed in the future. The Capacity Planner can assist you with this planning. You can also use the historical data and graphics options in the Performance Tools to analyze the CPU utilization trend (CRTHSTDTA, DSPHSTGPH). Note: CPU utilization refers to the amount of the CPU used for jobs and system tasks with priorities less than or equal to 20. Technical description . . . . . . . . : If your average CPU time used in each transaction is small, then a high CPU utilization is less noticeable in your end response time. Based on your average CPU time of .12 seconds, you could expect good response time up to 65% CPU utilization. However, realize that even if you have a good average response time, the response time for longer running transactions may be unacceptable.
Performance Advisor Display Recommendations System: TEAMLPR3 Member . . . . . . : Q108142248 Library . . . . . : PERFDATA System . . . . . . : TSCERPED Version/Release . : 5/ 1.0 Start date . . . . : 04/18/XX Model . . . . . . : 170 Start time . . . . : 14:22:48 Serial number . . : 10-4AV4M Partition ID . . . : 000 Feature Code . . . : 2388-2388 QPFRADJ . . . . . : 3 Int Threshold . . : 7.70 % QDYNPTYSCD . . . . : 1 Virtual Processors : 2 QDYNPTYADJ . . . . : 1 Processor Units . : 2.00 Type options, press Enter. 5=Display details Option Recommendations and conclusions Recommendations Pool analysis stopped. Conclusions Highest Interactive Feature Utilization intervals listed. Interactive Feature Utilization Threshold exceeded. High response time transactions. More... F3=Exit F6=Print F9=Tune system F12=Cancel F21=Command line Performance thread data successfully converted. +
System Monitoring (Real-time) (1 of 2) Management Central monitors can display: • Real time performance data • Graph performance data • Interface with PM/400
Exercise 5 Performance Analysis
Module Summary Having completed this module, you should be able to: • Define performance management • Discuss monitoring facilities on the System i • Discuss the functions of work management in reference to performance • Describe Collection Services data system reports • Describe the system monitor displays