The title of today’s post may cause a few of you to raise your eyebrows. After all, MIPS and MSUs are how software costs are calculated, especially in the mainframe world. So, if you are interested in trying to curtail mainframe costs, whether as a vendor or a user, why would the average cost per MIPS/MSU matter?
Let’s back up a moment and first take a look at what MIPS and MSUs are.
A Little Bit of MIPS History
Starting at the beginning, the question to ask is “What is MIPS?” Or should it be “What are MIPS?” Well, MIPS is actually an acronym, and it stands for Millions of Instructions Per Second. So there really is no such thing as a MIP because MIPS is not plural. As the name implies, MIPS stands for the number of instructions that a particular mainframe can process using a second of operating time.
Historically, mainframe computers were measured in terms of MIPS, that is the number of instructions that could be processed per second. MIPS was used as a way to measure the general computing capacity of a mainframe. Of course, other large servers can be measured using MIPS, too, but we will focus on mainframes here.
Benchmark runs are usually conducted to attribute a capacity in MIPS to a particular computer. The larger the number of MIPS assigned to a computer, the larger the workload it can process. Over time, MIPS no longer translated to an actual millions of instructions per second that a computer could process.
Why is that so? Well, there are differences in the ways that different models of IBM System Z mainframes work, making it difficult to translate capacity in MIPS from model to model. Furthermore, different types of workload and settings can impact how MIPS are measured. Things like the amount and efficiency of memory available, the speed of I/O devices, and the mixture and complexity of the workloads being run, all conspired to make MIPS mean something different.
These days, MIPS are a somewhat obsolete way of comparing the CPU capacity across different mainframe models and hardware configurations. Many IT pros still use the term, but instead it makes more sense to talk about MSUs.
What Are MSUs Then?
Instead of MIPS, most capacity planners measure mainframe capacity using MSUs, which is a more modern measurement. IBM publishes the capacity rating of every mainframe it sells in terms of MSUs.
What is an MSU? MSU is also an acronym, and it stands for Million Service Units. And that begs the question “what is a service unit?” One “service unit” originally related to an actual hardware performance measurement, but that is no longer the case. A service unit is an imprecise measurement, and it is determined by IBM as a means to rate the capacity of their mainframe computers.
Instantaneous MSU, or IMSU, is a measurement of the number of MSUs being used at a given point in time. IMSU usage is used to determine your monthly IBM software bill when using a subcapacity pricing metric. The peak rolling four-hour average (R4HA) of instantaneous MSU usage for the month determines the usage for billing purposes (elaborated upon in my book). This information is recorded in SMF Type 70 and 89 records that capture CPU activity and product usage information. Sometimes people conflate MSU usage with performance, but the two are not really the same.
Additionally, keep in mind that at times IBM has reduced the number of MSUs for a given workload as you move to newer, and more modern hardware. This is referred to as the technology dividend. Essentially, each new IBM mainframe model has a 10% lower MSU rating for the same level of system capacity. So, running the same workload on a newer machine should be less costly than running it on an older machine. This may be an historic artifact though, as IBM has stopped giving the technology dividend with recent IBM Z hardware releases. It may be relevant to some shops using older hardware though.
Can We Convert MIPS to MSUs… and Vice Versa?
Sometimes people like the comfort factor of using terms that they have used for years. As such, MIPS is still used by many IBM mainframers shops to discuss the capacity of their systems. Additionally, MIPS is frequently used by outsourcers in its contracts and service level agreements. So, a method of converting back and forth between MIPS and MSUs is a common requirement.
Such a conversion is somewhat imprecise, but industry analysts at Longpela indicate that 1 MSU equates to somewhere between 8 to 9 MIPS. So, you can plug in 8.5 as a conversion factor. For example, how many MIPS are in 150 MSUs?
150 MSUs * 8.5 = 1,200 MIPS
Now that we understand MSUs and MIPS and the difference between them, what metrics should you use and when should you use them? The answer, of course, is it depends on what you are trying to achieve. For the purpose of cost containment of your IBM software bill, the answer is that you should measure MSUs. The exact type of MSU measurements you will need to review depends on the type of pricing model you have in place with IBM for your mainframe. What about for performance management? Performance tuning and cost optimization are two different subjects that have some crossover, but require different metrics. Performance is generally measured in terms of CPU seconds or perhaps even elapsed time. So, is it possible to use CPU seconds to compute MSUs? Well, sort of. Analysts at Watson Walker developed a table converting a given number of CPU seconds into MIPS. IBM and some outsourcing companies may have similar conversion charts. And then once you get MIPS you can use the 8.5 MIPS per MSU conversion we discussed earlier to convert to MSUs.
But it is probably easiest to use MSUs instead of MIPS these days.
Back to the Original Premise: Average Cost per MSU/MIPS?
So, why does an average cost per MSU not matter? Well, simply put, because it is meaningless. Let’s discuss why this is so.
First let’s take a look at some of the attempts to calculate an average cost per MSU/MIPS that you can find by searching the web. First of all, there is a 2015 article that was published in the journal Science of Computer Programming. It cites the average cost per MIPS to be $3,285 with the expectation that the cost will increase 20% annually. So, using some simple math, adding 20% per year, we come up with an average MIPS cost in 2025 somewhere around $20,340. Of course, vendors like to cite this reference and I understand why. It sure makes things seem very costly. And sure, costs are rising. But surely not this much!
Another example of an “answer” to this question comes from a recent AWS blog post. Herein we find: “For a large mainframe of more than 11,000 MIPS, the average annual cost per installed MIPS is about $1,600. Hardware and software accounts for 65 percent of this, or approximately $1,040.” Interesting. This was published a full three years after the previous estimate and it is around $2,000 per MIPS cheaper. What happened to the 20% annual growth rate? Can we assume that there is $2,000 per MIPS cost that is attributable to something other than hardware and software? Electricity? Real estate? Human resources? OK… but $2,000 per MIPS?
Clearly something is wrong here. But what?
If you have read some of my other articles on mainframe pricing, zIIPs, and capacity planning, then you probably have at least an inkling of what I am about to say. First of all, there is a lot of focus on MIPS instead of MSUs, and if you know the difference between the two, then as an IBM Z user you’d probably want to focus on MSUs. But the average cost per MSU is no more useful than the average cost per MIPS.
Let’s dig a little deeper. Focusing on just the software component of MIPS/MSU cost, remember that your monthly IBM Z software bill is calculated monthly based on the peak rolling four-hour average MSU utilization for that month. At least for sub-capacity pricing metrics and monthly license charge products (like z/OS, CICS, Db2, etc.). And the peak can change from month-to-month based on your tuning efforts and workload requirements. So, you need to keep in mind that your peak varies by product, which will change your bill, and therefore your cost per MIPS/MSU. But that isn’t the only thing to consider. You also need to remember that the last MIPS/MSU used is the cheapest. The more MIPS or MSUs that you use, the less you may pay for each additional one, as you cross thresholds established by IBM. We’ll delve into that phenomenon in a future post here.
So, let’s get down to the issue at hand. Why are people interested in an average cost per MIPS or MSU? The general idea is to try to estimate how much savings they can achieve if they reduce consumption. And I understand the desire to know this. But think about it… it just doesn’t work that way. Why?
Let’s say we’ve shaved off 10 MIPS from our nightly batch processing. First things first, congratulations. That is a nice accomplishment. But what is the impact. If our monthly peak occurs during the day running CICS transactions our monthly MLC bill from IBM will not be impacted (assuming AWLC sub-capacity pricing is in effect). But I guarantee you that if you have an average cost per MIPS that the folks who tuned that batch workload will multiply that average by 10 and try to claim that they saved that amount of money. But they didn’t.
OK, let’s assume that the monthly peak occurs during the batch cycle. There are 8 to 10 hours in most batch cycles. But the peak is based on a rolling four-hour average (R4HA), so if the 10 MIPS were spread over 10 hours they do not all impact the bill. Only the MIPS saved during the specific peak R4HA count. So again, using the average would not be an accurate way to estimate cost savings.
Of course, we can make the assumption that all 10 MIPS are saved specifically during the four hour window of the peak. In this case, the average is probably more useful, but it still is not accurate. What if the MIPS savings falls on one of the thresholds where the cost per MSU/MIPS changes? Even if the average was spot-on to your cost at the high-end, it is inaccurate because the first MIPS you save will be at a lower cost than the later MIPS.
And that gets to the basic problem of using averages. Averages are strongly influenced by outliers. For example, say you have three employees aged 30, 40, and 80. The average age of your employees is 50. But how useful is that upon which to base any decisions? Not at all, really.
But let’s just plow ahead and assume that everything above is irrelevant or that we somehow miraculously saved all our 10 MIPS in the sweet spot where we will achieve some savings. Which of the above averages are you going to use?
If we use the 2015 value of $3,285 then we will try to say that we saved $32,850. But if we are aggressive then we’ll use that 20% annual increase estimate and cite $20,340 saving per MIPS, or $203,400! Or do we use the AWS estimate of $1,600 per MIPS saved and claim to have saved $16,000… but wait-a-minute, is this only hardware and software savings? In that case we have to use $1,040, giving us a savings of $10,400. But did we actually save anything on hardware by tuning batch workload? Maybe we just saved on software… but where is that average?
Hopefully, you can see that averages are just not worth anything at all when try to determine your savings by reducing MIPS or MSUs.
