Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Novidades e complicações em
Capacity Planning e Capacity
Pricing
Fernando Ferreira
IBM Executive I/T Specialist
IBM Academy of Technology / zChampion
Email/Linkedin [email protected]
Twiter fernafeibm
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Trademarks
The following are trademarks of the International Business Machines Corporation in the United States, other countries, or both.
The following are trademarks or registered trademarks of other companies.
* All other products may be trademarks or registered trademarks of their respective companies.
Notes:
Performance is in Internal Throughput Rate (ITR) ratio based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput that any user will experience will vary depending upon considerations such as the amount of multiprogramming in the user's job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve throughput improvements equivalent to the performance ratios stated here.
IBM hardware products are manufactured Sync new parts, or new and serviceable used parts. Regardless, our warranty terms apply.
All customer examples cited or described in this presentation are presented as illustrations of the manner in which some customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics will vary depending on individual customer configurations and conditions.
This publication was produced in the United States. IBM may not offer the products, services or features discussed in this document in other countries, and the information may be subject to change without notice. Consult your local IBM business contact for information on the product or services available in your area.
All statements regarding IBM's future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only.
Information about non-IBM products is obtained Sync the manufacturers of those products or their published announcements. IBM has not tested those products and cannot confirm the performance, compatibility, or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products.
Prices subject to change without notice. Contact your IBM representative or Business Partner for the most current pricing in your geography.
Adobe, the Adobe logo, PostScript, and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States, and/or other countries.
Cell Broadband Engine is a trademark of Sony Computer Entertainment, Inc. in the United States, other countries, or both and is used under license therefrom.
Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both.
Intel, Intel logo, Intel Inside, Intel Inside logo, Intel Centrino, Intel Centrino logo, Celeron, Intel Xeon, Intel SpeedStep, Itanium, and Pentium are trademarks or registered trademarks of
Intel Corporation or its subsidiaries in the United States and other countries.
UNIX is a registered trademark of The Open Group in the United States and other countries.
Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.
ITIL is a registered trademark, and a registered community trademark of the Office of Government Commerce, and is registered in the U.S. Patent and Trademark Office.
IT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency, which is now part of the Office of Government Commerce.
Not all common law marks used by IBM are listed on this page. Failure of a mark to appear does not mean that IBM does not use the mark nor does it mean that the product is not
actively marketed or is not significant within its relevant market.
Those trademarks followed by ® are registered trademarks of IBM in the United States; all others are trademarks or common law marks of IBM in the United States.
For a more complete list of IBM Trademarks, see www.ibm.com/legal/copytrade.shtml:
*BladeCenter®, CICS®, DataPower®, DB2®, e business(logo)®, ESCON, eServer, FICON®, IBM®, IBM (logo)®, IMS, MVS, OS/390®,
POWER6®, POWER6+, POWER7®, Power Architecture®, PowerVM®, PureFlex, PureSystems, S/390®, ServerProven®, Sysplex Timer®, System p®, System p5, System x®, z Systems®, System z9®, System z10®, WebSphere®, X-Architecture®, z13™, z Systems™, z9®, z10, z/Architecture®, z/OS®, z/VM®, z/VSE®, zEnterprise®, zSeries®
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Tópicos
Introdução
Planejamento de Capacidade
SMT
SIMD
Large pages
Compiladores
zIIP
Efeito 90%
Parallel Sysplex
zBNA
zTPM
Capacity Pricing
Softcapping e Hiperdispatch.
Mobile workload pricing
zCAP
Country Multiplex
Referencias
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Introdução
zPCR
zEDC
zBNA
Crypto
Transactional
Memory
OoO
MSUs
LSPR
zIIPs
Large
Pages
Cache
SMT
SIMD
zTPCHiperdispatch
CPUMF
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Capacity Planning
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
“Strength does not come from physical capacity. It comes from an indomitable will.”
Mahatma Ghandi
Improved out-of-order
Transactional Memory
Dynamic Optimization
2 GB page support
Dynamic SMT
Supports two instruction
threads
SIMD
PCIe attached accelerators
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
SMT
PR/SM Hypervisor MT Aware
MT Ignorant
z/OS z/VM
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
SMT e zPCR
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
SIMD
Scalar coderead the next instruction and decode it
get this number
get that number
add them
put the result here
read the next instruction and decode it
get this number
get that number
add them
put the result here
read the next instruction and decode it
get this number
get that number
add them
put the result here.
read the next instruction and decode it
get this number
get that number
add them
put the result there
Do
Once
Result 3
+
=
Instr. Decode
Number 1c
Number 2c
Result 4
+
=
Number 1d
Number 2d
Result 1
+
=
Number 1a
Number 2a
Result 2
+
=
Number 1b
Number 2bMultiple Data
Single Instruction
Result 1
+
=
Instr. Decode
Number 1
Number 2
Repeat
4 times
SIMD coderead instruction and decode it
get these 4 numbers
get those 4 numbers
add them
put the results here
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Large Pages
* Graficos relativos aos estudos referenciados dos techdocs WP102462, WP102461 e redpaper 5146
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Compiladores
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Revisão zIIP
Honor priority/ Needs Help
MSUs x zIIPs
SMT
Capacidade, Ponto de saturação, efeito MP
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Efeito 90%
EDF 12.172 MIPS
50%
6.086 MIPS
0
20
40
60
80
100
90%
50%
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Efeito 90%Sugestões de calibragem
O fator calculado é por volta de 10%. O método recomendado é fazer a
calibragem por CPs :Capacidade por CP = Capacidade total / #CPs
Calibragem = (%Utilização * #CPs ) / 0.9
Calibragem = (0.5 * 10) / 0.9 = 5.55 6
Com base na capacidade da zEC12-706 no zPCR seria 7.577
Sendo a capacidade por processador 7.577 / 6 = 1.263 (contra 1.217)
Se assumirmos uma estimativa menos conservadora poderiamos estimar 10% sobre o valor inicial :
Calibragem = (%Utilização * Capacidade total ) * 1,10
Usando o exemplo teriamos (0.5 * 12172) *1,10 = 6.694,6 6.695
Assim teriamos :
Range 6.695 a 7.577 no total
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Efeito 90%Calibragem de zIIPs
Impacto zIIPs
Capacidade sem zIIPs 12758
Capacidade zIIP 100% 11900
Impacto 6,7% (858 MIPS)
Capacidade zIIP 30% 12138
Impacto 4,9 % (620 MIPS)
Variação 37% (238 MIPS)
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
zBNA
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Parallel Sysplex
CF
Distancia
CPU x Service Time
0
5
10
15
20
25
30
35
40
45
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39
Service Time
CP
U T
ime
Async
Sync
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
zTPM
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Capacity Pricing
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Planejamento de capacidadeHw x Sw
Picos de Hw x R4HA
Picos de MSUs x RH4A
Capacity x Defined Capping
Gerenciamento x Capping
Balanceamento de Cargas
Distribuição de subsistemas
GCPs x zIIPs
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Softcapping e Hiperdispatch
Phantom weight
0---CPU--- ---------------- TIME % ---------------- LOG PROC
NUM TYPE ONLINE LPAR BUSY MVS BUSY PARKED SHARE %
0 CP 100.00 76.29 76.29 0.00 100.0 HIGH
1 CP 100.00 68.33 68.33 0.00 100.0 HIGH
2 CP 100.00 69.77 69.77 0.00 100.0 HIGH
3 CP 100.00 60.72 60.72 0.00 100.0 HIGH
4 CP 100.00 56.32 56.32 0.00 100.0 HIGH
5 CP 100.00 44.63 44.63 0.00 100.0 HIGH
6 CP 100.00 20.32 20.32 44.02 75.6 MED*
7 CP 100.00 0.00 ----- 100.00 0.0 LOW
8 CP 100.00 0.00 ----- 100.00 0.0 LOW
9 CP 100.00 0.00 ----- 100.00 0.0 LOW
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Mobile workload Pricing
Oferta para cargas “Mobile”
Anunciado 6 de maio 2014
Disponível Julho 2014
Exige que a instalação possua ao menos uma z13, zEC12 ou zBC12,
embora outros CECs com z196 ou z114 da mesma instalação possam se
beneficiar.
Retira 60% das MSUs(segundos de CPU ) gerados por requisições
“mobile” (geradas por tablets ou smartfones).
O impacto de custo varia em função do perfil de uso de software e do
R4HA .
5655-S97 CICS TS for z/OS V4
5655-Y04 CICS TS for z/OS V5
5722-DFJ CICS VUE V5
5635-DB2 DB2 V9 for z/OS
5605-DB2 DB2 10 for z/OS
5615-DB2 DB2 11 for z/OS
5697-P12 DB2 VUE V9
5697-P31 DB2 10 VUE
5697-P43 DB2 11 VUE 5655-N02
5635-A02 IMS V11
5655-W65 5635-A03 IMS V12
5635-A04 IMS V13
5655-DSQ IMS DB VUE V12
5655-DSM IMS DB VUE V13 5655-L82 WS MQ for z/OS V6 5655-R36 WS MQ for z/OS V7 5655-W97 WS MQ for z/OS V8 5655-VUE WS MQ VUE V7 5655-VU8 WS MQ VUE V8
WebSphere App Server for z/OS V7 WebSphere App Server for z/OS V8
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Mobile workload Pricing
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Mobile workload Pricing
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Mobile Workload Pricing Tool (MWRT)
CICS
IMS DB2
WMQWMQ
MWPtool
CSV file GCP CPU sec /hour
SMF 70.1SMF 89.1 and 89.2
SCRT ReportWith adjustments(-60% Mobile )
z/OSSMF
Windows based Java
FTP
binary Quote Site RDW
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
zCAP
Oferta para novas cargas
Anunciado 7 de Abril
Disponível 28 de Abril (MWRT V 3.3.0)
zEnterprise (z13, zEC12, zBC12, z196, z114)
Limita o impacto no custo de software de novas cargas em ambientes
existentes.
Usa a nova ferramenta de geraçào de relatório de uso de software MWRT.
5655-S97 CICS TS for z/OS V4 5635-A05 IMS V14
5655-Y04 CICS TS for z/OS V5 5655-DSQ IMS DB VUE V12
5722-DFJ CICS VUE V5 5655-DSM IMS DB VUE V13
5635-DB2 DB2 V9 for z/OS 5655-TM1 IMS TM VUE V12
5605-DB2 DB2 10 for z/OS 5655-TM2 IMS TM VUE V13
5615-DB2 DB2 11 for z/OS 5655-L82 WS MQ for z/OS V6
5697-P12 DB2 VUE V9 5655-R36 WS MQ for z/OS V7
5697-P31 DB2 10 VUE 5655-W97 IBM MQ for z/OS V8
5697-P43 DB2 11 VUE 5655-VUE WS MQ VUE V7
5635-A02 IMS V11 5655-VU8 IBM MQ VUE V8
5635-A03 IMS V12 5655-N02 WebSphere App Server for z/OS V7
5635-A04 IMS V13 5655-W65 WebSphere App Server for z/OS V8
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
zCAP - Subsistemas novos
Net New MQ Example = 100 MSUs of new MQ workload *
1. Existing LPAR 2. New MQ, standard rules 3. New MQ with zCAP pricing
MSUs used for subcap billing: MSUs used for subcap billing: MSUs used for subcap billing:
z/OS 1,000 z/OS 1,100 z/OS 1,050
DB2 and CICS 1,000 DB2 and CICS 1,100 DB2 and CICS 1,000
MQ (LPAR value) 1,100 MQ (usage value) 100
Standard LPAR Value = 1,100 Standard LPAR Value = 1,100
z/OS, other programs adjusted
Standard LPAR Value = 1,000
1,100 1,100 1,100
1,050
1,000 1,000 1,000
z/OS DB2 z/OS DB2 MQ z/OS DB2
& CICS & CICS & CICS
MQ
100
* Assumes workloads peak at same time
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
zCAP – Cargas adicionais
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Incremental MQ Example = 100 MSUs of MQ growth *
1. Existing LPAR 2. MQ growth, standard rules 3. MQ growth with zCAP pricing
MSUs used for subcap billing: MSUs used for subcap billing: MSUs used for subcap billing:
z/OS 1,000 z/OS 1,100 z/OS 1,050
DB2 and CICS 1,000 DB2 and CICS 1,100 DB2 and CICS 1,000
MQ 1,000 MQ w/growth 1,100 MQ w/growth 1,100
Standard LPAR Value = 1,100 Standard LPAR Value = 1,100
z/OS, other programs adjusted
Standard LPAR Value = 1,000 1,100 1,100
1,100 1,100 100 of 100 of
growth 1,050 growth
1,000 1,000 1,000 1,000
z/OS DB2 MQ z/OS DB2 MQ z/OS DB2 MQ
& CICS & CICS & CICS
* Assumes workloads peak at same time
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Country Multiplex Pricing (CMP)
“Evolução” do Sysplex pricing
Medição consolidada para um mesmo cliente dentro de um mesmo País.
Pré-anunciado em 14 de Janeirol
Ainda sem data de disponíbilidade
zEnterprise (z13, zEC12, zBC12, z196, z114)
Permite consolidar as MSUs de varios CECs
Processo de transição usa um baseline de custo (possivelmente sem
impacto de custo inicial )
Simplifica o processo de calculo de MSUs em ambientes com multiplos
CECs.
Permite movimentar cargas entre CECs evitando “dupla cobrança”.
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Traditional Sub-Capacity Peak = Sum of individual SCRT machine peaks for the month:
Machine 1: 145
Machine 2: 150
Machine 3: 140
Sum of Peaks: 435
Multiplex Peak = Peak value of the hourly
simultaneous totals of all machines
Peak of Simultaneous Totals: 385
• Cada barra representa o número de MSUs medidos em um intervalo
• Assumindo 3 intervalos no mes :
Reporting dynamics
Multiplex MSUs will be at or below SCRT
values due to the smoothing effect of
measuring all machines at the same time
intervals
Allows for dynamic workload movement
with no duplicate MSU peaks since
machine boundaries are no longer critical
Machine 1
Peak = 100
Machine 2
Peak = 150
Machine 3
Peak = 135
Machine 1
Peak = 90
Machine 2
Peak = 130
Machine 3
Peak = 140
Machine 1
Peak = 145
Machine 2
Peak = 110
Machine 3
Peak = 115
Interval 1 Interval 2 Interval 3
Total: 360Total: 370
Total: 385
Country Multiplex Pricing (CMP)
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
• MLC & MSU bases set for each subcapacity product
• Most recent 3-month average
• MSU Base set with new Multiplex Report output
• not traditional SCRT Report output
$97K
Month 1
$102K $101K $100K $100K
$3K $103K
Month 2 Month 3 MLC Base
3-month
average
Base Total
1,000
Month 1
1,110
1,040 1,050
1,125 75 MSUs
Month 2 Month 3 MSU Base
3-month
average
Multiplex
MSUs
Delta to
Base
X $45 / MSU = $3K
Variable
Setting the initial MLC Base & MSU Base(one-time exercise)
Ongoing MLC Reporting & Billing Example(monthly process)
• For each product, monthly MLC charges equal to
base plus variable charge
• Variable charge = Delta MSUs vs. MSU base (up or
down), multiplied by applicable price per MSU
Example assumes $45 per MSU
price point for illustrative purposes
Country Multiplex Pricing (CMP)
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Referencias I
zCAP Defining Programs link
http://ibm.com/systems/z/swprice/reference/exhibits/zcap.html
Artigo do Bob Rogers no IBM Systems Magazine sobre SMT
http://www.ibmsystemsmag.com/mainframe/trends/IBMResearch/smt_mainframe/
Advantages of Configuring More Memory for DB2 Buffer Pools• http://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/WP102464
Performance Report on Exploiting Large Memory for DB2 Buffer Pools with SAP® http://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/WP102461
zBNA http://www.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/PRS5132
zTPM http://www-03.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/PRS1529
CPU MF Webinar Replays and Presentations http://www.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/PRS4922
z/OS CPU MF - “Detailed Instructions” Step by Step Guidehttp://www.ibm.com/support/techdocs/atsmastr.nsf/WebIndex/TC000066
z/VM Using CPU Measurement Facility Host Countershttp://www.vm.ibm.com/perf/tips/cpumf.html
Binary optimizer https://www.ibm.com/developerworks/community/groups/community/BinaryOptimizer
WebSphere for zSeries skills transfer Group
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.
Proibida cópia ou divulgação sem
permissão escrita do CMG Brasil.
Referencias II
Redbooks:
www.redbooks.ibm.com
z/OS Infrastructure Optimization using Large Memory – redp5146
SIMD Business Analytics Acceleration on z Systems – redp5145
z Systems Simultaneous Multithreading Revolution – redp5144
IBM z13 Technical Introduction - SG24-8250
IBM z13 Technical Guide - SG24-8251
STG Technical University (Brazil, Las Vegas e Budapeste) :
Kathy Walsh – Performance Hot Topics ( STU )
Frank Kyne - Why is the CPU Time For a Job so Variable?
Martin Packer – zIIP Capacity Planning
Fernando Ferreira - Parallel Sysplex over distance
Outros :
Fernando Ferreira - Conceitos e desafios de Planejamento de capacidade em ambiente
Parallel Sysplex (CMG 2014)
Parwez Hamid - Technical Leadership Library (TLLB) for IBM z13 (z13)