SlideShare a Scribd company logo
What's New With Coupling Facility CPU

Martin Packer
martin_packer@uk.ibm.com
+44­7802­245584
Twitter: MartinPacker




   © 2009 IBM Corporation               1
Abstract
    Recently RMF's reporting of Coupling Facility CPU was enhanced,
    mainly to give more granularity.



    This presentation outlines the author's experience with this important
    new instrumentation, both from the perspective of Capacity Planning
    and from the perspective of how parallel sysplexes perform under
    increasing load. It also covers other areas of Parallel Sysplex
    performance.


    IN CASE YOU WERE IN ANY DOUBT: “other areas” does not mean “ALL
    other areas”. :-)




2                                                                  © 2009 IBM Corporation
Topics

     Structure-Level CPU
      – Structure CPU Experiment
     CPU / LPAR Match Up Between 70-1 and 74-4
     Conclusings and Musions




3                                                 © 2009 IBM Corporation
Structure-Level CPU




 © 2009 IBM Corporation   4
Structure-Level CPU Consumption
     CFLEVEL 15 and z/OS R.9
       – Most customers are now this far advanced

     New SMF 74-4 Field: R744SETM
       – “Structure Execution Time”
     Always 100% Capture Ratio
       – Adds up to R744PBSY
     Multiple uses:
       – Capacity planning for changing request rates
       – Examine which structures are large consumers
       – Compute CPU cost of a request
           • And compare to service time
           • Interesting number is “non-CPU” element of service time - as we shall see
       – Understand whether CPU per request has degraded
       – Estimating Structure Duplexing cost

     NOTE:
       – Need to collect 74-4 data from all z/OS systems sharing to get total request rate
           • Otherwise “CPU per request” calculation will overestimate

5                                                                                            © 2009 IBM Corporation
Structure CPU Experiment




6                          © 2009 IBM Corporation
Structure CPU Experiment
     Based on
       – R744SETM Structure Execution Time
       – Sync Request Rate
          • Virtually no Async
       – Sync Service Time
     One minute RMF intervals
       – Sorted by request rate increasing
     Run was 1-way DB2 Datasharing
       – Only really active structures ISGLOCK and LOCK1
     Red lines are CPU time per request
       – Blue lines are Service time per request
     ISGLOCK “low volume”
       – Shows amortization of some fixed cost effect
          • Wondering also if some “practice effect” affects service times
       – CF used IC links
     LOCK1 “high volume”
       – More reliable for capacity planning
       – CF used a mixture of ISC and ICB links



7                                                                            © 2009 IBM Corporation
ISGLOCK Requests

               16
               14
               12
Microseconds




               10
                8
                6
                                                                    3us?
                4
                2
                0
                    0   10   20         30        40           50          60                70
                                      Requests / Second

                                    CPU Time    Service Time
  8                                                                        © 2009 IBM Corporation
LOCK1 Requests

               12

               10

                8
Microseconds




                6

                4                                       3.5us?

                2

                0
                 750   800                 850          900
                               Requests / Second

                             CPU Time    Service Time
  9                                                      © 2009 IBM Corporation
And From My Travels...
      Next chart isn't from the experiment just described
       – A real customer system
      A Group Buffer Pool
      ISC-Connected
       – Necessary for the customer's estate
      Clearly something goes wrong at about 1100 requests / second
       – Especially in response time terms but also CPU
          • (Coupling Facility not CPU constrained)
      Options include
       – Managing the request rate to below 1100 / sec
       – Working on the request mix
       – Infrastructure reconfiguration

10                                                               © 2009 IBM Corporation
25us?




11           © 2009 IBM Corporation
CPU / LPAR Match Up Between 
             70­1 and 74­4



12                           © 2009 IBM Corporation
Internal Coupling Facility - Basics
 ●
     Managed out of Pool 5 in z9 and z10
     ●
         Pool numbers given in SMF 70 as index into table of labels
     ●
         Recommendation: Manage in reporting as a separate pool
 ●
     Follow special CF sizing guidelines
     ●
         Especially for takeover situations
 ●
     Always runs at full speed
     ●
         So good technology match for coupled z/OS images on same footprint
     ●
         Another good reason to use ICFs is IC links
 ●
     Shared ICFs strongly discouraged for Production
     ●
         Especially if the CF image has Dynamic Dispatch turned on
 ●
     Should not run ANY coupling facility above 50% busy
     ●
         Especially if we need to be able to recover structures onto it
