You are currently on IBM Systems Media’s archival website. Click here to view our new website.

Bookmark and Share

Recent Posts

i Can … Manage Workloads Better with IBM i 7.1

August 16, 2010

In today's announcement, there was a one-sentence statement that I thought would be good to expand upon:

IBM i 7.1 workload management enhancement enables clients to limit to the number of cores on which a selected workload can run concurrently.

So what is this, why would you want to use it and how do you get it?

IBM i's work management capabilities have long been a strength of the operating system. The capability to configure subsystems and memory pools to isolate workloads has been an important architectural design that allowed i to support multiple, different workloads concurrently on the same partition.

However, as the hardware has become more powerful, and partitions have become larger with more cores, additional controls for managing work within a partition have became more important. One thing the IBM i development team has been looking at for a long time was how to prevent one workload from consuming all of the CPU resources available. Although you could define subsystems and memory pools, it wasn't been very easy to limit the amount of CPU a workload used. The CPU time parameter is a class parameter, so all jobs that used the same routing entry or prestart job entry had the same configuration for the amount of CPU time they could use. Not many environments used the CPU time control simply because jobs generally need to run to completion, regardless of the amount of CPU time required; thus this really was not effective in controlling the utilization of processor resources.

This newly announced workload management enhancement provides a way to control the number of processor cores that can be concurrently used by a workload so you can now limit the processor resources consumed by a workload.

This enhancement allows you to define what are called “workload capping groups,” and for each workload capping group you can assign the number of cores that you want to allow that group to use. Then you associate a workload capping group with a subsystem so the jobs in that subsystem are limited to the number of cores defined by the workload capping group. There’s also the capability to associate a workload capping group with an individual job, if you want more granular control.

It might be good to provide an example of how workload capping can work for you...

One thing I often hear about is how ad-hoc queries can be disruptive to a production environment. You want your users to get at the data they require, but you don’t want that work to interfere with your mission-critical workloads. By using subsystem configuration for database server jobs, you could have these ad-hoc queries originated by users from their PCs run in their own subsystem and have this subsystem associated with a workload capping group. By doing this, these ad-hoc queries can be put into a ‘processing container’ to ensure they’re kept to a limited amount of system capacity. The subsystem that has been assigned to a workload capping group will have all jobs and their associated threads limited to the number of processing cores specified in the capping group. This same concept also applies to individual jobs; you can associate a workload capping group with a job. If the capping group has a processor core limit of one, then that job and all its threads will only be allowed to run on a single processing core. If this job is running on a multiple threaded core, multiple threads may be running for that designated jobs, but only a single core will be used at a time.

This feature provides the capability to allow mission-critical business applications the resources they need, while restricting other applications to fewer processor resources, and further strengthens IBM i's work management capabilities.

This support will be available with PTF SI39795 in September. There are actually several PTFs you need for the support, but this primary PTF will have the information on all the PTFs you need to install, as well as the technical documentation on how to use this powerful new function.



Posted August 16, 2010| Permalink