Features Added in FOCUS 7.6.10

In this section:

Starting in FOCUS 7.6.10, you can offload FOCUS processing to a zIIP specialty engine.


Top of page

x
Enabling the zIIP Specialty Engine for Mainframe FOCUS on z/OS

In this section:

How to:

Reference:

If your site has a zIIP (System z Integrated Information Processor) specialty engine from IBM, you can offload specific categories of workload from the Central Processors to the zIIP.

The zIIP engine is a restricted version of a Central Processor (CP), also referred to as a General Processor (GP). The capacity of the zIIP engine does not count toward the overall MIPS rating of the mainframe image, so the CPU usage incurred on the zIIP is effectively free. Central Processors are often configured to run at speeds below their maximum rating for cost saving and capacity planning purposes. For Central Processors, 100% capacity typically refers to the maximum MIPS that the processor is allowed to generate at that installation, in accordance with your contract with IBM. In contrast, the zIIP engine always runs at true 100 percent of capacity.

Starting with FOCUS for Mainframe Release 7.6.10, as much as 80 percent of FOCUS processing is enabled to run on the zIIP engine. Typical workloads are expected to offload 30 to 80 percent of CPU processing to the zIIP engine.



x
What is a zIIP Specialty Engine?

Though physically identical to a Central Processor, the zIIP engine is microcoded at installation time to run specific types of workloads. The Central Processor continues to handle the operating system, I/O interrupts and timer interrupts, job initiations, and user interactions with the operating system. The zIIP concentrates on CPU intensive workloads, leaving the Central Processor more time to absorb otherwise queued workloads, thereby achieving some overall performance improvement across all mainframe activity.



x
Requirements for FOCUS zIIP Enablement

This section describes requirements for FOCUS use of the zIIP processor.



x
Syntax: How to Enable FOCUS to Offload Processing to the zIIP Engine
SET ZIIP={ON[/SIMMAXZIIP]|OFF}

where:

ON

Configures FOCUS to offload processing to the zIIP engine.

FOCUS determines if the zIIP processor is accessible to the LPAR in which the job is running. If FOCUS determines that the zIIP is not accessible, it issues a message describing the reason and continues in ZIIP=OFF mode, which forwards all subsequent work to the Central Processor.

SIMMAXZIIP

Allows the job to run with processing on the zIIP and simulates full zIIP accessibility to see how much zIIP access the job would have had if the zIIP were 100 percent available for FOCUS usage. Use this option for simulation purposes only.

OFF

Configures FOCUS not to offload processing to the zIIP engine. OFF is the default value.

Note: Turn off zIIP enablement only when you know for sure that a job will not gain any advantage from using the zIIP processor or if the system operator or administrator requires that you turn it off.



x
Reference: System Requirements for Use of the zIIP Processor


x
How FOCUS Takes Advantage of the zIIP Processor

FOCUS diverts eligible workload to the zIIP engine by switching from TCB (Task Control Block) mode for workloads that can run only on a Central Processor to SRB (Service Request Block) mode for execution of enabled workloads on the zIIP engine.

Types of FOCUS processing that are offloaded to the zIIP engine include:

The FOCUS zIIP Monitor detects situations in which the overhead cost of zIIP usage is exceeding the CPU benefits gained. When this threshold is reached, FOCUS may decide to suspend use of the zIIP for the duration of that command. It then resets to make the zIIP processor accessible to the next command.

TABLE, MATCH, and MORE requests may suspend and resume more than once as they progress through logical phases of execution.

In every case, FOCUS attempts to optimize the use of the zIIP and minimize chargeable CPU costs.

Applications that perform significant database I/O, high-volume sorting, or the use of third party tools or user functions during processing require switching out of SRB (zIIP) mode into TCB (non-zIIP) mode to communicate, and then back again to continue processing. Although each switch is miniscule, the cumulative effect can absorb measurable amounts of CPU time on both the zIIP engine and the Central Processor.

In order to diminish this effect, FOCUS buffers the collection of records passed to the system sort utility and some adapters rather than passing one record at a time, thus reducing the number of switches between TCB and SRB modes.

These third party products may themselves be zIIP enabled and may offload some or all of their processing to the zIIP engine independent of FOCUS. FOCUS always calls these products from the Central Processor because it cannot know whether they will perform any processing that is prohibited on the zIIP.

Even though zIIP usage occurs more frequently on non-optimized requests to a relational data source, optimized requests are still inherently more efficient and, therefore, may incur less CPU time. Being zIIP enabled, DB2 may also take advantage of the zIIP processor for FOCUS requests based on the local configuration of DB2 relative to FOCUS.

Requests against some types of data sources whose I/O can be buffered gain a lot of advantage from zIIP enablement. Data sources that gain the most benefit from zIIP processing due to buffered I/O include:



x
Evaluating zIIP Usage

In order to evaluate FOCUS zIIP processing in a session, you can query three Dialogue Manager variables that accumulate statistics about FOCUS processing:

The FOCLOG and SiteAnalyzer products that monitor FOCUS usage also capture zIIP statistics for a session.

If you do not have a zIIP engine installed yet at your site, you can still see the effect that a zIIP engine would have on the workload of your application. In SYS1.PARMLIB for your LPAR, insert the following parameter:

PROJECTCPU=YES

This parameter makes all zIIP-enabled software products including FOCUS think that a zIIP engine is present and causes them to function accordingly. Since the zIIP engine actually is not present, all zIIP-eligible workload will be diverted to the Central Processor. Thus all of that CPU utilization will be recorded in &FOCZIIPONCP. This is the amount of workload that would have run on the zIIP engine, and would have appeared in &FOCZIIPCPU, had the zIIP been present and 100% accessible to FOCUS work.


Information Builders