13                                                                        © 2009 IBM Corporation
ICF CPU Instrumentation
 SMF 74­4 view different from SMF 70­1 LPAR view of processor busy
    •R744PBSY is CPU time processing requests
     •R744PWAI is CPU time while CFCC is not processing requests but it is still using CF 
     cycles
         •For Dynamic Dispatch PWAI is time when not processing CF requests but Logical 
         CP not yet taken back by PR/SM
     •For dedicated or non­Dynamic Dispatch cases sum is constant
         •For Dynamic Dispatch sum can vary.
 Number of defined processors is number of CF Processor Data sections in 74­4
    •Refined for CFLEVEL 15 by new fields for dedicated (R744FPDN) and shared 
    (R744FPSN) processors
    •Also whether individual engine is dedicated (R744PTYP) and its weight (R744PWGT)
 PBSY and PWAI Can be examined down to Coupling Facility engine level
 SMF 74­4 has much more besides CF CPU instrumentation




14                                                                            © 2009 IBM Corporation
CF LPAR Identification In SMF 70-1 Is Complex
      Need to match LPARs in SMF 70-1 with coupling
       facilities in SMF 74-4 to get proper CPU picture
      Since z/OS Release 8 74-4 has machine serial number
       – Allows correlation in most cases
       – But LPAR names and CF Names often don't match
       – Often multiple CF's in same footprint with similar
         configuration
       – Sometimes there are multiple CF's with the same name
       – My code – in extremis – uses the presence of IC links to
         determine “colocality”
       – I'm slowly learning :-) not all CF LPARs are in Pool 5

15                                                                © 2009 IBM Corporation
New Instrumentation - OA21140

      Introduced to support zHPF
       – Has other SMF and reporting improvements
         • HiperDispatch Vertical Polarisation indicators at ENGINE level
           – Type 70
         • Normalisation factor for zIIP – Type 70
      Adds CF LPAR Partition Number
       – Allows matching with SMF 70-1
      RMF Level (SMFxxSRL) changed to X'55'




16                                                                © 2009 IBM Corporation
Conclusings and Musions
      I think we've come a long way with Coupling Facility
       CPU
       – Capacity Planning is now down to the structure level
         • But not to the structure-by-system level
       – We can now tie up the Coupling Facility and LPAR views of
         CPU
         • With a few “corner cases”
      I'd encourage you to revisit your Parallel Sysplex
       reporting
       – Including for all the other aspects we didn't have time for
      Shouldn't machines be self-documenting in SMF?

17                                                              © 2009 IBM Corporation

More Related Content

PDF
DB2 Data Sharing Performance for Beginners
ODP
DB2 Data Sharing Performance
PDF
Parallel Sysplex Performance Topics
PPT
Parallel Sysplex Implement2
PDF
Munich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topics
PDF
Sysplex in a Nutshell
PDF
Motivations and Considerations for Migrating from SMTPD/Sendmail to CSSMTP
PDF
zIIP Capacity Planning
DB2 Data Sharing Performance for Beginners
DB2 Data Sharing Performance
Parallel Sysplex Performance Topics
Parallel Sysplex Implement2
Munich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topics
Sysplex in a Nutshell
Motivations and Considerations for Migrating from SMTPD/Sendmail to CSSMTP
zIIP Capacity Planning

What's hot (8)

