Capacity Planning and Predicting Growth for Vista
description
Transcript of Capacity Planning and Predicting Growth for Vista
![Page 1: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/1.jpg)
Capacity Planning and Predicting Growth for Vista
Amy Edwards, Ezra Freeloe and George Hernandez
University System of Georgia
2007
Amy Edwards,Ezra Freelove,
George HernandezUniversity System of Georgia
Blackboard World 2007
![Page 2: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/2.jpg)
2
Capacity planning...
is the process of determining the production capacity needed by an organization to meet changing demands for its products. In the context of capacity planning, “capacity” is the maximum amount of work that an organization is capable of completing in a given period of time.
http://en.wikipedia.org/wiki/Capacity_planning
![Page 3: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/3.jpg)
3
In information technology...
capacity planning is the science and art of estimating the space computer hardware, software and connection infrastructure resources that will be needed over some future period of time.
http://searchdatacenter.techtarget.com/sDefinition/0,,sid80_gci1082579,00.html
![Page 4: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/4.jpg)
4
We should not, but often do...
simply guess at the capacity requirement, then overbuy servers to ensure that there will always be sufficient processor power.
![Page 5: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/5.jpg)
5
Three Steps...
1.Determine Service Level requirements, categorize the work done by systems and quantify users' expectations.
2.Analyze Current Capacity, and how the needs of the clients are being met.
3.Predict future activity, and plan future system requirements needed to maintain service levels.
![Page 6: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/6.jpg)
6
1. Determine Service Level Requirements:
● Determine workloads, a logical grouping of work performed (who, what or how).
● Define units to measure workload (clients served, total transactions or processes).
● Decide on a level of performance which defines acceptable service (number of requests processed per unit of time, overall response time or throughput)
![Page 7: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/7.jpg)
7
2. Analyze Current Capacity
● Measure any items in current SLA.● Measure system resource usage (CPU,
memory, I/O, etc.)● Map resource utilization to workloads.● Determine which system resources are
responsible for the greatest portion of the response time for each workload.
![Page 8: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/8.jpg)
8
3. Predict future activity and plan
● Determine future processing requirements.● Expected usage growth● Implementing upgrades● Requests for new services● Hardware replacements
● Plan future system configuration.
![Page 9: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/9.jpg)
9
Determine workloads
● Identification of components● client/server performance● Web server performance● Database server performance● Network performance
* Performance is defined at the end-to-end response time for components of your infrastructure that impact the end user's perception of response time.
![Page 10: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/10.jpg)
10
Define workload units
● Measure utilization rates for the platforms and servers that make up the application.● Application sessions, servlets, JVM, EJB,
JDBC, storage.● Server CPU, memory, load, I/O, disk space ● Network bandwidth, types of traffic (multicast,
http, ifs, sockets), load balancers, firewalls.
![Page 11: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/11.jpg)
11
Workload example
● Formula:Total Sizing = Overhead + (Workload * Factor)* Overhead is everything else
* Factor is how much the workload has changed.
● Example of HTTP workload CPU usage:● If Current CPU data: 15% (10 %usr + 5 %sys)● And OVERHEAD is 5% total usage● And the Growth Factor is 5
Predicted CPU Usage: 80% = 5% + (15% * 5)
![Page 12: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/12.jpg)
12
Workload example continued
● Example of mixed workload:● DB Workload 45% (35 %usr + 10 %sys)● HTTP Workload 15% (10 %usr + 5 %sys)● OVERHEAD is 15% total usage● Total Usage = 75%● Growth Factor for BOTH is 2
Predicted CPU Usage usage is 135% = 15% + (15% * 2) + (45% * 2)
![Page 13: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/13.jpg)
13
WebLogic Application Servers
● Server CPU, memory, load, I/O, disk space● Number of sessions, servlets, JVM, EJB,
JDBC● Processing multicast traffic, http
connections, ifs users, open sockets● Unique actions (GC, SIAPI/IMS, backups,
restores, uploads, downloads, JMS and administrative node connections)
![Page 14: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/14.jpg)
14
Weblogic Application notes
● Use verbose garbage collection to measure how much time and resources are used during garbage collection.
● Storage for SSL and other local transactions (backups, uploads, downloads, logs, dumps)
● SSL protocols require three times the CPU as non-SSL connections. SSL can reduces the capacity of the server by about 33 to 50 percent.
● Session objects are tracked in memory, either to RAM or swapping to disk. As concurrent sessions increase Java will need more RAM for the Java heap.
● Maximum number of user interactions per second.
![Page 15: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/15.jpg)
15
Http use
![Page 16: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/16.jpg)
16
Webserver statistics for d.view
![Page 17: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/17.jpg)
17
Webserver statistics for u.view
![Page 18: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/18.jpg)
18
Active vs Total Users
* Active users is the number of unique users actively using the system.
* Total users is the total number of unique users on the system.
![Page 19: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/19.jpg)
19
Database Servers
● Server CPU, memory, load, I/O, disk space● Number of connections● ifs users● Open sockets● Unique actions (SIAPI/IMS, backups,
restores, uploads, downloads)
![Page 20: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/20.jpg)
20
Oracle database notes
● Number of processes and shadow processes.● Shared pool, part of SGA, caches data for the library
cache and the dictionary cache.● Maximum opened cursor.● Sort area size. Increasing the sort area increases the
performance of large sorts by allowing them to be performed in memory during query processing.
● Storage and growth● Database server's CPU, load memory and I/O usage
![Page 21: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/21.jpg)
21
Database growth
![Page 22: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/22.jpg)
22
Database Load
![Page 23: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/23.jpg)
23
Database CPU
![Page 24: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/24.jpg)
24
Database memory
![Page 25: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/25.jpg)
25
IFS Users
![Page 26: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/26.jpg)
26
Network
● Network bandwidth (multicast traffic, http connections, ifs users, open sockets)
● Load balancer (SSL, iRules), firewalls
![Page 27: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/27.jpg)
27
Network notes
● A WebLogic server handling programmatic clients should have 125 to 150 percent the bandwidth that a server with Web-based clients would handle. You can assume that each 56kbps (kilobits per second) of bandwidth can handle between seven and ten simultaneous requests.
● In a WebLogic cluster, in-memory replication of session information information for servlets and stateful session EJBs is the biggest consumer of LAN bandwidth.
● Large clusters performing in-memory replication of session data for EJBs or servlets require more bandwidth than smaller clusters.
![Page 28: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/28.jpg)
28
Direct login tests
![Page 29: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/29.jpg)
29
Network bandwidth for d.view
![Page 30: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/30.jpg)
30
Network bandwidth u.view
![Page 31: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/31.jpg)
31
Performance Modeling
● Predictions● based on expected amount of incoming work● base on requirements for implementation● trends in historical data of incoming work
![Page 32: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/32.jpg)
32
References
● The Art of Capacity Planning. 18 Nov 2002. Arunabh Hazarika, Srikant Subramaniam. http://dev2dev.bea.com/pub/a/2002/11/Hazarika.html
● BEA Weblogic Server 8.1 Documentation: Capacity Planning. http://edocs.bea.com/wls/docs81/capplan/index.html
![Page 33: Capacity Planning and Predicting Growth for Vista](https://reader035.fdocuments.in/reader035/viewer/2022062408/56813b77550346895da48b12/html5/thumbnails/33.jpg)
33
Terms
● Enterprise JavaBeans (EJB)● Java Virtual Machine (JVM)● Java servlets (servlets) ● JavaServer Pages (JSP)● Kilobits per second (kbps)● Remote Method Invocation (RMI)● Secure sockets layer (SSL)● Transactions per second (TPS)