como configurar seu zsystem para workloads rebeldes

25
Proibida cópia ou divulgação sem permissão escrita do CMG Brasil. Como configurar seu zSystem para workloads rebeldes Fernando Ferreira IBM Executive I/T Specialist IBM Academy of Technology / zChampion Email/Linkedin [email protected] Twiter fernafeibm

Upload: joao-galdino-mello-de-souza

Post on 22-Feb-2017

4.267 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Como configurar seu zSystem para workloads rebeldes

Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.

Como configurar seu zSystem para workloads rebeldes

Fernando FerreiraIBM Executive I/T SpecialistIBM Academy of Technology / zChampionEmail/Linkedin [email protected] Twiter fernafeibm

Page 2: Como configurar seu zSystem para workloads rebeldes

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.

TrademarksThe 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®

Page 3: Como configurar seu zSystem para workloads rebeldes

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

Conceitos

Questoes de Capacidade

Referencias

Page 4: Como configurar seu zSystem para workloads rebeldes

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

L1 missL1 miss

Time

zEC12 Out-of-order core execution

Time

Faster millicodeexecution

Instrs1234567

Time

L1 missL1 missz196 Out-of-order core execution

Instrs1234567

BetterInstruction Delivery

Shorter L1Miss latency

Execution

Storage access

Dependency

Execution

Storage access

Dependency

Page 5: Como configurar seu zSystem para workloads rebeldes

Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.

Conceitos

Page 6: Como configurar seu zSystem para workloads rebeldes

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.

Caches

PU

12

PU

Page 7: Como configurar seu zSystem para workloads rebeldes

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.

RNI

L1L2LP

L4LPL2RP

L4RP MEMP

How Often?L1MP

L3P

RNIHow Far?

Page 8: Como configurar seu zSystem para workloads rebeldes

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.

CPI

Page 9: Como configurar seu zSystem para workloads rebeldes

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.

CPUMFNode 1 Node 2

Memory

L4 Cache

L3 Cache

L2

L3 Cache

L1

PU1

L2

L1

PU8

L2

L1

PU1

L2

L1

PU8

L2

L1

PU1

L2

L1

PU8

L3 Cache

PU SCM1 PU SCM2 PU SCM3

Memory

L4 Cache

L3 Cache

L2

L3 Cache

L1

PU1

L2

L1

PU8

L2

L1

PU1

L2

L1

PU8

L2

L1

PU1

L2

L1

PU8

L3 Cache

PU SCM4 PU SCM5 PU SCM6

SC S

CM

1

SC S

CM

2

LPARCPUMF

HIS

LP1 LP2 LP3 LP5LP4 LP6

z/OS

Page 10: Como configurar seu zSystem para workloads rebeldes

Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.

Questões De

Capacidade

Page 11: Como configurar seu zSystem para workloads rebeldes

WebSphere for zSeries skills transfer Group

Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.

zSystem Caches

zEC12CPU

5.5 GHz (1514 PCI)Enhanced Out-Of-Order

Caches

L1 private 64k i, 96k dL2 private 1 MB i + 1 MB dL3 shared 48 MB / chipL4 shared 384 MB / book

z13CPU

5.0 GHz (1695 PCI)Major pipeline enhancements

Caches

L1 private 96k i, 128k dL2 private 2 MB i + 2 MB d L3 shared 64 MB / chipL4 shared 480 MB / node - plus 224 MB NIC

...

Memory

L4 Cache

L2

CPU1L1

L3 Cache

L2

CPU6L1... L2

CPU1L1

L3 Cache

L2

CPU6L1...

...

Memory

L4 Cache

L2

PU1L1

L3 Cache

... L2

PU8L1

L2

PU1L1

L3 Cache

...L2

PU8L1

...

Memory

L4 Cache

L2

PU1L1

L3 Cache

... L2

PU8L1

L2

PU1L1

L3 Cache

...L2

PU8L1

Single Book View

Single Drawer View

Page 12: Como configurar seu zSystem para workloads rebeldes

WebSphere for zSeries skills transfer Group

Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.

LRU Cast-Out

CP Stores Data Fetch Return

PU Chip8 Cores

+ Cache for cores 1 to 8

2MBL2