PDF
DB2 for z/OS - Starter's guide to memory monitoring and control
PDF
Db2 for z/OS and FlashCopy - Practical use cases (June 2019 Edition)
PDF
Enabling Continuous Availability and Reducing Downtime with IBM Multi-Site Wo...
PDF
FlashCopy and DB2 for z/OS
PDF
zIIP Capacity Planning
PDF
DB2 for z/OS and DASD-based Disaster Recovery - Blowing away the myths
PPT
Introduction to FlashCopy
PDF
Parallel Batch Performance Considerations
DB2 for z/OS - Starter's guide to memory monitoring and control
Db2 for z/OS and FlashCopy - Practical use cases (June 2019 Edition)
Enabling Continuous Availability and Reducing Downtime with IBM Multi-Site Wo...
FlashCopy and DB2 for z/OS
zIIP Capacity Planning
DB2 for z/OS and DASD-based Disaster Recovery - Blowing away the myths
Introduction to FlashCopy
Parallel Batch Performance Considerations
Ad

Viewers also liked (14)

PDF
Báo Cáo Thự Tập ISA Server 2006
PDF
NVIDIA – Inventor of the GPU
PDF
Munich 2016 - Z011597 Martin Packer - How To Be A Better Performance Specialist
PPT
Bai 04 vi xu ly (cpu)
PDF
Chuong 1 tongquan
PPT
Bao cao full
PPT
Chuong02
 
PDF
Assembly
PPT
Cấu tạo và nguyên lý hoạt động cpu
PDF
Suy diễn thống kê và ngôn ngữ R (4): Phân tích phương sai (ANOVA)
PDF
Suy diễn thống kê và ngôn ngữ R (1): Tính toán xác suất và mô phỏng
PDF
đề Thi xác suất thống kê và đáp án
PDF
bai tap co loi giai xac suat thong ke
PPTX
OTOY Presentation - 2016 NVIDIA GPU Technology Conference - April 5 2016
Báo Cáo Thự Tập ISA Server 2006
NVIDIA – Inventor of the GPU
Munich 2016 - Z011597 Martin Packer - How To Be A Better Performance Specialist
Bai 04 vi xu ly (cpu)
Chuong 1 tongquan
Bao cao full
Chuong02
 
Assembly
Cấu tạo và nguyên lý hoạt động cpu
Suy diễn thống kê và ngôn ngữ R (4): Phân tích phương sai (ANOVA)
Suy diễn thống kê và ngôn ngữ R (1): Tính toán xác suất và mô phỏng
đề Thi xác suất thống kê và đáp án
bai tap co loi giai xac suat thong ke
OTOY Presentation - 2016 NVIDIA GPU Technology Conference - April 5 2016
Ad

Similar to Coupling Facility CPU (20)

PDF
Much Ado About CPU
PDF
Much Ado about CPU
PDF
Much Ado About CPU
PDF
Conceitos de Capacity Planning e Sysplex por Fernando Ferreira
PDF
Introduction to SCSI over FCP for Linux on System z
PPT
Technology
PPT
Technology
PPT
Technology
PDF
Performance Oriented Design
PDF
17294_HiperSockets.pdf
PPT
Relative Capacity por Eduardo Oliveira e Joseph Temple
PDF
z/OS Through V2R1Communications Server Performance Functions Update
PDF
Workload Groups overview updates
PDF
Linux on Z13 and Simulatenus Multithreading - Sebastien Llaurency
 
PDF
IBM z/VSE V4.3 - More capacity for growth
PDF
AIX Performance Tuning Session at STU2017
PDF
Memory Matters in 2011
PDF
IBM i Job wait accounting job watcher june 2012
PDF
z/VSE V5.1 Update
PDF
IBM z/VSE V4.3 in modern solutions with Linux on System z
Much Ado About CPU
Much Ado about CPU
Much Ado About CPU
Conceitos de Capacity Planning e Sysplex por Fernando Ferreira
Introduction to SCSI over FCP for Linux on System z
Technology
Technology
Technology
Performance Oriented Design
17294_HiperSockets.pdf
Relative Capacity por Eduardo Oliveira e Joseph Temple
z/OS Through V2R1Communications Server Performance Functions Update
Workload Groups overview updates
Linux on Z13 and Simulatenus Multithreading - Sebastien Llaurency
 
IBM z/VSE V4.3 - More capacity for growth
AIX Performance Tuning Session at STU2017
Memory Matters in 2011
IBM i Job wait accounting job watcher june 2012
z/VSE V5.1 Update
IBM z/VSE V4.3 in modern solutions with Linux on System z

More from Martin Packer (12)

