Blogs

About this blog

I'm a well-known mainframe performance guy, with almost 30 years of experience helping customers manage systems. I also dabble in lots of other technology. I've sought to widen the Performance role, incorporating aspects of infrastructural architecture.
I'm a world-famous podcaster and screencaster (albeit VERY thinly spread). :-)

Tags

What's In A Name?

This is the post I was going to write before the discussion that led to CICS VSAM Buffering arose. It's about getting more insight into how WLM is set up and performing than RMF Workload Activity Report data alone allows.

I recognise some of this can be done with the WLM policy in hand. But this is about an SMF-based approach. (The piece you can't do with SMF is discerning the WLM classification rules.) And the policy can't answer questions about how systems actually behave.

There are two distinct problems I've worked on solving (relatively) recently. I share the outline of my solution to each of these with you here.

In RMF you can't tell how Report Classes and Service Classes relate to each other: In some cases Report Classes break down Service Class data - often to the address space level. In some cases Report Classes coalesce information from multiple Service Classes. But you can't see this linkage in RMF.

In RMF you can't necessarily tell what runs in each Service Class. I say "necessarily" because you can tell some things about the nature of the work in a Service Class.

The "What's In A Name?" in the title refers to the fact a Workload, Service Class or Report Class name is just a string of characters: Rhetorically it might be a "promise" but it's not a mechanistic guarantee. So - to me at least - it's worth knowing rather more.

Type 30 Interval records (Subtypes 2 and 3) describe how address spaces perform.(Actually so do Subtypes 4 and 5, which are step-end and job-end records.) These records contain, amongst other things, WLM Workload, Service Class and Report Class names - for the address space. You can therefore use Type 30 to relate Workload and Service Class to Report Class. My code's done this for some time.

Type 30 does not apply to Service Classes that don't own address spaces. Two examples of this are DDF Transaction Service Classes and CICS Transaction Service Classes.

A related topic is which Service Classes are serving other Service Classes. For example CICS Region Services Classes and transaction Service Classes. Now this you can readily discern from SMF 72 alone. (And of course my code does that.)

What Work In A Service Class Is

(This piece relates equally to Report Classes.)

As I said, you can't tell much about what a WLM Service Class covers from Type 72. So, as well as the correlation described above, my code uses Type 30 to flesh out what a Service Class is for. The key to this is the Program Name. For example CICS regions have PGM=DFHSIP. So a Service Class with just PGM=DFHSIP address spaces is just a CICS Region Service Class. Simple enough. Some are more complicated than others - perhaps necessitating the 16-character program name field which, for Unix, includes the last portion of the Unix program name.

You can play other games, too: The job name for a DB2 address space can be decoded to glean the subsystem it belongs to. Certain System address spaces have mnemonic Procedure names. And so on.

From SMF 72 you can obtain the number of address spaces for a Service Class - 0 suggesting the Service Class doesn't own any (see above). 1 suggests this class (possibly a Report Class) is there to provide more granularity. You can also get the number of address spaces In and the number Out-And-Ready. This can help you form a picture of e.g. "low use" address spaces in the Service Class.

This post is about sharing some of my experience of trying to extend the value that can be got out of SMF - beyond the obvious. Some of this will probably appear in my I Know What You Did Last Summer presentation - which I'm still hoping to complete soon. This also, by the way, explains why I'm so keen to get Type 30 data from you when you're sending me RMF data. There really is a huge amount of value to be had.