SlideShare una empresa de Scribd logo
1 de 22
Descargar para leer sin conexión
IBM System z Technical University – Vienna , Austria – May 2-6




zZS27 Parallel                            Sysplex Performance Topics
Martin Packer




                                                                 © 2011 IBM Corporation
Abstract
    A while back RMF's reporting of Coupling Facility CPU was enhanced,
    mainly to give more granularity.

    Also RMF was enhanced to report on XCF better.



    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                                                                  © 2011 IBM Corporation
Topics

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




3                                                 © 2011 IBM Corporation
Structure-Level CPU




 © 2011 IBM Corporation   4
Structure-Level CPU Consumption
     CFLEVEL 15 and z/OS R.9
       – Almost all 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                                                                                            © 2011 IBM Corporation
Structure CPU Experiment




6                          © 2011 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                                                                            © 2011 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                                                                        © 2011 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                                                      © 2011 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                                                               © 2011 IBM Corporation
25us?




11           © 2011 IBM Corporation
CPU / LPAR Match Up Between
             70-1 and 74-4



12                          © 2011 IBM Corporation
Internal Coupling Facility - Basics
 ●
     Managed out of Pool 5 in modern processor families
     ●
         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                                                                        © 2011 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                                                                            © 2011 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                                                                © 2011 IBM Corporation
Additional Instrumentation - OA21140

      Almost all customers have this support
      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                                                                © 2011 IBM Corporation
Structure Duplexing Performance
      Additional Traffic
        – For lock structures duplexing generates double the traffic
        – Otherwise only the writes are duplicated
        – Additional CPU cost
      Additional Physical Resources
        – A second coupling facility
            • Documented in 74-4
        – Additional memory – but “white space” rules say “not really”
        – Additional links – to second coupling facility and between it and the primary
            • Documented in SMF 74-4




17                                                                                        © 2011 IBM Corporation
Structure Duplexing Performance - Response Times

      For System-Managed Duplexed structures both requests must complete
        – Response time is that of the slowest
            • So all requests are essentially with “remote” response times
            • High likelihood of requests becoming asynchronous
            • For low contention rates applications might experience longer lock acquisition times

      For User-Managed Duplexed structures both requests must complete
        – But only for writes
        – So writes performed with “remote” response times
        – With high a read-to-write ratio request response times might not be significantly extended
        – Main example: DB2 Group Buffer Pools

      Response time elongation measured by RMF PR WT and PR CMP times
        – Former suggests better link infrastructure
        – Latter suggests a more capable peer coupling facility


18                                                                                                   © 2011 IBM Corporation
19   © 2011 IBM Corporation
20   © 2011 IBM Corporation
21   © 2011 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
 Structure Duplexing needs particular care
     – A very useful resilience feature that has performance
       considerations


22                                                                   © 2011 IBM Corporation

Más contenido relacionado

La actualidad más candente

DB2 Data Sharing Performance
DB2 Data Sharing PerformanceDB2 Data Sharing Performance
DB2 Data Sharing PerformanceMartin Packer
 
Coupling Facility CPU
Coupling Facility CPUCoupling Facility CPU
Coupling Facility CPUMartin Packer
 
DB2 Data Sharing Performance for Beginners
DB2 Data Sharing Performance for BeginnersDB2 Data Sharing Performance for Beginners
DB2 Data Sharing Performance for BeginnersMartin Packer
 
Db2 for z/OS and FlashCopy - Practical use cases (June 2019 Edition)
Db2 for z/OS and FlashCopy - Practical use cases (June 2019 Edition)Db2 for z/OS and FlashCopy - Practical use cases (June 2019 Edition)
Db2 for z/OS and FlashCopy - Practical use cases (June 2019 Edition)Florence Dubois
 
DB2 for z/OS and DASD-based Disaster Recovery - Blowing away the myths
DB2 for z/OS and DASD-based Disaster Recovery - Blowing away the mythsDB2 for z/OS and DASD-based Disaster Recovery - Blowing away the myths
DB2 for z/OS and DASD-based Disaster Recovery - Blowing away the mythsFlorence Dubois
 
