Capacity Planning in Client-Server Environments.ppt
《Capacity Planning in Client-Server Environments.ppt》由会员分享,可在线阅读,更多相关《Capacity Planning in Client-Server Environments.ppt(137页珍藏版)》请在麦多课文档分享上搜索。
1、Capacity Planning in Client/Server Environments,Daniel A. Menasc George Mason University Fairfax, VA 22030 USA menascecs.gmu.edu,Outline,Part I: Client/Server Systems Part II: Introduction to Capacity Planning Part III: A Capacity Planning Methodology for C/S Environments Part IV: Performance Predic
2、tion Models for C/S Environments,Outline (continued),Part V: Advanced Predictive Models of C/S Systems Part VI: Case Study Bibliography,Part I: Client/Server (C/S) Systems,Definitions and Basic Concepts,ClientServerWork division between client and serverClient/Server communication,DB server,DB serve
3、r,Definitions and basic concepts,Definitions and basic concepts: Client,Workstation with graphics and processing capabilities. Graphical User Interface (GUI) implemented at the client. Partial processing executed at the client.,Definitions and basic concepts: Server,Machine with much larger processi
4、ng and I/O capacity than the client. Serves the various requests from the clients. Executes a significant portion of the processing and I/O of the requests generated at the client.,Work division between client and server,GUI,COMM.,COMM.,I/O,Pre & Post Process.,Processing,DB,Client,Server,communicati
5、ons network,Interaction between client and server Remote Procedure Call (RPC),client,DB server,pre-proces- sing,post-proces- sing,server processing,execute_SQL(par1,par2,.),result_SQL(.),Part II: Introduction to Capacity Planning,Migration to C/S example: “downsizing” a claim processing application,
6、DB server connected to several PCs through an Ethernet LAN GUI application executing at the PCs LAN connected to the enterprise mainframe through a T1 line DB server is updated every night.,Migration to C/S systems mainframe based system,mainframe,T1 line,Migration to C/S DB server based system,main
7、frame,T1 line,DB server,LAN,gateway,Migration to C/S: some important questions,How many clients can be supported by the DB server while maintaining a response time below 2.5 sec? How long does it take to update the DB every night?,Migration to C/S example: measurements with a prototype,During 30 min
8、utes (1,800 sec): 25% CPU utilization 30% disk utilization800 transactions were executed Each transaction used:1,800 * 0.25 / 800 = 0.56 sec of CPU and1,800 * 0.30 / 800 = 0.68 sec of disk.,Good News and Bad News,Good News: we know the CPU and I/O service time of each transaction. Bad News: transact
9、ions at the DB server compete for CPU and I/O queues will form at each device. We dont know how long each transaction waits in the queue for the CPU and for the disk.,DB Server Model,arriving transactions,DB server,departing transactions,CPU or I/O Times,service demand= 0.56 seg,queue waiting time,?
10、,Capacity Planning Definition,Capacity Planning is the process of predicting when the service levels will be violated as a function of the workload evolution, as well as the determination of the most cost-effective way of delaying system saturation.,C/S Migration Example: desired results,no. of clie
11、nt workstations,response time (sec),service level,Part III: A Capacity Planning Methodology for Client/Server Environments,Configuration Plan,Investment Plan,Personnel Plan,Understanding the Environment,Workload Characterization,Workload Model,Validation and Calibration,Workload Forecasting,Performa
12、nce Prediction,Cost Prediction,Valid Model,Cost Model,Developing a Cost Model,Performance Model,Cost/Performance Analysis,Capacity Planning Methodology for Client Server Environments,Configuration Plan,Investment Plan,Personnel Plan,Understanding the Environment,Workload Characterization,Workload Mo
13、del,Validation and Calibration,Workload Forecasting,Performance Prediction,Cost Prediction,Valid Model,Cost Model,Developing a Cost Model,Performance Model,Cost/Performance Analysis,Capacity Planning Methodology for Client Server Environments,Understanding the Environment,Hardware and System Softwar
14、e Network Connectivity Map Network Protocols Server Configurations Types of Applications Service Level Agreements Support and Management Structure Procurement Procedures,Example of Understanding the Environment,5,000 PCs (386 e 486) running DOS and Windows 3.1 and 800 UNIX workstations.IBM MVS mainf
15、rame. 80 LANs in 20 buildings connected by an FDDI 100 Mbps backbone. 50 Cisco routers. Network technologies: FDDI, Ethernet, T1 links and Internet.,Example of Understanding the Environment (continued),Protocols being routed: TCP/IP and Novell IPX. Servers: 80% are 486 and Pentiums and 20% are RISC
16、workstations running UNIX. Applications: office automation (e-mail, spreadsheets, wordprocessing), access to DBs (SQL servers) and resource sharing. Future applications: teleconferencing, EDI, image processing.,Configuration Plan,Investment Plan,Personnel Plan,Understanding the Environment,Workload
17、Characterization,Workload Model,Validation and Calibration,Workload Forecasting,Performance Prediction,Cost Prediction,Valid Model,Cost Model,Developing a Cost Model,Performance Model,Cost/Performance Analysis,Capacity Planning Methodology for Client Server Environments,Workload Characterization,Pro
18、cess of partitioning the global workload into subsets called workload components. Examples of workload components:DB transactions,requests to a file server or,jobs with similar characteristics. Workload components are composed of basic components.,Workload Characterization: workload components and b
19、asic components,Workload Characterization Basic Component Parameters,Workload Intensity Parameters number of messages sent/hour number of query transactions/sec Service Demand Parameters average message length average I/O time per query transaction.,Workload Characterization Methodology,Identificati
20、on of Workload Components Identification of Basic Components. Parameter Selection. Data Collection: benchmarks and ROTS(Rules of Thumb) may be used. Workload partitioning: averaging and clustering.,Workload Characterization Data Collection Alternatives,Benchmarks,National Software Testing Laboratori
21、es (NSTL): servers and applications. Transaction Processing Council (TPC) System Performance Evaluation Cooperative (SPEC) AIM Benchmark suites,Configuration Plan,Investment Plan,Personnel Plan,Understanding the Environment,Workload Characterization,Workload Model,Validation and Calibration,Workload
22、 Forecasting,Performance Prediction,Cost Prediction,Valid Model,Cost Model,Developing a Cost Model,Performance Model,Cost/Performance Analysis,Capacity Planning Methodology for Client Server Environments,Workload Model Validation,Configuration Plan,Investment Plan,Personnel Plan,Understanding the En
23、vironment,Workload Characterization,Workload Model,Validation and Calibration,Workload Forecasting,Performance Prediction,Cost Prediction,Valid Model,Cost Model,Developing a Cost Model,Performance Model,Cost/Performance Analysis,Capacity Planning Methodology for Client Server Environments,Workload F
24、orecasting,Process of predicting the workload intensity.,tps,Workload Forecasting Forecasting Business Units,Number of business elements that determine the workload evolution number of invoices number of accounts number of employees number of claims number of beds,Workload Forecasting Methodology,Ap
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- CAPACITYPLANNINGINCLIENTSERVERENVIRONMENTSPPT
