Mainframe Path Start learning free
Applied11 min readLesson 3 of 3

RMF and putting SMF to work

RMF measures system performance in three monitors: long-term recording, snapshots and near real-time delay analysis. Its Postprocessor turns SMF data into reports such as CPU Activity and Workload Activity, and SMF as a whole supports chargeback, capacity planning and audit.

Three monitors, three time scales

RMF (Resource Measurement Facility) is IBM's performance monitor for z/OS. It is a separately priced z/OS feature, and BMC and Broadcom offer alternatives; BMC's CMF MONITOR, for example, can produce RMF-compatible records, so reports look similar across sites.

MonitorTime scaleTypical use
Monitor ILong-term: intervals, often 15 minutesGathers data continuously and writes SMF types 70 to 78; the basis for history and capacity planning
Monitor IISnapshot: nowPoint-in-time views of address spaces and resources; can write type 79
Monitor IIIShort-term: last minutes to hoursDelay analysis: what each job or service class is waiting for, viewed in an ISPF dialog or web interface

Monitor III is what you open during an incident. Reports such as SYSSUM (system summary against goals), DELAY (jobs and their main delays) and JOB (one job's delays) show whether work is waiting for processor, I/O, storage, enqueues or something else. Monitor I data is what you use the next day to understand the incident properly.

The Postprocessor

The RMF Postprocessor is a batch program that reads SMF records, usually from the daily dump, and produces reports for chosen intervals and systems. Control statements select reports: for example REPORTS(CPU) for CPU Activity and SYSRPTS(WLMGL(SCPER)) for Workload Activity by service class period. Output can be printed text or XML for viewing in a browser or z/OSMF.

From records to reports
Monitor Igathers samples
SMF 70-78recorded and dumped
Postprocessorselects intervals and reports
ReportsCPU, Workload, DASD, Paging

CPU Activity report

Shows how busy each processor was over the interval, separately for general processors and specialty engines such as zIIPs. Its Partition Data section shows every LPAR on the machine: its weight, how much it used, and capacity figures including the four-hour MSU average and any defined capacity, which link directly to software cost.

Workload Activity report

Organised by service class period and report class. For each it shows the goal, what was achieved (average response time or velocity), the performance index, transactions ended, and resource use such as CPU and zIIP service time and APPL% (the percentage of one processor the work used).

Workload Activity extract (illustrative, layout simplified)
SERVICE CLASS=CICSHI   PERIOD=1  IMPORTANCE=1
  GOAL: RESPONSE TIME 0.250 SEC FOR 90%
  ACTUAL: 94.1% WITHIN GOAL       PI: 0.8
  ENDED: 1,284,511   AVG RESP: 0.081 SEC
  APPL%  CP: 38.2   IIP: 4.6

Putting SMF to work

UseMain recordsWhat is produced
Chargeback30, 101, 110, 116CPU and I/O by account code, application or department, converted to cost
Capacity planning70, 72, 74, 113Peak and average usage trends per LPAR and workload, to forecast upgrades
Performance analysis72, 74, 30, 101Which workloads miss goals and why
Security audit80, plus product recordsWho accessed or tried to access protected resources
Software licensing70, 89Sub-capacity usage reports for IBM and other vendors

Chargeback depends on good accounting data. If jobs carry meaningless accounting fields on the JOB statement, or CICS work is not attributed to applications, the bill cannot be split fairly. Many sites charge back only for 'showback' (reporting cost without actually billing), which still drives better behaviour.

Common mistakes

Using Monitor I averages to diagnose a 2-minute spike

A 15-minute interval can hide a short burst. Use Monitor III for short events and Monitor I for trends.

Reading APPL% as percent of the machine

APPL% is relative to one processor; 250% means two and a half processors' worth. Divide by the number of processors for a machine-wide share.

Building chargeback on bad accounting fields

If account codes on JOB statements are missing or wrong, the bill will be too. Enforce accounting standards before publishing costs.

What you will see at work

Key terms

Check your understanding.
Take this lesson's quiz and save your progress. Free.

Take the lesson quiz
← Collecting, dumping and archiving SMFBack to SMF and RMF