FlashCopy and DB2 for z/OS
FlashCopy and DB2 for z/OSFlashCopy and DB2 for z/OS
FlashCopy and DB2 for z/OSFlorence Dubois
 
Munich 2016 - Z011598 Martin Packer - He Picks On CICS
Munich 2016 - Z011598 Martin Packer - He Picks On CICSMunich 2016 - Z011598 Martin Packer - He Picks On CICS
Munich 2016 - Z011598 Martin Packer - He Picks On CICSMartin Packer
 
DB2 for z/OS - Starter's guide to memory monitoring and control
DB2 for z/OS - Starter's guide to memory monitoring and controlDB2 for z/OS - Starter's guide to memory monitoring and control
DB2 for z/OS - Starter's guide to memory monitoring and controlFlorence Dubois
 
Munich 2016 - Z011599 Martin Packer - More Fun With DDF
Munich 2016 - Z011599 Martin Packer - More Fun With DDFMunich 2016 - Z011599 Martin Packer - More Fun With DDF
Munich 2016 - Z011599 Martin Packer - More Fun With DDFMartin Packer
 
Even More Fun With DDF
Even More Fun With DDFEven More Fun With DDF
Even More Fun With DDFMartin Packer
 
Educational seminar lessons learned from customer db2 for z os health check...
Educational seminar   lessons learned from customer db2 for z os health check...Educational seminar   lessons learned from customer db2 for z os health check...
Educational seminar lessons learned from customer db2 for z os health check...John Campbell
 
Top 5 performance and capacity challenges for z/OS
Top 5 performance and capacity challenges for z/OS Top 5 performance and capacity challenges for z/OS
Top 5 performance and capacity challenges for z/OS Metron
 
Best practices for DB2 for z/OS log based recovery
Best practices for DB2 for z/OS log based recoveryBest practices for DB2 for z/OS log based recovery
Best practices for DB2 for z/OS log based recoveryFlorence Dubois
 

La actualidad más candente (15)

DB2 Data Sharing Performance
DB2 Data Sharing PerformanceDB2 Data Sharing Performance
DB2 Data Sharing Performance
 
Coupling Facility CPU
Coupling Facility CPUCoupling Facility CPU
Coupling Facility CPU
 
DB2 Data Sharing Performance for Beginners
DB2 Data Sharing Performance for BeginnersDB2 Data Sharing Performance for Beginners
DB2 Data Sharing Performance for Beginners
 
Db2 for z/OS and FlashCopy - Practical use cases (June 2019 Edition)
Db2 for z/OS and FlashCopy - Practical use cases (June 2019 Edition)Db2 for z/OS and FlashCopy - Practical use cases (June 2019 Edition)
Db2 for z/OS and FlashCopy - Practical use cases (June 2019 Edition)
 
Time For D.I.M.E?
Time For D.I.M.E?Time For D.I.M.E?
Time For D.I.M.E?
 
DB2 for z/OS and DASD-based Disaster Recovery - Blowing away the myths
DB2 for z/OS and DASD-based Disaster Recovery - Blowing away the mythsDB2 for z/OS and DASD-based Disaster Recovery - Blowing away the myths
DB2 for z/OS and DASD-based Disaster Recovery - Blowing away the myths
 
FlashCopy and DB2 for z/OS
FlashCopy and DB2 for z/OSFlashCopy and DB2 for z/OS
FlashCopy and DB2 for z/OS
 
Munich 2016 - Z011598 Martin Packer - He Picks On CICS
Munich 2016 - Z011598 Martin Packer - He Picks On CICSMunich 2016 - Z011598 Martin Packer - He Picks On CICS
Munich 2016 - Z011598 Martin Packer - He Picks On CICS
 
Much Ado About CPU
Much Ado About CPUMuch Ado About CPU
Much Ado About CPU
 
