Case Study: Load Balancing



Similar documents
Robust Design of Public Storage Warehouses. Yeming (Yale) Gong EMLYON Business School

A Load-Balancing Algorithm for Cluster-based Multi-core Web Servers

The Development of Web Log Mining Based on Improve-K-Means Clustering Analysis

A heuristic task deployment approach for load balancing

1. Fundamentals of probability theory 2. Emergence of communication traffic 3. Stochastic & Markovian Processes (SP & MP)

Forecasting the Direction and Strength of Stock Market Movement

Luby s Alg. for Maximal Independent Sets using Pairwise Independence

SDN: Systemic Risks due to Dynamic Load Balancing

An Adaptive Cross-layer Bandwidth Scheduling Strategy for the Speed-Sensitive Strategy in Hierarchical Cellular Networks

The Load Balancing of Database Allocation in the Cloud

The Greedy Method. Introduction. 0/1 Knapsack Problem

PAS: A Packet Accounting System to Limit the Effects of DoS & DDoS. Debish Fesehaye & Klara Naherstedt University of Illinois-Urbana Champaign

An Interest-Oriented Network Evolution Mechanism for Online Communities

Analysis of Energy-Conserving Access Protocols for Wireless Identification Networks

Efficient On-Demand Data Service Delivery to High-Speed Trains in Cellular/Infostation Integrated Networks

CALL ADMISSION CONTROL IN WIRELESS MULTIMEDIA NETWORKS

Akinbola Adetunji Hadi Larijani. School of Engineering and Computing Glasgow Caledonian University Glasgow, G4 0BA, UNITED KINGDOM

Traffic State Estimation in the Traffic Management Center of Berlin

An Introduction to 3G Monte-Carlo simulations within ProMan

Data Broadcast on a Multi-System Heterogeneous Overlayed Wireless Network *

Rate Monotonic (RM) Disadvantages of cyclic. TDDB47 Real Time Systems. Lecture 2: RM & EDF. Priority-based scheduling. States of a process

Load Balancing By Max-Min Algorithm in Private Cloud Environment

1 OPTIMIZATION ISSUES IN WEB

Open Access A Load Balancing Strategy with Bandwidth Constraint in Cloud Computing. Jing Deng 1,*, Ping Guo 2, Qi Li 3, Haizhu Chen 1

Performance Analysis of Energy Consumption of Smartphone Running Mobile Hotspot Application

J. Parallel Distrib. Comput. Environment-conscious scheduling of HPC applications on distributed Cloud-oriented data centers

Power-of-Two Policies for Single- Warehouse Multi-Retailer Inventory Systems with Order Frequency Discounts

Resource Sharing Models and Heuristic Load Balancing Methods for

On File Delay Minimization for Content Uploading to Media Cloud via Collaborative Wireless Network

Cross-Selling in a Call Center with a Heterogeneous Customer Population

VoIP Playout Buffer Adjustment using Adaptive Estimation of Network Delays

Cost Minimization using Renewable Cooling and Thermal Energy Storage in CDNs

When Network Effect Meets Congestion Effect: Leveraging Social Services for Wireless Services

Effective Network Defense Strategies against Malicious Attacks with Various Defense Mechanisms under Quality of Service Constraints

TOFEC: Achieving Optimal Throughput-Delay Trade-off of Cloud Storage Using Erasure Codes

Stochastic Games on a Multiple Access Channel

Self-Adaptive SLA-Driven Capacity Management for Internet Services

On-Line Fault Detection in Wind Turbine Transmission System using Adaptive Filter and Robust Statistical Features

Retailers must constantly strive for excellence in operations; extremely narrow profit margins

Quantitative Modeling and Analysis with FMC-QE

On the Interaction between Load Balancing and Speed Scaling

How To Plan A Network Wide Load Balancing Route For A Network Wde Network (Network)

Improved SVM in Cloud Computing Information Mining

Cooperative Load Balancing in IEEE Networks with Cell Breathing

Heuristic Static Load-Balancing Algorithm Applied to CESM

