share getting started in cp ho2 by the ibm services and technical ... his recent virtual sessions...
TRANSCRIPT
![Page 1: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/1.jpg)
SHARE March 2011
(c)Ray Wicks 2011 1
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Getting Started in (z/OS) Capacity Planning(Topics in Capacity Planning)Part II
Ray [email protected] Tools Group, Gaithersburg. [email protected]
March 2011
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
BibliographyRay has spent most of his career at IBM in the performance analysis and capacity planning end of the business in Poughkeepsie, London, and now at the Washington Systems Center. He is the major contributor to IBM’s internal PA & CP tool zCP3000. This tool is used extensively by the IBM services and technical support staff world wide to analyze existing zSeries configurations (Processor, storage, and I/O) and make projections for capacity expectations.
Ray has given classes and lectures worldwide. He was a visiting scholar at the University of Maryland where he taught part time at the Honors College.
He won the prestigious Computer Measurement Group’s A.A. Michelson award in 2000. His recent virtual sessions “Getting Started in Performance Analysis & Capacity Planning” workshop held for attendees in China and India was well accepted.
![Page 2: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/2.jpg)
SHARE March 2011
(c)Ray Wicks 2011 2
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Trade Marks, Copyrights & Stuff
Many terms are trademarks of different companies and are owned by them.
On foils that appear in this presentation are not in the handout. This is to prevent you from looking ahead and spoiling my jokes and surprises.
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
This tutorial is a two part introductory level session designed to introduce the student to the concepts required for Performance Analysis and Capacity Planning.
Emphasis is placed on large processor systems and examples will be largely drawn from z/OS but the concepts apply to all operating systems and hardware. The tutorial is organized to review the architecture where appropriate (albeit briefly). Topics:
Conceptual and Perceptual structures for performance analysis and capacity planning,
Using the Forced Flow law in PA & CP
Performance Analysis queries for capacity planning,
Processor performance data (ITRRs & MIPS),
Resource Metrics for use in the Balance System model,
Sample selection,
Data preparation in z/OS,
Using the utilization growth process in capacity planning,
Abstract
![Page 3: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/3.jpg)
SHARE March 2011
(c)Ray Wicks 2011 3
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
zPCR
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
zPCR
![Page 4: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/4.jpg)
SHARE March 2011
(c)Ray Wicks 2011 4
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Establish Power value in MIPS?
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Processor Power: zPCR
Configuration Input
Manual
RMF Listing
EDF file (CP3KEXTR)
![Page 5: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/5.jpg)
SHARE March 2011
(c)Ray Wicks 2011 5
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Processor Power: zPCR
Maximum: MIPS available if other partitions are idle given logical configuration.
Minimum: MIPS entitled to if other partitions are demanding their fair share (Weight) given the logical configuration.
2097-E56 summary with this logical configuration
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
ITRRs Reality? A Fuzzy Patch?
8717 MIPS
0
2000
4000
6000
8000
10000
12000
701 702 703 704 705 706 707 708 709 710
Model
MIP
S
![Page 6: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/6.jpg)
SHARE March 2011
(c)Ray Wicks 2011 6
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
ITRRs Reality? A Fuzzy Patch?
8717 MIPS
0
2000
4000
6000
8000
10000
12000
701 702 703 704 705 706 707 708 709 710
Model
MIP
S
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Comparing Fuzzy Numbers
![Page 7: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/7.jpg)
SHARE March 2011
(c)Ray Wicks 2011 7
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Summary: In a CPC MigrationSome Fiction, Some Truth
New_CPU% = Old_CPU% x Old_Power/New_Power Migrating to a CPC twice as fast: would 50% old = 25% new?
The Workload stays the same. The Workload changes
The number of transactions changes Response time changes impact user behavior Latent demand can rear its ugly head Different workloads are impacted differently
The Software Changes The Memory Changes The I/O Changes
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
I/O Intensity
Workload I/O Intensity
0
5
10
15
20
25
30
35
40
1:00
7:00
13:0
0
19:0
01:
007:
00
13:0
0
19:0
01:
007:
00
13:0
0
19:0
01:
007:
00
13:0
0
19:0
01:
007:
00
13:0
0
19:0
0
Sec
on
ds
PBATLO
PBATMD
PBATHI
STCMD
PMPR
PCICS
OIMS
Network
ONLINE1
SYSTEM
Intensity = Rate * Response_Time (Note Little’s Law N = λ*T)Traffic = Rate * Service_Time
Who’s using the I/O? And When?
![Page 8: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/8.jpg)
SHARE March 2011
(c)Ray Wicks 2011 8
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Workload Contention Analysis(Latent Demand?)
0
10
20
30
40
50
60
70
80
90
100
0:00
8:00
15:0
0
22:0
05:
00
12:0
0
19:0
02:
009:
00
16:0
0
23:0
06:
00
13:0
0
20:0
03:
00
10:0
0
17:0
0
OCPU1%
OCPU2%
AINR
AOUTR
OCPU1 = % of time AINR >= 1+#CPs where AINR = Average in and Ready
Is someone not getting it? Who?
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
CPU Delay By Workload
0
10
20
30
40
50
60
70
80
90
100
0 10 20 30 40 50 60 70 80 90 100
CPU%
%C
PU
De
lay
SYSTEM
ONLINE1
Network
OIMS
PCICS
PMPR
STCMD
PBATHI
PBATMD
PBATLO
Ah the low priority is not getting it. So? How about Single Task Multi thread?
![Page 9: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/9.jpg)
SHARE March 2011
(c)Ray Wicks 2011 9
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
CPU Delay = F(CPU%)
0
10
20
30
40
50
60
70
80
90
100
0 10 20 30 40 50 60 70 80 90 100
CPU%
% o
f T
ime
OCPU1%
OCPU2%
Does this look like a Queuing theory graph? But who is being delayed? This is a nice graph because of the stable environment.
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
I/O Delay by Workload
0
5
10
15
20
25
30
35
40
45
50
0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 5500 6000 6500 7000 7500
I/O Rate
% D
ela
y
SYSTEM
ONLINE1
Network
OIMS
PCICS
PMPR
STCMD
PBATHI
PBATMD
PBATLO
![Page 10: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/10.jpg)
SHARE March 2011
(c)Ray Wicks 2011 10
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
4 Typical Tasks
Dispatcher
RW
Guess who gets all they want? How much do we, the little people, get if there’s one server? Two servers? Four servers? What’s best?
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
4 Typical Tasks on the Ready Queue(Latent Demand)
Dispatcher
RW
What happens when you migrate from 2 slow servers to 1 fast server?
Who complains?
How can you anticipate the result?
![Page 11: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/11.jpg)
SHARE March 2011
(c)Ray Wicks 2011 11
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Exceptions
0
10
20
30
40
50
60
70
80
90
100
0:00
2:15
4:30
6:45
9:00
11:1
5
13:3
0
15:4
5
18:0
0
20:1
5
22:3
0
0:45
3:00
5:15
7:30
9:45
12:0
0
14:1
5
16:3
0
18:4
5
21:0
0
23:1
5
CP
U%
Discretionary
DDFDEFLT
JESHIGH
DBAMED
CICSMED
STARTTSK
DBAHIGH
JESCRIT
CICS
STCHIGH
STCHIGH2
STCCRIT
ADABAS
SYSTEM
How busy is this system? Pick an interval to model.
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Remove Discretionary?
Importance(Priority)
How busy is this system? If discretionary work is excluded, it peaks around 92%. Otherwise it peaks at 100%.
0
10
20
30
40
50
60
70
80
90
100
0:00
3:30
7:00
10:3
0
14:0
0
17:3
0
21:0
0
0:30
4:00
7:30
11:0
0
14:3
0
18:0
0
21:3
0
CP
U%
DDFDEFLT
JESHIGH
DBAMED
CICSMED
STARTTSK
DBAHIGH
JESCRIT
CICS
STCHIGH
STCHIGH2
STCCRIT
ADABAS
SYSTEM
![Page 12: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/12.jpg)
SHARE March 2011
(c)Ray Wicks 2011 12
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Workload Profile (NFU, BU)
Resource Demandsat Modeled ServiceCenters
Homogeneous?Heterogeneous?Grouped?
SMF Data Groupings RMF (70s)Performance GroupsService Classes
SMF Data (30s, 42s, etc)Job NameProgram NameDept. NameRACF ID....
Resource DescriptionCPU TimeI/O RateI/O Devices, Data Sets, Rate, RespStorage (MB)Transaction RateTransaction RespSysplex
DASD
DASD
GKWE
Thinking
CPU
Memory
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Growth Laws
Moore's Law describes an important trend in the history of computer hardware: that the number of transistors that can be inexpensively placed on an Integrated circuit is increasing exponentially, doubling approximately every two years.
Gates' Law says that the speed of software halves every 18 months.
Maintenance adds path length → MIPS per Transaction goes up. User transactions increase in complexity →MIPS per Transaction go up.
![Page 13: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/13.jpg)
SHARE March 2011
(c)Ray Wicks 2011 13
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Growth Laws
0
1
2
3
4
5
6
7
0 6 12 18 24 30 36 42 48
Months
Rat
io
Moore's Law
Gates Law
Behind
11% 21% 29% 37%
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Capacity Planning
SLO
Time
Resource Usage
t0
CP Actions
Starting from a single point at t0, we project growth until some threshold is reached– a Service level Objective or Agreement (SLO, SLA).
Then we take action.
![Page 14: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/14.jpg)
SHARE March 2011
(c)Ray Wicks 2011 14
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
SLO or SLA for a Workload Group
Interactive
For some number of users
At some threshold transaction rate
At some threshold Response Time
At some amount of power & I/O
Batch
For some number of Jobs
At some rate
At some about of power & I/O
At some turn-around threshold
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Capacity Planning Actions
Upgrade Hardware Add CPs (PUs) New Model Add Another CPC
Move Workload to another image Split Workload and move a piece Tune it? Continue to Suffer
![Page 15: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/15.jpg)
SHARE March 2011
(c)Ray Wicks 2011 15
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
How Accurate Is It?
Time
Prediction
t0
Starting from an initial point of maybe dubious accuracy, we apply a growth rate (also dubious) and then recommend actions costing lots of money.
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Accuracy
Timet0Time
Prediction
t0
Accuracy is found in values that are close to the expected curve. This closeness implies an expected bound or variation in reality. So a thicker line makes sense.
![Page 16: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/16.jpg)
SHARE March 2011
(c)Ray Wicks 2011 16
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Fuzzy Patches
Time
Prediction
t0 t
p
Time
Prediction
t0 t
p
At time t, is the prediction a precise point p or a fuzzy patch?
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Fuzzy Factors
Basis for prediction is a single sample taken from a set of samples with some distribution.
Growth Factor applied may be just better than fiction.
Prediction compounds the fuzz and is itself fuzzy.
Niels Bohr: “Prediction is very hard to do. Especially about the future.”
![Page 17: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/17.jpg)
SHARE March 2011
(c)Ray Wicks 2011 17
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Modeling Interval Selection
Overall Usage By pool: GCPs, zIIPs, zAAPs, IFLs, ICFs Percentile selection: 90th, 95th, or Peak? What does your SLA say?
Filter by Date (avoid weekends and holidays) Time (shift or business period) Target CPC(s)
Target partitions Target workloads (by importance)
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Interval Selection Step 1
Eliminate unwanted days (weekend) and hours (just prime shift)
![Page 18: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/18.jpg)
SHARE March 2011
(c)Ray Wicks 2011 18
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Interval Selection Step 2
Select interval for business partitions. Peak? 90th percentile?
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
GCPs by Sample Interval
Remember: Logical configuration determines MIPS.
Selected interval 4/11, 14:00
![Page 19: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/19.jpg)
SHARE March 2011
(c)Ray Wicks 2011 19
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
CPC – GCP Pool
Saturation Design Point = 90%
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
zAAP Pool
![Page 20: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/20.jpg)
SHARE March 2011
(c)Ray Wicks 2011 20
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Just Growth Utilization Analysis at 40% GCP Pool
Saturation Design Point = 90%
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
zAAP Pool at 40%
Potential zAAP MIPS (GCP MIPS)Added to zAAP MIPS.
![Page 21: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/21.jpg)
SHARE March 2011
(c)Ray Wicks 2011 21
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Logical GCP Workload View
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Adjusted Workload Data
Remove SYSTEM workloads, adjust capture ratios. Delete BATLO and add back 5% for BATLOW1.
![Page 22: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/22.jpg)
SHARE March 2011
(c)Ray Wicks 2011 22
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Logical Projection
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Physical Projection
Physical CPU% * Growth Factor. Include other partitions.
![Page 23: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/23.jpg)
SHARE March 2011
(c)Ray Wicks 2011 23
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
What Really Happens
After CPC reaches 100%, CPU% is distributed by weight Within SYSTEMK, the CPU% is distributed by priority (importance). Lower priority work gets squeezed.
SYSTEMKWeight=38%
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Frames
Pa
gin
g
What you need?? What you may have (RMF).
Storage Projection
![Page 24: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/24.jpg)
SHARE March 2011
(c)Ray Wicks 2011 24
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Storage = F(CPU%)?
0
1000
2000
3000
4000
5000
6000
7000
0:59
1:59
2:59
3:59
4:59
5:59
6:59
7:59
8:59
9:59
10:5
911
:59
12:5
913
:59
14:5
915
:59
16:5
917
:59
18:5
919
:59
20:5
921
:59
CS
Sto
r M
B.
CSAvail
BATDEVMD
BATPRDMD
BATPRDHI
STCMD
IMSPRDMD
STCHI
IMSPRDHI
SYSSTC
SYSTEM
0
10
20
30
40
50
60
70
80
0:59
1:59
2:59
3:59
4:59
5:59
6:59
7:59
8:59
9:59
10:5
911
:59
12:5
913
:59
14:5
915
:59
16:5
917
:59
18:5
919
:59
20:5
921
:59
CP
U%
BATDEVMD
BATPRDMD
BATPRDHI
STCMD
IMSPRDMD
STCHI
IMSPRDHI
SYSSTC
SYSTEM
Who is Using Storage?
Who is Using CPU?
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Expectations for Batch
y = 1.9425x + 37.949
R2 = 0.66810
20
40
60
80
100
0 5 10 15 20 25 30
CPU%
CS
MB
.
![Page 25: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/25.jpg)
SHARE March 2011
(c)Ray Wicks 2011 25
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Expectations for DB/DC
y = 2.1054x + 2383.7
R2 = 0.01192000
2100
2200
2300
2400
2500
2600
2700
0 5 10 15 20 25
CPU%
CS
M
B.
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
DB/DC Scaled to 0
y = 2.1054x + 2383.7
R2 = 0.0119
0
500
1000
1500
2000
2500
3000
0 5 10 15 20 25
CPU%
CS
M
B.
Note: R2 doesn’t change whereas perception does.
![Page 26: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/26.jpg)
SHARE March 2011
(c)Ray Wicks 2011 26
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Storage Growth
Size depends upon the number of address spaces
If growth More Address Spaces more storage
OR....
Some applications storage requirements grow as the load grows. Typically it’s those applications where growth means more address spaces (TSO, batch). DB/DC often has workload growth without an increase in storage. Only after the number of address spaces increase does the storage change.
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Cache CU DISK
Local I/O SubsystemLocal Storage Hierarchy
?
CPU
Cache
Central Storage (RAM)
Expanded Storage
ProcessorRemote I/O Subsystem
Cache CU DISK
Remote I/O
![Page 27: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/27.jpg)
SHARE March 2011
(c)Ray Wicks 2011 27
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
CENTRAL STORAGEMIN MAX AVG
AVAILABLE 1450630 1917651 1638857 SQA 17,478 18,443 17,840 LPA 9,842 9,842 9,842CSA 43,884 43,946 43,913 LSQA 178,761 180,850 179,946 REGIONS+SWA 4379708 4845902 4658493 TOTAL FRAMES 6553600 6553600 6553600
FIXED FRAMES NUCLEUS 2,629 2,629 2,629SQA 15,528 16,493 15,890 LPA 90 90 90CSA 12,187 12,187 12,187LSQA 65,380 67,270 66,451 REGIONS+SWA 60,380 73,810 61,791 BELOW 16 MEG 76 98 78 BETWEEN 16M-2G 38,193 39,699 39,097 TOTAL FRAMES 157,643 170,842 159,039
RMF Partition Report
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Sample Partitions
0
10,000
20,000
30,000
40,000
50,000
60,000
70,000
80,000
90,000
0 2000 4000 6000 8000
MIPS
PS
filt
ered Samples
![Page 28: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/28.jpg)
SHARE March 2011
(c)Ray Wicks 2011 28
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
0
10,000
20,000
30,000
40,000
50,000
60,000
70,000
80,000
90,000
0 2000 4000 6000 8000
MIPS
PS
filt
ered
Samples
D=1.5
D=1.6
D=1.7
D=1.8
D=1.9
Projection: Approach 1Use and exponential function CS=4000 + 0.04*(MIPS_Used)^D
Known Known
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Projection Approach 1
0
10000
20000
30000
40000
50000
60000
0 1000 2000 3000 4000 5000
MIPS
CS
MB
Input
Proj CS D
CS=25600, MIPS=2689IF 25600 = 4000 + 0.04*(2689)^DThen D=LOG(((25600-4000)/0.04),10)/LOG(2689,10)D= 1.671451Apply 30% per annum growth to MIPSUse formula CS=4000+0.04*(MIPS)^1.671451 for future MIPS to project CS.
![Page 29: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/29.jpg)
SHARE March 2011
(c)Ray Wicks 2011 29
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Projection Approach 2
Use ratio CS/MIPSCS=25600, MIPS=2689; CS/MIPS = 9.52CS/MIPS metric is [10%, 50%, 90%] = [6.77, 14.06, 37.31]CS = 9.52 * MIPS
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Result
Quarter CS MIPS Ratio Proj CS D Ratio Proj CS/MIPS Ratio D CS/MIPSInput 0 25600 2689 25600 25600 1.671451 9.520268
1 2872 1.068 28111 1.098 27341 1.068 2 3067 1.068 30913 1.100 29200 1.0683 3276 1.068 34041 1.101 31186 1.0684 3498 1.068 37533 1.103 33306 1.0685 3736 1.068 41431 1.104 35571 1.0686 3990 1.068 45782 1.105 37990 1.0687 4262 1.068 50638 1.106 40573 1.0688 4552 1.068 56059 1.107 43332 1.068
Note 6.8% quarterly growth is 30% per annum.
0
10000
20000
30000
40000
50000
2000 2500 3000 3500 4000 4500
MIPS
CS
MB
InputProj CS DProj CS/MIPS
![Page 30: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/30.jpg)
SHARE March 2011
(c)Ray Wicks 2011 30
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
CP Alternatives
ROTs
Trending
Analytic Modeling
Simulation
Benchmark
Difficulty (Time) & Cost ($$$)
Accuracy
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Rules of Thumb
ROTs (thresholds) are often quite adequate for CP
Useful for Health Check
![Page 31: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/31.jpg)
SHARE March 2011
(c)Ray Wicks 2011 31
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Rules of Thumb
Honor your Father & Mother
Do unto others as you would have them do unto you.
Do unto others before they do unto you.
Keep your CPU%<90%
Don’t swim soon after eating.
It is better to give than receive.
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Philosophical Remark
We understand a Rule by trying to break it.Or
Learn the rules so you know how to break them correctly.
All swans are white ≡ There does not exist a swan which is not white
![Page 32: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/32.jpg)
SHARE March 2011
(c)Ray Wicks 2011 32
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Balanced System ROTs
DASD
DASD
GKWE
Thinking
CPU
Memory
MIPS used, memory used, I/O used should be in some proportion.
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Expected Bounds
The resource ratio is shown as a bar. If the bar is above the 90%ile line, it means that the value was in the top 10% of the samples reviewed. Similarly, if the bar is below the 10%ile line, the value is in the bottom 10%. Neither is good or bad., it’s an flag to examine the amount of resource available.
![Page 33: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/33.jpg)
SHARE March 2011
(c)Ray Wicks 2011 33
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Trending
Trending predicts the future if the future looks like the past.
Time Series Trending is complicated.
Trending can answers overall CP questions.
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Analytic Modeling
DASD
DASD
GKWE
Thinking
CPU
Memory
Pre-built packages can be fast to solve and relatively easy to use. Flow is statistically driven and usually predefined. Accuracy? Utilization within 5% Response times within 30%
Data acquisition is key. Calibration can be tough. Custom analytic models are really tough. Requires technical staff. Services are Available.
![Page 34: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/34.jpg)
SHARE March 2011
(c)Ray Wicks 2011 34
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
ROTs & Analytic Modeling
Res
po
nse
Tim
e
System Utilization
Low
Middle
Hi
0.0
20.0
40.0
60.0
80.0
100.0
120.0
Jun-07
Jul-07 Aug-07
Sep-07
Oct-07 Nov-07
Dec-07
Jan-08
Feb-08 Mar-08
Apr-08
CP
U%
Low
Middle
Hi
The relationship between Utilization and Server Response is sensitive to the priority of the workload. Utilization in Response time is “perceived utilization”. Watch out for: Logical vs physical utilization and single task workloads.
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Simulation Pre-built packages are slower to solve and can be relatively easy to use. Flow is statistically driven and usually predefined but can be customized. (Application modeling.) Accuracy?
Utilization within 5% Response times within 30%
Data acquisition is key. Calibration can be tough. Custom models are build from service center building blocks. Simulation languages do exist. Specialized staff. Services exist.
DASD
DASD
GKWE
Thinking
CPU
Memory
![Page 35: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/35.jpg)
SHARE March 2011
(c)Ray Wicks 2011 35
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Benchmark
A lot of work in preparation Hardware/SoftwareWorkload Lot's of time.
It does mimic the running environment the best. Software flow & queuing Software usage It's expensive. Variations limited by resources. Given the resources the benchmark can be complicated. Tests the environment - does it work?
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
CP Alternatives
Difficulty
Accuracy
ROTs
Benchmark
AnalyticModel
Simulation
Trending
What questions do you have?What questions must you answer? Cost of the answer? Cost of getting it wrong? Time line?What happens if you get it wrong?
![Page 36: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/36.jpg)
SHARE March 2011
(c)Ray Wicks 2011 36
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Things to Remember
Be aware of the exceptions to the rule.
A framework helps but it can make you see things that just aren't there.
Impeccable mathematics does not replace knowledge of the facts.
Protect yourself.
Business decisions can override technical issues.
Sometimes being understood is more important than being very accurate.
Being "very" accurate may be a luxury of the idle.
Other than the technicalities, there may be a hidden agenda.
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Bibliography - I
The Art of Computer Systems Performance Analysis, by Raj Jain, Wiley. I like this one. It is thorough and complete. A very good reference.Capacity Planning for Web Performance, by Daniel A. Menasce and Virgilio A.F. Almeida, Prentice Hall. A good book on network structure and terminology and introduction to the topic.Probability, Statistics, and Queuing Theory, by Arnold O. Allen, Academic Press Inc. This is the classic in queuing theory.Performance by Design: computer capacity planning by example. By Daniel A. Menascé, Virgilio A. F. Almeida, and L. W. Dowdy. The web site http://cs.gmu.edu/~menasce/perfbyd/ has a lot of .xls modeling worksheets. MVS I/O Subsystems, by Gilbert E. Houtekamer and H. Pat Artis, Performance Associates. More than you want to know about the I/O subsystem. A definitive source but is a little out of date. Is available from Intellimagic or perfassoc.com. Exploring IBM S/390 Computers, by Jim Hoskins and George Coleman, Maximum Press. A general introduction to S/390 hardware and architecture. (with IBM G326-3006-06)Statistical Concepts and Methods, by Gouri Bhattacharyya and Richard A. Johnson, John Wiley & Sons.The Practical Performance Analyst, by Neil J. Gunther, Authors Choice Press. A very good book.Almost any volume of the Computer Measurement Group (CMG) Proceedings is worth
looking at for performance and capacity planning articles. Web Site: http://www.cmg.org/measureit/
![Page 37: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/37.jpg)
SHARE March 2011
(c)Ray Wicks 2011 37
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Bibliography - II
GC28-1761 MVS™ Planning: Workload Management. A guide to WLM.SC28-1950 Resource Measurement Facility Report Analysis. A guide to report reading.SC28-1951 Resource Measurement Facility Performance Management Guide. A good tutorial to get started.SG24-5975 IBM zSeries 900 Technical Guide. A good hardware architecture and implementation Red Book.LY28-1042 RMF™ Support for LPAR Management Time. Want to know how LPAR works?SC28-1187 Large Systems Performance Reference by John Fitch. John goes into detail about the LSPR data.SG24-4356 System/390® MVS Parallel Sysplex Performance. A good Red Book on Parallel Sysplex RMF reports and data.SG24-4680 System/390 MVS Parallel Sysplex Capacity Planning . A good Red Book on the function and capacity of Parallel Sysplex.
A great URL for z/Series documents in general: http://www-1.ibm.com/servers/eserver/zseries/zos/bkserv/RMF in particular:http://www-1.ibm.com/servers/eserver/zseries/zos/bkserv/r4pdf/rmf.htmlFor zPCR,search www.ibm.com for “zPCR” & “SoftCap”
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Bibliography - III
EXCEL:Applied Statistics For Engineers and Scientists Using Excel and MINITAB, by David Levine, Patricia Ramsey, Robert Smidt, Prentice Hall. This comes with a CD containing handy Excel Add-Ins.Excel Data Analysis by Jinjier Simon, Wiley. Nice basic reference concentrating on data presentation.
Other Good Stuff:The Black Swan: The Impact of the Highly Improbable, by Nassim Nicholas Taleb, Random House. This is an informative and entertaining approach to statistical analysis among other things.
Statistics as Principled Argument, Robert Abelson, Erlbaum Assoc. Publishers, 1995. Go good discussion of the use of statistics without the ugly formulae.
Judgment under uncertainty: Heuristics and biases, Kahneman, Slovic, & Tversky, Cambridge University Press. The first chapter alone is worth reading. It’s a summary of the pitfalls with intuitive thinking.
![Page 38: SHARE Getting Started in CP HO2 by the IBM services and technical ... His recent virtual sessions “Getting Started in Performance Analysis & Capacity ... 0 1020 3040 5060 7080 90](https://reader034.vdocument.in/reader034/viewer/2022051802/5aea41e17f8b9a90318b65c4/html5/thumbnails/38.jpg)
SHARE March 2011
(c)Ray Wicks 2011 38
Advanced Technical Skills (ATS) North America
© 2010 IBM Corporation
Ray Wicks’ Monographs
CPS document for this presentation and other interesting monographs can be obtained from your favorite IBMer. Goto:ftp://cpstools.washington.ibm.com/zcp3000/winLook for: Getting Started In CP.These have been published in cmg.org/measureit.