DB2 for z/OS - Starter's guide to memory monitoring and control
DB2 for z/OS - Starter's guide to memory monitoring and controlDB2 for z/OS - Starter's guide to memory monitoring and control
DB2 for z/OS - Starter's guide to memory monitoring and control
 
Munich 2016 - Z011599 Martin Packer - More Fun With DDF
Munich 2016 - Z011599 Martin Packer - More Fun With DDFMunich 2016 - Z011599 Martin Packer - More Fun With DDF
Munich 2016 - Z011599 Martin Packer - More Fun With DDF
 
Even More Fun With DDF
Even More Fun With DDFEven More Fun With DDF
Even More Fun With DDF
 
Educational seminar lessons learned from customer db2 for z os health check...
Educational seminar   lessons learned from customer db2 for z os health check...Educational seminar   lessons learned from customer db2 for z os health check...
Educational seminar lessons learned from customer db2 for z os health check...
 
Top 5 performance and capacity challenges for z/OS
Top 5 performance and capacity challenges for z/OS Top 5 performance and capacity challenges for z/OS
Top 5 performance and capacity challenges for z/OS
 
Best practices for DB2 for z/OS log based recovery
Best practices for DB2 for z/OS log based recoveryBest practices for DB2 for z/OS log based recovery
Best practices for DB2 for z/OS log based recovery
 

Similar a Parallel Sysplex Performance Topics

VMworld 2014: Extreme Performance Series
VMworld 2014: Extreme Performance Series VMworld 2014: Extreme Performance Series
VMworld 2014: Extreme Performance Series VMworld
 
Ims05 ims 100 k benchmark
Ims05   ims 100 k benchmarkIms05   ims 100 k benchmark
Ims05 ims 100 k benchmarkRobert Hain
 
Oaktable World 2014 Kevin Closson: SLOB – For More Than I/O!
Oaktable World 2014 Kevin Closson:  SLOB – For More Than I/O!Oaktable World 2014 Kevin Closson:  SLOB – For More Than I/O!
Oaktable World 2014 Kevin Closson: SLOB – For More Than I/O!Kyle Hailey
 
Varrow madness 2013 virtualizing sql presentation
Varrow madness 2013 virtualizing sql presentationVarrow madness 2013 virtualizing sql presentation
Varrow madness 2013 virtualizing sql presentationpittmantony
 
Large customers want postgresql too !!
Large customers want postgresql too !!Large customers want postgresql too !!
Large customers want postgresql too !!rosensteel
 
Visão geral do hardware do servidor System z e Linux on z - Concurso Mainframe
Visão geral do hardware do servidor System z e Linux on z - Concurso MainframeVisão geral do hardware do servidor System z e Linux on z - Concurso Mainframe
Visão geral do hardware do servidor System z e Linux on z - Concurso MainframeAnderson Bassani
 
W22 - WebSphere Performance for Multicore and Virtualised Platforms
W22 - WebSphere Performance for Multicore and Virtualised PlatformsW22 - WebSphere Performance for Multicore and Virtualised Platforms
W22 - WebSphere Performance for Multicore and Virtualised PlatformsHendrik van Run
 
Mpls conference 2016-data center virtualisation-11-march
Mpls conference 2016-data center virtualisation-11-marchMpls conference 2016-data center virtualisation-11-march
Mpls conference 2016-data center virtualisation-11-marchAricent
 
Session 7362 Handout 427 0
Session 7362 Handout 427 0Session 7362 Handout 427 0
Session 7362 Handout 427 0jln1028
 
Data Center Network Trends - Lin Nease
Data Center Network Trends - Lin NeaseData Center Network Trends - Lin Nease
Data Center Network Trends - Lin NeaseHPDutchWorld
 
X-DB Replication Server and MMR
X-DB Replication Server and MMRX-DB Replication Server and MMR
X-DB Replication Server and MMRAshnikbiz
 