PDF
zIIP Capacity Planning - May 2018
PDF
Even More Fun With DDF
PDF
Munich 2016 - Z011599 Martin Packer - More Fun With DDF
PDF
Munich 2016 - Z011598 Martin Packer - He Picks On CICS
PDF
Time For D.I.M.E?
ODP
DB2 Through My Eyes
ODP
Time For DIME
PDF
Life And Times Of An Address Space
PDF
I Know What You Did THIS Summer
PDF
I Know What You Did Last Summer
PDF
Optimizing z/OS Batch
PDF
Curt Cotner DDF Inactive Threads Support DB2 Version 3
zIIP Capacity Planning - May 2018
Even More Fun With DDF
Munich 2016 - Z011599 Martin Packer - More Fun With DDF
Munich 2016 - Z011598 Martin Packer - He Picks On CICS
Time For D.I.M.E?
DB2 Through My Eyes
Time For DIME
Life And Times Of An Address Space
I Know What You Did THIS Summer
I Know What You Did Last Summer
Optimizing z/OS Batch
Curt Cotner DDF Inactive Threads Support DB2 Version 3

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Big Data Technologies - Introduction.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Encapsulation theory and applications.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Machine learning based COVID-19 study performance prediction
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Approach and Philosophy of On baking technology
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
cuic standard and advanced reporting.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
KodekX | Application Modernization Development
PPTX
MYSQL Presentation for SQL database connectivity
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Unlocking AI with Model Context Protocol (MCP)
Big Data Technologies - Introduction.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
Encapsulation theory and applications.pdf
Encapsulation_ Review paper, used for researhc scholars
The Rise and Fall of 3GPP – Time for a Sabbatical?
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Machine learning based COVID-19 study performance prediction
NewMind AI Monthly Chronicles - July 2025
Approach and Philosophy of On baking technology
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Reach Out and Touch Someone: Haptics and Empathic Computing
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
cuic standard and advanced reporting.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
The AUB Centre for AI in Media Proposal.docx
KodekX | Application Modernization Development
MYSQL Presentation for SQL database connectivity