Basic Queueing Theory M/M/* Queues. Introduction

How To Solve An Onlne Control Polcy On A Vrtualzed Data Center

Optimal Scheduling in the Hybrid-Cloud

Multi-sensor Data Fusion for Cyber Security Situation Awareness

QoS-Aware Active Queue Management for Multimedia Services over the Internet

Cloud-based Social Application Deployment using Local Processing and Global Distribution

INVESTIGATION OF VEHICULAR USERS FAIRNESS IN CDMA-HDR NETWORKS

Marginal Revenue-Based Capacity Management Models and Benchmark 1

On the Interaction between Load Balancing and Speed Scaling

Enabling P2P One-view Multi-party Video Conferencing

Adaptive and Dynamic Load Balancing in Grid Using Ant Colony Optimization

Efficient Bandwidth Management in Broadband Wireless Access Systems Using CAC-based Dynamic Pricing

denote the location of a node, and suppose node X . This transmission causes a successful reception by node X for any other node

Fragility Based Rehabilitation Decision Analysis

Logical Development Of Vogel s Approximation Method (LD-VAM): An Approach To Find Basic Feasible Solution Of Transportation Problem

Project Networks With Mixed-Time Constraints

How To Improve Delay Throughput In Wireless Networks With Multipath Routing And Channel Codeing

IMPACT ANALYSIS OF A CELLULAR PHONE

What is Candidate Sampling

Fuzzy Set Approach To Asymmetrical Load Balancing In Distribution Networks

Checkng and Testng in Nokia RMS Process

A Dynamic Energy-Efficiency Mechanism for Data Center Networks

An Evolutionary Game Theoretic Approach to Adaptive and Stable Application Deployment in Clouds

A hybrid global optimization algorithm based on parallel chaos optimization and outlook algorithm

A DYNAMIC CRASHING METHOD FOR PROJECT MANAGEMENT USING SIMULATION-BASED OPTIMIZATION. Michael E. Kuhl Radhamés A. Tolentino-Peña

ivoip: an Intelligent Bandwidth Management Scheme for VoIP in WLANs

INSTITUT FÜR INFORMATIK

Revenue Management for a Multiclass Single-Server Queue via a Fluid Model Analysis


2008/8. An integrated model for warehouse and inventory planning. Géraldine Strack and Yves Pochet

Schedulability Bound of Weighted Round Robin Schedulers for Hard Real-Time Systems

A practical approach of diffusion load balancing algorithms

Adaptive Fractal Image Coding in the Frequency Domain

Transcription:

Case Study: Load Balancng Thursday, 01 June 2006 Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 1

Introducton Optmze the utlzaton of resources to reduce the user response tme In telecom load balancng goal s: search the optmal routng gven a performance ndex value In computer networs lb goal s: fnd the optmal allocaton of processes gven dstrbuted resources (e.g. mnmze response tme, maxmze throughput) Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 2

Statc Load Balancng categores Computed durng capacty plannng process (batch mode) Dynamc Modfed at runtme usng dedcated hardware or software to collect performance ndces (on-lne mode) Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 3

Networ topology Example A open sngle-class model exponental arrval rate dstrbuton wth =1 FIFO queue strategy servce tme dstrbuton const(1), exp(1), hyperexp(1,2) Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 4

Model defnton - JMODEL See example Load_Balancng_Sngle_Class.jmodel Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 5

Performance ndces Response Tme at each staton System Response Tme Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 6

1 Random routng Statc routng strategy All statons have the same probablty to be selected Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 7

2 Round Robn routng Statc routng strategy Select statons accordng to a cyclc algorthm Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 8

3 Shortest Queue Length routng Dynamc routng strategy Select staton wth the smallest queue length Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 9

4 Least Utlzaton routng Dynamc routng strategy Select staton wth the smallest average utlzaton Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 10

Results Example A 4,5 4 System Response Tme 3,5 3 2,5 2 1,5 1 0,5 0 const(1) exp(1) hyper(1,2) Servce Tme Dstrbuton Random Round Robn Least Utlzaton Shortest Queue Length Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 11

Networ topology Example B open sngle-class model exponental arrval rate dstrbuton wth =1 FIFO queue strategy hyperexponental servce tme dstrbuton wth =1 and ncreasng coeffcent of varaton c Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 12

Results Example B 60 50 System Response Tme 40 30 20 10 0 1 3 5 7 9 11 13 15 17 19 Coeffcent of varaton c Random Round Robn Least Utlzaton Shortest Q Length Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 13

Queston If we are forced to use a random routng strategy, how can we mprove system response tme n the case of hyperexponental servce tmes wth hgh values of c? Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 14

Networ topology Example C = (1 + δ) = (1 - δ) exponental arrval rate dstrbuton wth =4 hyperexponental servce tme dstrbuton: Two servers wth = (1 + δ) and c = 4 Two servers wth = (1 - δ) and c = 4 One server wth = 1 and c = 4 from Asymptotc analyss we expect saturaton wth Random and Round Robn algorthms: λ = λ / 5 = 4 / 5 λ < 1 / D MAX 4 / 5 < 1 / (1 + δ) δ < 0.25 Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 15

Results Example C 30 25 System Response Tme 20 15 10 5 0 0% 5% 10% 15% 20% 25% 30% δ Random Round Robn Least Utlzaton Shortest Q Length Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 16

Problem defnton Fnd optmal load balancng n a replcated web server farm n servers Requests from a Posson process wth mean rate λ Servce tmes exponentally dstrbuted Mean response tme of server s: R = 1 / ( - λ ) = 1,2,,n and λ are the servce rate and the arrval rate of devce Mean response tme of the subsystem s: n 1 λ R( λ1, λ 2, K, λ n ) = Compute optmal λ * that mnmze R gven: n = 1 λ = λ 0 λ < λ = 1 λ Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 17

Chen algorthm (1) Order servers by ncreasng servce tmes: 1 2 n Compute quanttes L(), gven by: L( ) L( n + 1) = = j = 1 j j = 1 j = 1 n j j = 1,2, K, n Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 18

Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 19 Chen algorthm (2) Compute the value of such that: L( + 1) > λ L() The optmal values are gven by: n p p p p, 1, 0, 1,2, * 1 1 * K K + = = = = = = λ λ λ

Chen algorthm Example (1) Fnd optmal load subdvson for replcated web servers: two new servers (S 1,2 = 1/ 1,2 = 8ms) four old servers (S 3,4,5,6 = 1/ 3,4,5,6 = 12ms) System arrval rate s λ = 88 req/s Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 20

Chen algorthm Example (2) We compute L(): L( ) L( n + 1) = = j = 1 j j = 1 j = 1 n L(1) = L(2) = 0 j j = 1,2, K, n L(3) = L(4) = L(5) = L(6) = 45.87 L(7) = 585.33 Snce λ = 88 req/s L(7) > 88 > L(6) = 6 Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 21

Chen algorthm Example (3) Now we apply: λ = * λ = 0 * λ * 1 =λ* 2 = 30.9 req/s λ * 3 =λ* 4 = λ* 5 =λ* 6 = 6.55 req/s System response tme R = 11.34ms U 1,2 = 24.72% U 3,4,5,6 = 7.84% p= 1 p= 1 λ p p = 1,2, K, = + 1, K, n Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 22

Questons What happen f arrval rate s λ = 44 req/s? What happen f arrval rate s λ = 586 req/s? Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 23

References BERTOLI, M. jsim: Un Tool per la Smulazone d Modell a Ret d Code. Tes presso l Poltecnco d Mlano, 2005. BUZEN, J.P., AND CHEN, P.P. Optmal load balancng n memory herarches. In Informaton Processng 74. North-Holland, New Yor, 1974, pp. 271-275. CHEN, P.P. Optmal fle allocaton n mult-level storage systems. In AFIPS Conference Proceedngs (New Yor, June 1973), vol. 42. AFIPS Press, Reston, Va., 1973, pp. 277-282. SERAZZI G., "The dynamc behavor of computer systems", n Expermental Computer Performance Evaluaton, pp. 127-163, Elsever, 1981. Bertol Marco A.A. 2005/2006 Dmensonamento degl mpant Informatc LoadBal - 24