Copyright 2009, Information Builders. Slide 1
Joel StarkmanDirector of Operations, FOCUS
DivisionInformation Builders, Inc.
October, 2009
FOCUS Support for the zIIP Specialty Engine
What does a term mean? Click on Click it again to remove it.
zIIP support available in FOCUS release 7.6.10
WebFOCUS release 7.7
Copyright 2007, Information Builders. Slide 2
FOCUS and the zIIP Specialty EngineWhy are we interested in the zIIP?
What is important to mainframe FOCUS and WebFOCUS customers?
Reduce/stabilize cpu charges to IBM for equivalent work
Reduced execution time for batch windows and response time
Functional consistency of the application with prior releases
New features consistent between FOCUS and WebFOCUS
Solid customer service
What is important to mainframe FOCUS and WebFOCUS customers?
Reduce/stabilize cpu charges to IBM for equivalent work
Reduced execution time for batch windows and response time
Functional consistency of the application with prior releases
New features consistent between FOCUS and WebFOCUS
Solid customer service
Our enablement of the zIIP Specialty Engine is critical to addressing this key customer concernOur enablement of the zIIP Specialty Engine is
critical to addressing this key customer concern
Reduce/stabilize cpu charges to IBM
Reduce/stabilize cpu charges to IBM
Reduce/stabilize cpu charges to IBM
Copyright 2007, Information Builders. Slide 3
FOCUS and the zIIP Specialty EngineSo why zIIP?
zIIP does not count toward overall MIPS rating of the machine
May avoid/delay Central Processor (CP) or machine upgrade
No IBM charges for eligible workload CPU utilization on zIIP
Improves resource optimization by reducing latent workload demand which the CP can now absorb
May stimulate some visible performance improvement
zIIP does not count toward overall MIPS rating of the machine
May avoid/delay Central Processor (CP) or machine upgrade
No IBM charges for eligible workload CPU utilization on zIIP
Improves resource optimization by reducing latent workload demand which the CP can now absorb
May stimulate some visible performance improvement
“zIIP”: System z Integrated Information Processor
Copyright 2007, Information Builders. Slide 4
FOCUS and the zIIP Specialty EnginezIIP Reduces FOCUS Usage on Chargeable CPU
Use zIIP No zIIPBenchmark Case zIIP CP CP Offload
FOCUS file w/FOCUS sort 36.94 13.73 38.74 65%
FOCUS file to EXCEL 52.11 7.45 60.89 88%
FOCUS file w/DFSORT 18.14 19.35 27.47 30%
VSAM file w/FOCUS sort 39.57 18.47 59.56 69%
DB2 file w/DB2 sort 49.22 18.03
Flat file w/FOCUS sort 45.26 13.22 47.98 73%
IMS file w/FOCUS sort 0.16 69.19 69.59 1%
Use zIIP No zIIPBenchmark Case zIIP CP CP Offload
FOCUS file w/FOCUS sort 36.94 13.73 38.74 65%
FOCUS file to EXCEL 52.11 7.45 60.89 88%
FOCUS file w/DFSORT 18.14 19.35 27.47 30%
VSAM file w/FOCUS sort 39.57 18.47 59.56 69%
DB2 file w/DB2 sort 49.22 18.03
Flat file w/FOCUS sort 45.26 13.22 47.98 73%
IMS file w/FOCUS sort 0.16 69.19 69.59 1%
Benchmark* of zIIP Processing (cpusec)
Scenario
SUM 4 million records
BY down to 184,341 lines
DEFINEs, COMPUTEs
Scenario
SUM 4 million records
BY down to 184,341 lines
DEFINEs, COMPUTEs
DB2 zIIP usage determined by configuration relative to FOCUS
(FOCUS had 100% of zIIP capacity)
FOCUS zIIP Monitor prevented CP cost overrun due to excessive IMS I/O overhead
Values are in CPU seconds
Copyright 2007, Information Builders. Slide 5
FOCUS and the zIIP Specialty Engine zIIP Reduces FOCUS Usage on Chargeable CPU
Use zIIP No zIIP Benchmark Case zIIP CP CP Offload
Executive Summary 2.49 0.91 3.91 77% (roll-up, out to PDF)
Operational Report 3.18 1.82 5.08 64% (medium size)
Extract File 5.99 2.93 8.69 66% (show 100% of file)
Exception Report 1.10 0.86 1.75 51% (extract few records)
Use zIIP No zIIP Benchmark Case zIIP CP CP Offload
Executive Summary 2.49 0.91 3.91 77% (roll-up, out to PDF)
Operational Report 3.18 1.82 5.08 64% (medium size)
Extract File 5.99 2.93 8.69 66% (show 100% of file)
Exception Report 1.10 0.86 1.75 51% (extract few records)
Benchmark* of zIIP Processing (cpusec)
Scenario
FOCUS file
1 million records
Scenario
FOCUS file
1 million records(FOCUS had 100% of zIIP capacity)
Values are in CPU seconds
Copyright 2007, Information Builders. Slide 6
FOCUS and the zIIP Specialty Engine Inside the IBM Mainframe
IBM System z10 Business Class
IBM System z9 BC IBM System z10 EC or IBM System z9 EC
IBM MainframeIBM Mainframe
CP Central Processor
zIIP system z Integrated
Information Processor
A mainframe comprises many chips, some of which are activated zIIP chips are available for z9, z10
mainframes with z/OS 1.8+; DB2V9(IBM has PTFs for z/OS 1.6, 1.7, and DB2 V8)
Copyright 2007, Information Builders. Slide 7
FOCUS and the zIIP Specialty Engine IBM’s Other Specialty Engines
IBM MainframeIBM Mainframe
Linux Java, XML
Other types of chips
I/O
May run at 100% of capacity
Always 100% of capacity
IBM permits 1 zIIP per CP
IBM permits 1 zIIP per CP
Copyright 2007, Information Builders. Slide 8
FOCUS and the zIIP Specialty Engine Workload Manager
IBM MainframeIBM Mainframe
Oper SystemTCP/IP
1000’s Jobs DB2
FOCUSUtilities
No OS No TCP/IPNo Jobs
DB2FOCUS
Some Utilities
zIIP offloads work initiated by the CP
Workload ManagerGuides the dispatching of
work to all processors, based on performance
goals set by the System Administrator
Copyright 2007, Information Builders. Slide 9
IBM MainframeIBM Mainframe
FOCUS and the zIIP Specialty Engine zIIP Allows Central Processor To Do More Work
Work
Central Processor can take on more work
Workload Manager and Dispatcher
Queued workload
Copyright 2007, Information Builders. Slide 10
FOCUS and the zIIP Specialty Engine Central Processor vs zIIP – Comparison Chart
CP zIIPInitiates processes Yes Never
Executes workloads All types Eligible types
Incurs CPU charges Always Never
Runs at mfg’s 100% clock speed Often/Usually Always
Runs operating system and TCP/IP Yes No
Number of chips permitted by IBMsystem capacity one per CP
Code/enclave runs in: TCB mode SRB mode
Relative cost to buy from IBM $1.00 $0.25
CP zIIPInitiates processes Yes Never
Executes workloads All types Eligible types
Incurs CPU charges Always Never
Runs at mfg’s 100% clock speed Often/Usually Always
Runs operating system and TCP/IP Yes No
Number of chips permitted by IBMsystem capacity one per CP
Code/enclave runs in: TCB mode SRB mode
Relative cost to buy from IBM $1.00 $0.25
Copyright 2007, Information Builders. Slide 11
FOCUS also captures the amount of work that COULD have gone to the zIIP, had
more zIIP capacity been available
Workload Manager (WLM) controls which workloads get priority access to zIIP
FOCUS and the zIIP Specialty Engine zIIP Access Controlled by Workload Manager
FOCUS enables zIIP at startup after several
verification steps
Copyright 2007, Information Builders. Slide 12
FOCUS and the zIIP Specialty Engine zIIP-Enabled Mainframe Products Today
DB2
Oracle
Syncsort
CA IDMS
CA Datacom
BMC Software
DataDirect Shadow
Neon Eclipse utilities
CA Netmaster and other CA utilities
DB2
Oracle
Syncsort
CA IDMS
CA Datacom
BMC Software
DataDirect Shadow
Neon Eclipse utilities
CA Netmaster and other CA utilities
Growing list of zIIP-enabled
products
FOCUS will most likely not be the first zIIP-enabled product installed at a site
System Administrators are likely to be aware of zIIP-enabling system requirements at their site
FOCUS will most likely not be the first zIIP-enabled product installed at a site
System Administrators are likely to be aware of zIIP-enabling system requirements at their site
Many mainframe customers already have zIIP processors for other production processing
Copyright 2007, Information Builders. Slide 13
FOCUS and the zIIP Specialty EnginezIIP Reduces CPU Charges on FOCUS Usage
Significant FOCUS execution occurs on the zIIP
Computations Report formatting
Aggregation Screening criteria
Styling Transaction processing
Significant FOCUS execution occurs on the zIIP
Computations Report formatting
Aggregation Screening criteria
Styling Transaction processing
* Will vary with the needs of the specific task and on local
Workload Manager goal settings
FOCUS customers should experience about a 30-80% cpu cost reduction*
zIIP support available in FOCUS release 7.6.10
WebFOCUS release 7.7
Copyright 2007, Information Builders. Slide 14
FOCUS Activities that are not yet zIIP’able as of 7.6.10
SU MSO HLI Hiperspace Subsystem
Copyright 2007, Information Builders. Slide 15
FOCUS and the zIIP Specialty EnginezIIP Reduces CPU Charges on FOCUS Usage
Two types of work must be performed on the CP*
I/O, including database calls and file access FOCUS buffers records where possible to minimize the effect
Calls to 3rd-party software (like Syncsort) or non-IBI subroutines They might actually be enabled and execute on the zIIP
FOCUS will always divert as much as possible to the zIIP.
FOCUS will monitor and adjust for optimum zIIP utilization.
FOCUS will always divert as much as possible to the zIIP.
FOCUS will monitor and adjust for optimum zIIP utilization.
*due to IBM specifications
“Usually better, never worse”
Copyright 2007, Information Builders. Slide 16
FOCUS and the zIIP Specialty EngineFOCUS Startup and User Control
When SET ZIIP=ON is issued, FOCUS verifies that:• Site’s license says zIIP may be used
• All concatenated libraries are APF-authorized
• zIIP is accessible from this lpar (SRB enclave is built)
All criteria pass?ZIIP is turned ON
Any criteria fails? ZIIP remains OFF; all work will occur on CP
Customer may issue SET ZIIP=OFF Subsequent work occurs on CP only zIIP statistics are still cumulative for the session
When SET ZIIP=ON is issued, FOCUS verifies that:• Site’s license says zIIP may be used
• All concatenated libraries are APF-authorized
• zIIP is accessible from this lpar (SRB enclave is built)
All criteria pass?ZIIP is turned ON
Any criteria fails? ZIIP remains OFF; all work will occur on CP
Customer may issue SET ZIIP=OFF Subsequent work occurs on CP only zIIP statistics are still cumulative for the session
APF-Authorized Library
Many system functions, such as entire supervisor calls (SVC) or special paths through SVCs, are sensitive. Access to these functions must be restricted to authorized programs to avoid compromising the security and integrity of the system.
An APF-authorized Library contains authorized load modules which the Authorized Program Facility (APF) will permit an authorized program to load.
Copyright 2007, Information Builders. Slide 17
FOCUS and the zIIP Specialty Engine zIIP Statistics in FOCUS
New &variables
&FOCCPU time spent on Central Processor (existing &)
&FOCZIIPCPU time actually spent on zIIP (in SRB mode)
&FOCZIIPONCP time enabled for zIIP but not permitted to run there by Workload Manager / Dispatcher
FOCLOG Retention of zIIP Statistics
FOCLOG expanded to capture zIIP statistics time actually spent on zIIP time enabled for zIIP but not permitted to run there
Captured for entire session and for every commandSite Analyzer also captures zIIP information
Copyright 2007, Information Builders. Slide 18
FOCUS and the zIIP Specialty Engine Upgrading to 7.6.10 from prior releases
The FOCUS 7.6 product line is:Battle tested by customers for over 3 years Installed at hundreds of sites worldwideThe most thoroughly tested release everAlready 20+% faster due to new IBM-C compiler
The zIIP further enhances that with a shift of workload
Moving up from 7.3? 7.2? 7.1? 7.0.9? 7.0.8R?See our presentations covering 100’s of new features and known product changes so your applications continue to run smoothly
FOCUS and the zIIP Specialty Engine WebFOCUS Console for zIIP Statistics
Copyright 2007, Information Builders. Slide 20Let’s not
Let’s look deeper inside the zIIP engine
FOCUS work that cannot execute on the zIIP: No unauthorized modules (must execute in supervisor state) No I/O interrupts No clock timer interrupts No SVC calls like ENQ/DEQ No message-, print- or recover-operations Limited system services
FOCUS code must flip between TCB and SRB modes Flip to TCB to perform I/O, user routines, system sort, etc.
These may flip to SRB mode by themselves if zIIP-enabled Users may not tune, intervene, nor even be aware of zIIP activity
FOCUS work that cannot execute on the zIIP: No unauthorized modules (must execute in supervisor state) No I/O interrupts No clock timer interrupts No SVC calls like ENQ/DEQ No message-, print- or recover-operations Limited system services
FOCUS code must flip between TCB and SRB modes Flip to TCB to perform I/O, user routines, system sort, etc.
These may flip to SRB mode by themselves if zIIP-enabled Users may not tune, intervene, nor even be aware of zIIP activity
Let’s look deeper inside the zIIP Specialty Engine
FOCUS work that cannot execute on the zIIP: No unauthorized modules (must execute in supervisor state) No I/O interrupts No clock timer interrupts No SVC calls like ENQ/DEQ No message-, print- or recover-operations Limited system services
FOCUS code must flip between TCB and SRB modes Flip to TCB to perform I/O, user routines, system sort, etc.
These may flip to SRB mode by themselves if zIIP-enabled Users may not tune, intervene, nor even be aware of zIIP activity
FOCUS work that cannot execute on the zIIP: No unauthorized modules (must execute in supervisor state) No I/O interrupts No clock timer interrupts No SVC calls like ENQ/DEQ No message-, print- or recover-operations Limited system services
FOCUS code must flip between TCB and SRB modes Flip to TCB to perform I/O, user routines, system sort, etc.
These may flip to SRB mode by themselves if zIIP-enabled Users may not tune, intervene, nor even be aware of zIIP activity
Copyright 2007, Information Builders. Slide 21
zIIP may be too full right now to access from TCB Island Look at &FOCZIIPONCP
Switching from TCB Mode (CP) to SRB Mode (zIIP)
Pay ‘switch’ toll in both directions Toll may increase or decrease with
frequency of travel Tolls may add up so much that zIIP
Monitor says you might as well stay on TCB Island
Island switching for: Each I/O action Each call to 3rd party software Each call to non-IBI subroutines
Dispatcher / Workload Manager
Copyright 2007, Information Builders. Slide 22
End-of-Job Statistics (at IBI)Customer may show their own statistics
******************************************************************************* * INFORMATION BUILDERS * STEP TERMINATION STATISTICS * * STEP NAME FOCUS START TIME 15:38:12.25 VIRT SYS USED 320K * PROGRAM NAME FOCUS STOP TIME 15:39:20.77 VIRT CORE USED 124K * DISPATCH PRIORITY 0 ELAPS TIME 00:01:08.52 SWAP COUNT 0 * LPA+CSA PAGE-INS 0 HIPER+DATA SPACE (HI-WATER MARK) 0M * PERFORMANCE GROUP 0 SERV UNITS 319,169 * MAIN STG UNITS 122,822 CPU UNITS 191,474 SRB UNITS 1,212 * ZIIP 00:00:05.93 ZIIP vs CP 00:00:16.44 ZIIP ON CP 00:00:00.00 ******************************************************************************
***************************************************** * * * PAGE INS 0 STEP CPU 00:00:00.86 * PAGE OUTS 0 JOB CPU 00:00:00.86 * NUMBER PAGES 0 SRB TIME 00:00:00.11 * EXP PAGE-OUTS 0 * TRN TIME 00:01:03.30 * I/O UNITS 3,661 COMPLETION CODE R0000 * ZIIP ENCLV 00:00:00.00 IIP DEP ENCLV 00:00:05.93 ******************************************************
******************************************************************************* * INFORMATION BUILDERS * STEP TERMINATION STATISTICS * * STEP NAME FOCUS START TIME 15:38:12.25 VIRT SYS USED 320K * PROGRAM NAME FOCUS STOP TIME 15:39:20.77 VIRT CORE USED 124K * DISPATCH PRIORITY 0 ELAPS TIME 00:01:08.52 SWAP COUNT 0 * LPA+CSA PAGE-INS 0 HIPER+DATA SPACE (HI-WATER MARK) 0M * PERFORMANCE GROUP 0 SERV UNITS 319,169 * MAIN STG UNITS 122,822 CPU UNITS 191,474 SRB UNITS 1,212 * ZIIP 00:00:05.93 ZIIP vs CP 00:00:16.44 ZIIP ON CP 00:00:00.00 *******************************************************************************
Un-normalized (real speed)
No & variable
Normalized to CP speed
&FOCZIIPCPU
zIIP’ed but not run on zIIP
&FOCZIIPONCP
CP cpu includes ZIIP ON CP &FOCCPU
PAGE INS 0 STEP CPU 00:00:00.86 * PAGE OUTS 0 JOB CPU 00:00:00.86 * NUMBER PAGES 0 SRB TIME 00:00:00.11 * EXP PAGE-OUTS 0 * TRN TIME 00:01:03.30 * I/O UNITS 3,661 COMPLETION CODE R0000 * ZIIP ENCLV 00:00:00.00 IIP DEP ENCLV 00:00:05.93 ******************************************************
Copyright 2007, Information Builders. Slide 23
Installation/Upgrade IssueNew FOCUS License File for 7.6.10+
New for FOCUS 7.6.10 and onward Replaces zapped license string -- but not yet Content is encoded, but character-based for portability Also contains unencoded text of what is licensed FOCUS 7.6.10 ships with default license file
User sees error about obtaining license via email Put license file from email attachment into file named
FLICENSE in ERRORS Do not touch the content. Encoded, highly positional
New for FOCUS 7.6.10 and onward Replaces zapped license string -- but not yet Content is encoded, but character-based for portability Also contains unencoded text of what is licensed FOCUS 7.6.10 ships with default license file
User sees error about obtaining license via email Put license file from email attachment into file named
FLICENSE in ERRORS Do not touch the content. Encoded, highly positional
Copyright 2007, Information Builders. Slide 24
FOCUS License File
License file identifies: Expiration Date, if any Grace Period, if any
for: Site Each licensed FEATURE (only for ZIIP right now) Each licensed CPU (none right now) Each licensed LPAR (none right now) “ALL OTHERS” that are not explicitly mentioned,
for each of: FEATURE, CPU and LPAR
License file identifies: Expiration Date, if any Grace Period, if any
for: Site Each licensed FEATURE (only for ZIIP right now) Each licensed CPU (none right now) Each licensed LPAR (none right now) “ALL OTHERS” that are not explicitly mentioned,
for each of: FEATURE, CPU and LPAR
FOCUS will enforce these zIIP license contract conditions
Copyright 2007, Information Builders. Slide 25
FOCUS License File
-* FOCUS license for site 9999.01 created on 07/24/09 at 16.30.32 -*SITECODE 9999.01 LICENSED PERPETUALLY -*UNLICENSED CPUS ALLOWED TO RUN PERPETUALLY -*FEATURE ZIIP LICENSED UNTIL 20091025; GRACE PERIOD UNTIL 20091124 -*OTHER FEATURES LICENSED PERPETUALLY C4E4D4D4E840E3C5E7E3404040404040404040404040404040404040404040404040404040C4E4D4D4E840E3C5E7E3404040404040404040404040404040404040404040404040404040C4E4D4D4E840E3C5E7E3404040404040404040404040404040404040404040404040404040C4E4D4D4E840E3C5E7E3404040404040404040404040404040404040404040404040404040C4E4D4D4E840E3C5E7E3404040404040404040404040404040404040404040404040404040C4E4D4D4E840E3C5E7E3404040404040404040404040404040404040404040404040404040C4E4D4D4E840E3C5E7E3404040404040404040404040404040404040404040404040404040C4E4D4D4E840E3C5E7E3404040404040404040404040404040404040404040404040404040C4E4D4D4E840E3C5E7E3404040404040404040404040404040404040404040404040404040
Sample License File (assume today is 7/24/2009)
Unencoded header record
Unencoded detail records Encoded
detail records
Encoded lines shown here are not actual
encoded strings
Copyright 2007, Information Builders. Slide 26
License Startup Messages
YOU ARE USING A NON-AUTHORIZED LIBRARY; ZIIP WILL NOT BE USED
CANNOT BUILD ENCLAVE; ZIIP WILL NOT BE USED
(FOC32598) LICENSING FILE CONTAINS INVALID INFORMATION(FOC32589) EXECUTION TERMINATED
(FOC32599) WARNING! YOU ARE USING AN UNLICENSED PRODUCT: FOCUS(FOC32592) EXECUTION REMAINS ENABLED PERPETUALLY
(FOC32588) LICENSE EXPIRATION DATE: 20001231(FOC32590) EXECUTION REMAINS ENABLED UNTIL: 20991231(FOC32591) EXECUTION WAS ENABLED UNTIL: 20081231
(FOC32593) WARNING! YOU ARE USING AN UNLICENSED FEATURE: ZIIP(FOC32595) FEATURE REMAINS ENABLED PERPETUALLY(FOC32579) ZIIP WILL NOT BE ACCESSED. LICENSE FOR ZIIP EXPIRED
YOU ARE USING A NON-AUTHORIZED LIBRARY; ZIIP WILL NOT BE USED
CANNOT BUILD ENCLAVE; ZIIP WILL NOT BE USED
(FOC32598) LICENSING FILE CONTAINS INVALID INFORMATION(FOC32589) EXECUTION TERMINATED
(FOC32599) WARNING! YOU ARE USING AN UNLICENSED PRODUCT: FOCUS(FOC32592) EXECUTION REMAINS ENABLED PERPETUALLY
(FOC32588) LICENSE EXPIRATION DATE: 20001231(FOC32590) EXECUTION REMAINS ENABLED UNTIL: 20991231(FOC32591) EXECUTION WAS ENABLED UNTIL: 20081231
(FOC32593) WARNING! YOU ARE USING AN UNLICENSED FEATURE: ZIIP(FOC32595) FEATURE REMAINS ENABLED PERPETUALLY(FOC32579) ZIIP WILL NOT BE ACCESSED. LICENSE FOR ZIIP EXPIRED
Copyright 2007, Information Builders. Slide 27
APF Authorization
FOCUS module is shipped APF-authorized (AC flag set to 1) All load libraries invoked on the zIIP must be APF-authorized
STEPLIB concatenation USERLIB - All non-IBI user function libraries must be authorized
On startup, if an unauthorized library is detected, FOCUS starts unauthorized, sets ZIIP=OFF and runs everything on CP Could be done intentionally to force no zIIP
TSO - SysAdmin must make “FOCUS” a TSO-authorized command Limitation - If you execute FOCUS from ISPF option 6, you will not be
able to issue TSO ISPF or IEDIT from within FOCUS Suggestion - Customer could keep an unauthorized copy of FOCLIB,
just in case
FOCUS module is shipped APF-authorized (AC flag set to 1) All load libraries invoked on the zIIP must be APF-authorized
STEPLIB concatenation USERLIB - All non-IBI user function libraries must be authorized
On startup, if an unauthorized library is detected, FOCUS starts unauthorized, sets ZIIP=OFF and runs everything on CP Could be done intentionally to force no zIIP
TSO - SysAdmin must make “FOCUS” a TSO-authorized command Limitation - If you execute FOCUS from ISPF option 6, you will not be
able to issue TSO ISPF or IEDIT from within FOCUS Suggestion - Customer could keep an unauthorized copy of FOCLIB,
just in case
Copyright 2007, Information Builders. Slide 28
Simulate zIIP usage to estimate need
Don’t have a zIIP at your site?
Put in sys1.parmlib:
PROJECTCPU=YES
Makes FOCUS think zIIP is there Auto-turns on SIMMAXZIIP All zIIP usage goes to
&FOCZIIPONCP
zIIP usage would have been:
&FOCZIIPCPU(0) + &FOCZIIPONCP
Don’t have a zIIP at your site?
Put in sys1.parmlib:
PROJECTCPU=YES
Makes FOCUS think zIIP is there Auto-turns on SIMMAXZIIP All zIIP usage goes to
&FOCZIIPONCP
zIIP usage would have been:
&FOCZIIPCPU(0) + &FOCZIIPONCP
FOCUS not using enough zIIP?
SET ZIIP=OFF
SET ZIIP=ON/SIMMAXZIIP
Simulates job running as if zIIP had full capacity
Monitor allows zIIP usage to continue longer, even though it is not effective at that moment
zIIP usage would have been:
&FOCZIIPCPU + &FOCZIIPONCP
FOCUS not using enough zIIP?
SET ZIIP=OFF
SET ZIIP=ON/SIMMAXZIIP
Simulates job running as if zIIP had full capacity
Monitor allows zIIP usage to continue longer, even though it is not effective at that moment
zIIP usage would have been:
&FOCZIIPCPU + &FOCZIIPONCP
Copyright 2007, Information Builders. Slide 29
Workload Manager – Quick Concepts
Response time goalsAverage response time goal – Average time in which any job
must complete (skewed by long running jobs)Percentile response time goal – Percent of all work requests
which must complete within a predefined time limit (say 90%) Discretionary Goals – Perform specific workloads only when
resources are available, and preempt in favor of other workloads Velocity Goals – For infrequent and long running workloads,
process when it is ready or just keep it moving toward completion
Response time goalsAverage response time goal – Average time in which any job
must complete (skewed by long running jobs)Percentile response time goal – Percent of all work requests
which must complete within a predefined time limit (say 90%) Discretionary Goals – Perform specific workloads only when
resources are available, and preempt in favor of other workloads Velocity Goals – For infrequent and long running workloads,
process when it is ready or just keep it moving toward completion
WLM makes a contract between the user and the OS to run work across a parallel sysplex in distinct service classes and with defined goals.
WLM samples the system every 250ms to derive a Performance Index (PI) to measure goal achievement.
Copyright 2007, Information Builders. Slide 30
Workload Manager/Dispatcher – Routes work to zIIP
Execution Velocity Goal
VELOCITY = CPU used / (CPU used + CPU delay) *100 Velocity 100 implies no delay is acceptable; highest priority Velocity <100 implies potentially longer processing time
Declarable choices for zIIP-enabled work:Always wait for zIIP; do not run zIIP-able code on CPTry several times, then give up and run on CP
Execution Velocity Goal
VELOCITY = CPU used / (CPU used + CPU delay) *100 Velocity 100 implies no delay is acceptable; highest priority Velocity <100 implies potentially longer processing time
Declarable choices for zIIP-enabled work:Always wait for zIIP; do not run zIIP-able code on CPTry several times, then give up and run on CP
WLM dispatches work to all processors based on a performance goal algorithm,
tuned by local system administrator
Copyright 2007, Information Builders. Slide 31
FOCUS and the zIIP Specialty Engine Some zIIP-related Terminology
Velocity The acceptable amount of delay a process can be allow toincur when competing for execution among other tasks
Preemptible Allows the Dispatcher to interrupt a task at any time to run other work at the same or higher dispatching priority; Non-preemptible units (such as local SRBs), once dispatched, continue to run until they complete or incur a voluntary interrupt, like suspend/page fault
TCB Task Control Block - dispatchable unit (DU) runs at dispatching priority of address space; preemptible (non-zIIP)
SRB Service Request Block - dispatchable unit (DU) runs at supervisory priority; not preemptible (zIIP-able)
Enclave Entity that encapsulates the execution units (TCBs and SRBs) which execute programs on behalf of the same work request
Client SRB Created and executed like an ordinary SRB but runs with client (scheduler) dispatching priority and is preemptible
Enclave SRB Created and executed like an ordinary SRB but runs with Enclave dispatching priority and is preemptible
Enclave Service Enable workload manager to create and control enclaves
Velocity The acceptable amount of delay a process can be allow toincur when competing for execution among other tasks
Preemptible Allows the Dispatcher to interrupt a task at any time to run other work at the same or higher dispatching priority; Non-preemptible units (such as local SRBs), once dispatched, continue to run until they complete or incur a voluntary interrupt, like suspend/page fault
TCB Task Control Block - dispatchable unit (DU) runs at dispatching priority of address space; preemptible (non-zIIP)
SRB Service Request Block - dispatchable unit (DU) runs at supervisory priority; not preemptible (zIIP-able)
Enclave Entity that encapsulates the execution units (TCBs and SRBs) which execute programs on behalf of the same work request
Client SRB Created and executed like an ordinary SRB but runs with client (scheduler) dispatching priority and is preemptible
Enclave SRB Created and executed like an ordinary SRB but runs with Enclave dispatching priority and is preemptible
Enclave Service Enable workload manager to create and control enclaves
Copyright 2007, Information Builders. Slide 32
FOCUS and the zIIP Specialty EngineRecap from Cruising Altitude
A zIIP is almost entirely a cost saving mechanism. CPU usage is not counted toward the maximum observed capacity of an LPAR.
50-80% cost reduction due to zIIP is applicable to both FOCUS and WebFOCUS on the mainframe.
A zIIP chip is identical to a Central Processor chip when shipped from the IBM factory. At installation time, its microcode is changed to restrict its capabilities to those definable as a zIIP.
A zIIP always runs at 100% speed. A Central Processor’s speed may be stepped down for cost saving considerations.
I/O is not performed on the zIIP. No program runs entirely on zIIP; the zIIP absorbs sub-task work from the Central Processors (CP), and only what it is enabled to perform.
FOCUS calls all non-IBI services from CP (system sort, non-FOCUS database products, all customer-written functions) as if they are not zIIP-enabled. They then might execute on the zIIP.
The degree of zIIP usage is largely site dependent. Although a program may be zIIP-enabled, Workload Manager drives the Dispatcher to determine at each execution whether or not to direct any or all of the program to the zIIP, based on settable system performance expectations and on available capacity at that moment.
A zIIP is almost entirely a cost saving mechanism. CPU usage is not counted toward the maximum observed capacity of an LPAR.
50-80% cost reduction due to zIIP is applicable to both FOCUS and WebFOCUS on the mainframe.
A zIIP chip is identical to a Central Processor chip when shipped from the IBM factory. At installation time, its microcode is changed to restrict its capabilities to those definable as a zIIP.
A zIIP always runs at 100% speed. A Central Processor’s speed may be stepped down for cost saving considerations.
I/O is not performed on the zIIP. No program runs entirely on zIIP; the zIIP absorbs sub-task work from the Central Processors (CP), and only what it is enabled to perform.
FOCUS calls all non-IBI services from CP (system sort, non-FOCUS database products, all customer-written functions) as if they are not zIIP-enabled. They then might execute on the zIIP.
The degree of zIIP usage is largely site dependent. Although a program may be zIIP-enabled, Workload Manager drives the Dispatcher to determine at each execution whether or not to direct any or all of the program to the zIIP, based on settable system performance expectations and on available capacity at that moment.
Copyright 2009, Information Builders. Slide 33
Thank You
FOCUS Support for the zIIP Specialty Engine
zIIP support available in FOCUS release 7.6.10
WebFOCUS release 7.7