Gain Insight Into DB2 9 And DB2 10 for z/OS Performance Updates And Save Cost...
Gain Insight Into DB2 9 And DB2 10 for z/OS Performance Updates And Save Cost...Gain Insight Into DB2 9 And DB2 10 for z/OS Performance Updates And Save Cost...
Gain Insight Into DB2 9 And DB2 10 for z/OS Performance Updates And Save Cost...Surekha Parekh
 
Battle of the frameworks : Quarkus vs SpringBoot
Battle of the frameworks : Quarkus vs SpringBootBattle of the frameworks : Quarkus vs SpringBoot
Battle of the frameworks : Quarkus vs SpringBootChristos Sotiriou
 
Presentation best practices for optimal configuration of oracle databases o...
Presentation   best practices for optimal configuration of oracle databases o...Presentation   best practices for optimal configuration of oracle databases o...
Presentation best practices for optimal configuration of oracle databases o...xKinAnx
 
Remote core locking-Andrea Lombardo
Remote core locking-Andrea LombardoRemote core locking-Andrea Lombardo
Remote core locking-Andrea LombardoAndrea Lombardo
 
System z Technology Summit Streamlining Utilities
System z Technology Summit Streamlining UtilitiesSystem z Technology Summit Streamlining Utilities
System z Technology Summit Streamlining UtilitiesSurekha Parekh
 
BMC: Bare Metal Container @Open Source Summit Japan 2017
BMC: Bare Metal Container @Open Source Summit Japan 2017BMC: Bare Metal Container @Open Source Summit Japan 2017
BMC: Bare Metal Container @Open Source Summit Japan 2017Kuniyasu Suzaki
 
Transforming your Business with Scale-Out Flash: How MongoDB & Flash Accelera...
Transforming your Business with Scale-Out Flash: How MongoDB & Flash Accelera...Transforming your Business with Scale-Out Flash: How MongoDB & Flash Accelera...
Transforming your Business with Scale-Out Flash: How MongoDB & Flash Accelera...MongoDB
 

Similar a Parallel Sysplex Performance Topics (20)

VMworld 2014: Extreme Performance Series
VMworld 2014: Extreme Performance Series VMworld 2014: Extreme Performance Series
VMworld 2014: Extreme Performance Series
 
Ims05 ims 100 k benchmark
Ims05   ims 100 k benchmarkIms05   ims 100 k benchmark
Ims05 ims 100 k benchmark
 
Oaktable World 2014 Kevin Closson: SLOB – For More Than I/O!
Oaktable World 2014 Kevin Closson:  SLOB – For More Than I/O!Oaktable World 2014 Kevin Closson:  SLOB – For More Than I/O!
Oaktable World 2014 Kevin Closson: SLOB – For More Than I/O!
 
Varrow madness 2013 virtualizing sql presentation
Varrow madness 2013 virtualizing sql presentationVarrow madness 2013 virtualizing sql presentation
Varrow madness 2013 virtualizing sql presentation
 
Large customers want postgresql too !!
Large customers want postgresql too !!Large customers want postgresql too !!
Large customers want postgresql too !!
 
Visão geral do hardware do servidor System z e Linux on z - Concurso Mainframe
Visão geral do hardware do servidor System z e Linux on z - Concurso MainframeVisão geral do hardware do servidor System z e Linux on z - Concurso Mainframe
Visão geral do hardware do servidor System z e Linux on z - Concurso Mainframe
 
W22 - WebSphere Performance for Multicore and Virtualised Platforms
W22 - WebSphere Performance for Multicore and Virtualised PlatformsW22 - WebSphere Performance for Multicore and Virtualised Platforms
W22 - WebSphere Performance for Multicore and Virtualised Platforms
 
Mpls conference 2016-data center virtualisation-11-march
Mpls conference 2016-data center virtualisation-11-marchMpls conference 2016-data center virtualisation-11-march
Mpls conference 2016-data center virtualisation-11-march
 