+ + + + + +

64 MB eDRAMInclusive L3

2MBL2

L1 L1

+ + + + + +

480 MB eDRAM

L4

480 MB eDRAM

L4

2MBL2

+ + + + + +

64 MB eDRAMInclusive L3

2MBL2

L1 L1

+ + + + + +2MBL2

+ + + + + +

64 MB eDRAMInclusive L3

2MBL2

L1 L1

+ + + + + +2MBL2

+ + + + + +

64 MB eDRAMInclusive L3

2MBL2

L1 L1

+ + + + + +2MBL2

+ + + + + +

64 MB eDRAMInclusive L3

2MBL2

L1 L1

+ + + + + +2MBL2

+ + + + + +

64 MB eDRAMInclusive L3

2MBL2

L1 L1

+ + + + + +

PU Chip8 Cores

PU Chip8 Cores

PU Chip8 Cores

PU Chip8 Cores

PU Chip8 Cores

NICL3 owned

Lines

NICL3 owned

Lines

224 MB eDRAM

224 MB eDRAM

X-Bus

S-Bus

Node 1 Node 0

To other drawers

L1 I = 96 KB

L1 D = 128 KB

L2 I = 2 MB

L2 D = 2 MB

z13 CPC Drawer Cache Hierarchy

Page 13: Como configurar seu zSystem para workloads rebeldes

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.

Hiperdispatch

Page 14: Como configurar seu zSystem para workloads rebeldes

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.

Alocação e Dispatch

SC

SC

Node 1 Node 0

XS S

SC

SC

Node 1 Node 0

X SS

S = S BUS X = X BUS

Drawer 0

Drawer 1

Swap

Page 15: Como configurar seu zSystem para workloads rebeldes

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.

Caracterização de workloads

Low Relative Nest Intensity High

Batch Application Type TransactionalLow IO Rate HighSingle Application Mix ManyIntensive CPU Usage LightHigh locality Data Reference Pattern DiverseSimple LPAR Configuration ComplexExtensive Software Configuration Tuning Limited

Page 16: Como configurar seu zSystem para workloads rebeldes

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.

Workloads “Intermediarios”

HIGHAVG-HIGH

LOW

AVERAGEAVG-LOW

Page 17: Como configurar seu zSystem para workloads rebeldes

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.

In Ready e MPL vs Caches

L1MP CPI

Page 18: Como configurar seu zSystem para workloads rebeldes

WebSphere for zSeries skills transfer Group

Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.

Efeito 90%

Page 19: Como configurar seu zSystem para workloads rebeldes

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.

zIIPs e GCPs

GCP

zIIP

Page 20: Como configurar seu zSystem para workloads rebeldes

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

Page 21: Como configurar seu zSystem para workloads rebeldes

Proibida cópia ou divulgação sem permissão escrita do CMG Brasil.

Ferramentas

Page 22: Como configurar seu zSystem para workloads rebeldes

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.

WLM Topology Tool

Requirements: A z10 or newer System z environment with partitions running in Hiperdispatch modeCollecting SMF 99 subtype 14 recordsExcel Version 2013. The spreadsheet should also work on Excel 2007 and 2010

The tool is publicly available at http://www-03.ibm.com/systems/z/os/zos/features/wlm/WLM_Further_Info_Tools.html#Topology

Page 23: Como configurar seu zSystem para workloads rebeldes

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.

LPAR design Tool

The tool is publicly available at http://www-03.ibm.com/systems/z/os/zos/features/wlm/WLM_Further_Info_Tools.html#Topology

Page 24: Como configurar seu zSystem para workloads rebeldes

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.

SMF 113 Reporting Tool

Requirements: Collecting SMF 113 subtype 2 records on a z10 or newer z system.Excel Version 2013. The spreadsheet should also work on Excel 2007 and 2010

The tool is publicly available at http://www-03.ibm.com/systems/z/os/zos/features/wlm/WLM_Further_Info_Tools.html#Topology

Page 25: Como configurar seu zSystem para workloads rebeldes

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.comz 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? Artigo do Bob Rogers no IBM Systems Magazine sobre SMT

http://www.ibmsystemsmag.com/mainframe/trends/IBMResearch/smt_mainframe