Coupling Facility CPU

  • 2. Abstract Recently RMF's reporting of Coupling Facility CPU was enhanced, mainly to give more granularity. This presentation outlines the author's experience with this important new instrumentation, both from the perspective of Capacity Planning and from the perspective of how parallel sysplexes perform under increasing load. It also covers other areas of Parallel Sysplex performance. IN CASE YOU WERE IN ANY DOUBT: “other areas” does not mean “ALL other areas”. :-) 2 © 2009 IBM Corporation
  • 3. Topics  Structure-Level CPU – Structure CPU Experiment  CPU / LPAR Match Up Between 70-1 and 74-4  Conclusings and Musions 3 © 2009 IBM Corporation
  • 4. Structure-Level CPU © 2009 IBM Corporation 4
  • 5. Structure-Level CPU Consumption  CFLEVEL 15 and z/OS R.9 – Most customers are now this far advanced  New SMF 74-4 Field: R744SETM – “Structure Execution Time”  Always 100% Capture Ratio – Adds up to R744PBSY  Multiple uses: – Capacity planning for changing request rates – Examine which structures are large consumers – Compute CPU cost of a request • And compare to service time • Interesting number is “non-CPU” element of service time - as we shall see – Understand whether CPU per request has degraded – Estimating Structure Duplexing cost  NOTE: – Need to collect 74-4 data from all z/OS systems sharing to get total request rate • Otherwise “CPU per request” calculation will overestimate 5 © 2009 IBM Corporation
  • 6. Structure CPU Experiment 6 © 2009 IBM Corporation
  • 7. Structure CPU Experiment  Based on – R744SETM Structure Execution Time – Sync Request Rate • Virtually no Async – Sync Service Time  One minute RMF intervals – Sorted by request rate increasing  Run was 1-way DB2 Datasharing – Only really active structures ISGLOCK and LOCK1  Red lines are CPU time per request – Blue lines are Service time per request  ISGLOCK “low volume” – Shows amortization of some fixed cost effect • Wondering also if some “practice effect” affects service times – CF used IC links  LOCK1 “high volume” – More reliable for capacity planning – CF used a mixture of ISC and ICB links 7 © 2009 IBM Corporation
  • 8. ISGLOCK Requests 16 14 12 Microseconds 10 8 6 3us? 4 2 0 0 10 20 30 40 50 60 70 Requests / Second CPU Time Service Time 8 © 2009 IBM Corporation
  • 9. LOCK1 Requests 12 10 8 Microseconds 6 4 3.5us? 2 0 750 800 850 900 Requests / Second CPU Time Service Time 9 © 2009 IBM Corporation
  • 10. And From My Travels...  Next chart isn't from the experiment just described – A real customer system  A Group Buffer Pool  ISC-Connected – Necessary for the customer's estate  Clearly something goes wrong at about 1100 requests / second – Especially in response time terms but also CPU • (Coupling Facility not CPU constrained)  Options include – Managing the request rate to below 1100 / sec – Working on the request mix – Infrastructure reconfiguration 10 © 2009 IBM Corporation
  • 11. 25us? 11 © 2009 IBM Corporation
  • 12. CPU / LPAR Match Up Between  70­1 and 74­4 12 © 2009 IBM Corporation
  • 13. Internal Coupling Facility - Basics ● Managed out of Pool 5 in z9 and z10 ● Pool numbers given in SMF 70 as index into table of labels ● Recommendation: Manage in reporting as a separate pool ● Follow special CF sizing guidelines ● Especially for takeover situations ● Always runs at full speed ● So good technology match for coupled z/OS images on same footprint ● Another good reason to use ICFs is IC links ● Shared ICFs strongly discouraged for Production ● Especially if the CF image has Dynamic Dispatch turned on ● Should not run ANY coupling facility above 50% busy ● Especially if we need to be able to recover structures onto it 13 © 2009 IBM Corporation
  • 14. ICF CPU Instrumentation SMF 74­4 view different from SMF 70­1 LPAR view of processor busy •R744PBSY is CPU time processing requests •R744PWAI is CPU time while CFCC is not processing requests but it is still using CF  cycles •For Dynamic Dispatch PWAI is time when not processing CF requests but Logical  CP not yet taken back by PR/SM •For dedicated or non­Dynamic Dispatch cases sum is constant •For Dynamic Dispatch sum can vary. Number of defined processors is number of CF Processor Data sections in 74­4 •Refined for CFLEVEL 15 by new fields for dedicated (R744FPDN) and shared  (R744FPSN) processors •Also whether individual engine is dedicated (R744PTYP) and its weight (R744PWGT) PBSY and PWAI Can be examined down to Coupling Facility engine level SMF 74­4 has much more besides CF CPU instrumentation 14 © 2009 IBM Corporation
  • 15. CF LPAR Identification In SMF 70-1 Is Complex  Need to match LPARs in SMF 70-1 with coupling facilities in SMF 74-4 to get proper CPU picture  Since z/OS Release 8 74-4 has machine serial number – Allows correlation in most cases – But LPAR names and CF Names often don't match – Often multiple CF's in same footprint with similar configuration – Sometimes there are multiple CF's with the same name – My code – in extremis – uses the presence of IC links to determine “colocality” – I'm slowly learning :-) not all CF LPARs are in Pool 5 15 © 2009 IBM Corporation
  • 16. New Instrumentation - OA21140  Introduced to support zHPF – Has other SMF and reporting improvements • HiperDispatch Vertical Polarisation indicators at ENGINE level – Type 70 • Normalisation factor for zIIP – Type 70  Adds CF LPAR Partition Number – Allows matching with SMF 70-1  RMF Level (SMFxxSRL) changed to X'55' 16 © 2009 IBM Corporation
  • 17. Conclusings and Musions  I think we've come a long way with Coupling Facility CPU – Capacity Planning is now down to the structure level • But not to the structure-by-system level – We can now tie up the Coupling Facility and LPAR views of CPU • With a few “corner cases”  I'd encourage you to revisit your Parallel Sysplex reporting – Including for all the other aspects we didn't have time for  Shouldn't machines be self-documenting in SMF? 17 © 2009 IBM Corporation