Session 7362 Handout 427 0
Session 7362 Handout 427 0Session 7362 Handout 427 0
Session 7362 Handout 427 0
 
Data Center Network Trends - Lin Nease
Data Center Network Trends - Lin NeaseData Center Network Trends - Lin Nease
Data Center Network Trends - Lin Nease
 
X-DB Replication Server and MMR
X-DB Replication Server and MMRX-DB Replication Server and MMR
X-DB Replication Server and MMR
 
Technology (1)
Technology (1)Technology (1)
Technology (1)
 
Gain Insight Into DB2 9 And DB2 10 for z/OS Performance Updates And Save Cost...
Gain Insight Into DB2 9 And DB2 10 for z/OS Performance Updates And Save Cost...Gain Insight Into DB2 9 And DB2 10 for z/OS Performance Updates And Save Cost...
Gain Insight Into DB2 9 And DB2 10 for z/OS Performance Updates And Save Cost...
 
Battle of the frameworks : Quarkus vs SpringBoot
Battle of the frameworks : Quarkus vs SpringBootBattle of the frameworks : Quarkus vs SpringBoot
Battle of the frameworks : Quarkus vs SpringBoot
 
Presentation best practices for optimal configuration of oracle databases o...
Presentation   best practices for optimal configuration of oracle databases o...Presentation   best practices for optimal configuration of oracle databases o...
Presentation best practices for optimal configuration of oracle databases o...
 
Factored Operating Systems paper review
Factored Operating Systems paper reviewFactored Operating Systems paper review
Factored Operating Systems paper review
 
Remote core locking-Andrea Lombardo
Remote core locking-Andrea LombardoRemote core locking-Andrea Lombardo
Remote core locking-Andrea Lombardo
 
System z Technology Summit Streamlining Utilities
System z Technology Summit Streamlining UtilitiesSystem z Technology Summit Streamlining Utilities
System z Technology Summit Streamlining Utilities
 
BMC: Bare Metal Container @Open Source Summit Japan 2017
BMC: Bare Metal Container @Open Source Summit Japan 2017BMC: Bare Metal Container @Open Source Summit Japan 2017
BMC: Bare Metal Container @Open Source Summit Japan 2017
 
Transforming your Business with Scale-Out Flash: How MongoDB & Flash Accelera...
Transforming your Business with Scale-Out Flash: How MongoDB & Flash Accelera...Transforming your Business with Scale-Out Flash: How MongoDB & Flash Accelera...
Transforming your Business with Scale-Out Flash: How MongoDB & Flash Accelera...
 

Más de Martin Packer

Munich 2016 - Z011597 Martin Packer - How To Be A Better Performance Specialist
Munich 2016 - Z011597 Martin Packer - How To Be A Better Performance SpecialistMunich 2016 - Z011597 Martin Packer - How To Be A Better Performance Specialist
Munich 2016 - Z011597 Martin Packer - How To Be A Better Performance SpecialistMartin Packer
 
Life And Times Of An Address Space
Life And Times Of An Address SpaceLife And Times Of An Address Space
Life And Times Of An Address SpaceMartin Packer
 
I Know What You Did Last Summer
I Know What You Did Last SummerI Know What You Did Last Summer
I Know What You Did Last SummerMartin Packer
 
Optimizing z/OS Batch
Optimizing z/OS BatchOptimizing z/OS Batch
Optimizing z/OS BatchMartin Packer
 
Curt Cotner DDF Inactive Threads Support DB2 Version 3
Curt Cotner DDF Inactive Threads Support DB2 Version 3Curt Cotner DDF Inactive Threads Support DB2 Version 3
Curt Cotner DDF Inactive Threads Support DB2 Version 3Martin Packer
 

Más de Martin Packer (8)

Munich 2016 - Z011597 Martin Packer - How To Be A Better Performance Specialist
Munich 2016 - Z011597 Martin Packer - How To Be A Better Performance SpecialistMunich 2016 - Z011597 Martin Packer - How To Be A Better Performance Specialist
Munich 2016 - Z011597 Martin Packer - How To Be A Better Performance Specialist
 
DB2 Through My Eyes
DB2 Through My EyesDB2 Through My Eyes
DB2 Through My Eyes
 
Time For DIME
Time For DIMETime For DIME
Time For DIME
 
Life And Times Of An Address Space
Life And Times Of An Address SpaceLife And Times Of An Address Space
Life And Times Of An Address Space
 
I Know What You Did Last Summer
I Know What You Did Last SummerI Know What You Did Last Summer
I Know What You Did Last Summer
 
Optimizing z/OS Batch
Optimizing z/OS BatchOptimizing z/OS Batch
Optimizing z/OS Batch
 
Much Ado About CPU
Much Ado About CPUMuch Ado About CPU
Much Ado About CPU
 
Curt Cotner DDF Inactive Threads Support DB2 Version 3
Curt Cotner DDF Inactive Threads Support DB2 Version 3Curt Cotner DDF Inactive Threads Support DB2 Version 3
Curt Cotner DDF Inactive Threads Support DB2 Version 3
 

Último

"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 

Último (20)

"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 

Parallel Sysplex Performance Topics

  • 1. IBM System z Technical University – Vienna , Austria – May 2-6 zZS27 Parallel Sysplex Performance Topics Martin Packer © 2011 IBM Corporation
  • 2. Abstract A while back RMF's reporting of Coupling Facility CPU was enhanced, mainly to give more granularity. Also RMF was enhanced to report on XCF better. 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 © 2011 IBM Corporation
  • 3. Topics  Structure-Level CPU – Structure CPU Experiment  CPU / LPAR Match Up Between 70-1 and 74-4  Structure Duplexing Performance  Conclusings and Musions 3 © 2011 IBM Corporation
  • 4. Structure-Level CPU © 2011 IBM Corporation 4
  • 5. Structure-Level CPU Consumption  CFLEVEL 15 and z/OS R.9 – Almost all 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 © 2011 IBM Corporation
  • 6. Structure CPU Experiment 6 © 2011 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 © 2011 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 © 2011 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 © 2011 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 © 2011 IBM Corporation
  • 11. 25us? 11 © 2011 IBM Corporation
  • 12. CPU / LPAR Match Up Between 70-1 and 74-4 12 © 2011 IBM Corporation
  • 13. Internal Coupling Facility - Basics ● Managed out of Pool 5 in modern processor families ● 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 © 2011 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 © 2011 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 © 2011 IBM Corporation
  • 16. Additional Instrumentation - OA21140  Almost all customers have this support  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 © 2011 IBM Corporation
  • 17. Structure Duplexing Performance  Additional Traffic – For lock structures duplexing generates double the traffic – Otherwise only the writes are duplicated – Additional CPU cost  Additional Physical Resources – A second coupling facility • Documented in 74-4 – Additional memory – but “white space” rules say “not really” – Additional links – to second coupling facility and between it and the primary • Documented in SMF 74-4 17 © 2011 IBM Corporation
  • 18. Structure Duplexing Performance - Response Times  For System-Managed Duplexed structures both requests must complete – Response time is that of the slowest • So all requests are essentially with “remote” response times • High likelihood of requests becoming asynchronous • For low contention rates applications might experience longer lock acquisition times  For User-Managed Duplexed structures both requests must complete – But only for writes – So writes performed with “remote” response times – With high a read-to-write ratio request response times might not be significantly extended – Main example: DB2 Group Buffer Pools  Response time elongation measured by RMF PR WT and PR CMP times – Former suggests better link infrastructure – Latter suggests a more capable peer coupling facility 18 © 2011 IBM Corporation
  • 19. 19 © 2011 IBM Corporation
  • 20. 20 © 2011 IBM Corporation
  • 21. 21 © 2011 IBM Corporation
  • 22. 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  Structure Duplexing needs particular care – A very useful resilience feature that has performance considerations 22 © 2011 IBM Corporation