SlideShare a Scribd company logo
1 of 35
Download to read offline
Game Theory Based Load Balanced Job Allocation
in Distributed Systems
Anthony T. Chronopoulos
Department of Computer Science
University of Texas at San Antonio
San Antonio, TX, USA
atc@cs.utsa.edu
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Load balancing: problem formulation
Load balancing
Given a large number of jobs, find an allocation of jobs to
computers optimizing a given objective function (e.g. total
execution time or total cost).
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Motivation for a game theoretic approach
Computational resources are distributed and used by many
users having different requirements.
Users are likely to behave in a selfish manner and their
behavior cannot be characterized using conventional
techniques.
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Outline
Taxonomy of Load Balancing Approaches
A Noncooperative scheme
A Cooperative Scheme
A Dynamic Scheme
Application to Grid Models
Future Work
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Categories of load balancing policies
Static policies: base their decision on collected statistical
information about the system.
Dynamic policies: base their decision on the current state of
the system.
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Job Classification
Jobs in a distributed system can be divided into different
classes (multi-class or multi-user) based on their nature (e.g.
arrival rates, execution times etc).
So, the objective of the load balancing schemes can be to
provide
a system-optimal solution where all the jobs are regarded to
belong to one group (one class).
an individual-optimal solution where each job optimizes its
own response time.
a class-optimal (user-optimal) solution where the jobs are
classified into finite number of classes (users) based on their
nature and each user tries to optimize the response time of her
own jobs.
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Load Balancing Approaches
I. Global approach
II. Non-cooperative approach
III. Cooperative approach
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
I. Global approach
Only one decision maker that minimizes the response time of
the entire system over all jobs.
Algorithms:
[Tantawi & Towsley ’85][Tang & Chanson ’00] nonlinear
optimization
[Kim & Kameda ’92] efficient algorithm
[Li & Kameda ’94] tree and star networks
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
II. Non-cooperative approach
Several decision makers (e.g. jobs, users) minimize their own
response time independently of the others and they all
eventually reach an equilibrium.
At the equilibrium a decision maker cannot receive any further
benefit by changing its own decision.
This situation can be modeled as a non-cooperative game.
Solutions:
Wardrop equilibrium - infinite # of decision makers.
Nash equilibrium - finite # of decision makers.
Algorithms:
[Kameda ’97] Wardrop equilibrium;
[Roughgarden ’01] Stackelberg game;
[Grosu ’05] Nash equilibrium;
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
III. Cooperative approach
Several decision makers (e.g. jobs, computers) cooperate in
making the decisions.
Each of them will operate at its optimum.
Decision makers have complete freedom of preplay
communication to make joint agreements about their
operating points.
This situation can be modeled as a cooperative game.
Algorithms:
[Grosu IPDPS’02] ,[Penmatsa IPDPS’06] cooperative game
among computers.
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Noncooperative Load Balancing Game among Users
([Grosu’05])
We consider a distributed system that consists of n
heterogeneous computers shared by m users.
User j is a player and she must find a load balancing strategy
sj = (sj1, sj2, . . . , sjn) that minimizes the expected response
time of her jobs.
The expected response time of user j is given by:
Dj (s) =
n
i=1
sji Fi (s) =
n
i=1
sji
µi − m
k=1 ski φk
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
The Distributed System Model
S1
S2
Sm
C1
C2
Cn
1
2
m
s11
s12
s1n
s21
s22
s2n
sm1
sm2
smn
1
1
1
2
2
2
m
m
m
Job
Assignment
Job
Assignment
Users
ComputersServers
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Nash Equilibrium
Nash Equilibrium
A Nash equilibrium of the load balancing game defined above is a
strategy profile s such that for every user j:
sj ∈ arg min
˜sj
Dj (s1, . . . ,˜sj , . . . , sm)
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
OPj: User j Optimization Problem
min
sj
Dj (s)
subject to the constraints:
sji ≥ 0, i = 1, . . . , n
n
i=1
sji = 1
m
k=1
ski φk < µi , i = 1, . . . , n
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Summary of results
The new algorithm (NASH) is compared with three other
existing load balancing schemes: Proportional Scheme (PS),
Global Optimal Scheme (GOS) and Individual Optimal
Scheme (IOS).
GOS minimizes the expected execution time for all the jobs of
all users in the entire system.
NASH finds the Nash equilibrium solution (i.e. it minimizes
the expected execution time for all the jobs of each user).
IOS finds the Wardrop equilibrium solution and PS is not
optimal.
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
The expected response time for entire system
(non-cooperative game approach)
0
0.05
0.1
0.15
0.2
0.25
0.3
10 20 30 40 50 60 70 80 90
ExpectedResponseTime(inSec)
System Utilization
NASH
GOS
IOS
PS
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
The expected response time for each user
(non-cooperative game approach)
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Cooperative Load Balancing
We consider a distributed computer system that consists of n
heterogeneous computers (nodes) interconnected by a
communication network.
The load balancing problem is formulated as a cooperative
game among the computers and the communication
subsystem.
The Nash Bargaining Solution (NBS) is the solution for our
cooperative load balancing game which provides a Pareto
optimal and fair solution.
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Cooperative Load Balancing Game
The cooperative load balancing game consists of:
n computers and the communication subsystem as players;
The set of strategies, X, is defined by the following
constraints:
βi < µi , i = 1, . . . , n (1)
n
i=1
βi =
n
i=1
φi = Φ, (2)
βi ≥ 0, i = 1, . . . , n (3)
For each computer i, i = 1, . . . , n, the objective function
fi (X) = Di (βi ); for the communication subsystem, the
objective function fn+1(X) = G(λ); X = [β1, . . . , βn, λ]T
.
The goal is to minimize simultaneously all fi (X),
i = 1, . . . , n + 1.
For each player i, i = 1, . . . , n + 1, the initial performance
u0
i = fi (X0), where X0 is a zero vector of length n + 1.
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Performance evaluation: Expected response time
(cooperative game approach)
0
0.05
0.1
0.15
0.2
0.25
0.3
0.35
10 20 30 40 50 60 70 80 90
ExpectedResponseTime(sec)
System Utilization(%)
CCOOP
OPTIM
PROP
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Performance evaluation: Fairness index
(cooperative game approach)
0.5
0.6
0.7
0.8
0.9
1
1.1
10 20 30 40 50 60 70 80 90
FairnessIndexI
System Utilization(%)
CCOOP
OPTIM
PROP
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Communication Time vs Expected Response Time
(cooperative game approach)
0
0.01
0.02
0.03
0.04
0.05
0.06
0.07
0.08
0.09
0.1
0.11
0.12
0.13
0.14
0.15
0.001 0.002 0.003 0.004 0.005 0.006 0.007 0.008 0.009 0.01
ExpectedResponseTime(sec)
Mean Communication Time (sec)
COOP, 50% system utilization
COOP, 70% system utilization
CCOOP, 50% system utilization
CCOOP, 70% system utilization
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Dynamic Load Balancing
Distributed dynamic scheme components:
Information policy: The number of jobs waiting in the queue
to be processed (queue length) is used as the state
information. This state information is exchanged between the
nodes every P time units.
Transfer policy: When a job arrives at a node, the transfer
policy component determines whether the job should be
processed locally or should be transferred to another node for
processing.
Location policy: If the job is eligible for transfer, the location
policy component determines the destination node for remote
processing.
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Dynamic Non-cooperative Scheme with Communication
(DNCOOPC)
The goal of DNCOOPC is to balance the workload among the
nodes dynamically in order to obtain a user-optimal solution
i.e. to minimize the expected response time of the individual
users.
The derivation of DNCOOPC is based on the static NCOOPC.
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Dynamic Global Optimal Scheme (DGOS)
The goal of DGOS is to balance the workload among the
nodes dynamically in order to obtain a system-wide
optimization i.e. to minimize the expected response time of
all the jobs over the entire system.
The derivation of DGOS is based on the static GOS similar to
DNCOOPC.
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
The expected response time for entire system
(dynamic load balancing approach)
0
0.05
0.1
0.15
0.2
0.25
0.3
10 20 30 40 50 60 70 80 90
ExpectedResponseTime(sec)
System Utilization (%)
GOS
NCOOPC
DGOS
DNCOOPC
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
The expected response time for each user
(dynamic load balancing approach)
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Job Allocation Schemes for Computational Grids
(GOSP and NASHP)
Grid is a type of parallel / distributed system which enables
the sharing, selection, and aggregation of geographically
distributed ‘autonomous’ resources dynamically at runtime.
Computational grid: Tries to solve problems or applications by
allocating the idle computing resources over a network or the
internet
These computational resources have different owners who can
be enabled by an automated negotiation mechanism by the
grid controllers
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Pricing Model
Players are the Grid Servers and the Computers
Reserved valuations
The server has to play an independent game with each
computer associated with it to form the price per unit
resource vector, pj .
In a system with m servers and n computers at time t, we
have m × n bargaining games.
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Non-cooperative Job Allocation Game
A Non-cooperative job allocation game consists of a set of players,
a set of strategies, and preferences over the set of strategy profiles:
(i) Players: The m users.
(ii) Strategies: Each user’s set of feasible job allocation strategies.
(iii) Preferences: Each user’s preferences are represented by its
expected price (Dj ). Each user j prefers the strategy profile
β∗ to the strategy profile β∗ if and only if Dj (β∗) < Dj (β∗ ).
Definition: A Nash equilibrium of the job allocation game defined
above is a strategy profile β∗ such that for every user j
(j = 1, . . . , m):
βj
∈ arg min
˜βj
Dj
(β1
, . . . , ˜βj
, . . . , βm
) (4)
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Performance evaluation: Expected response time
(price-based job allocation)
0
0.05
0.1
0.15
0.2
0.25
0.3
10 20 30 40 50 60 70 80 90
ExpectedResponseTime(sec)
System Utilization (%)
NASHPC
GOSPC
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Performance evaluation: Fairness index
(price-based job allocation)
0.9
0.92
0.94
0.96
0.98
1
1.02
10 20 30 40 50 60 70 80 90
FairnessIndexI
System Utilization (%)
NASHPC
GOSPC
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Future Work
More results on load balanced job allocation in distributed systems
and validation by application to the Grid computing model.
Develop cooperative load balancing schemes for multi-class
jobs by taking the communication costs and bandwidth
constraints into consideration.
Develop dynamic cooperative load balancing schemes.
Extend the current non-cooperative load balancing scheme to
include the communication costs and bandwidth constraints.
Develop load balancing protocols based on mechanism design
that work in distributed systems shared by self interested
agents.
Implement the new schemes in conjunction with job allocation
schemes for grids.
Study the performance of the algorithms using existing
distributed systems simulation frameworks (e.g. SIMGRID).
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
References
D. Grosu and A. T. Chronopoulos, Noncooperative Load Balancing in Distributed Systems, Journal of
Parallel and Distributed Computing, 65(9), pp. 1022-1034, Sept. 2005.
S. Penmatsa and A. T. Chronopoulos, Cooperative Load Balancing for a Network of Heterogeneous
Computers, Proc. of the 20th IEEE Intl. Parallel and Distributed Processing Symposium, 15th HCW,
Rhodes Island, Greece, April 2006.
S. Penmatsa and A. T. Chronopoulos, Dynamic Multi-User Load Balancing in Distributed Systems, Proc.
of the 21st IEEE Intl. Parallel and Distributed Processing Symposium, Long Beach, California, March
26-30, 2007.
S. Penmatsa and A. T. Chronopoulos, Job Allocation Schemes in Computational Grids based on Cost
Optimization, Proc. of the 19th IEEE Intl. Parallel and Distributed Processing Symposium, Joint
Workshop on HPGC and HIPS, Denver, Colorado, 2005.
S. Penmatsa and A. T. Chronopoulos, Price-based User-optimal Job Allocation Scheme for Grid Systems,
Proc. of the 20th IEEE Intl. Parallel and Distributed Processing Symposium, 3rd HPGC, Rhodes Island,
Greece, April 2006.
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
Thank you
Questions ?
Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation

More Related Content

Similar to Game Theoretic Load Balancing

HIGHLY CONSTRAINED UNIVERSITY CLASS SCHEDULING USING ANT COLONY OPTIMIZATION
HIGHLY CONSTRAINED UNIVERSITY CLASS SCHEDULING USING ANT COLONY OPTIMIZATIONHIGHLY CONSTRAINED UNIVERSITY CLASS SCHEDULING USING ANT COLONY OPTIMIZATION
HIGHLY CONSTRAINED UNIVERSITY CLASS SCHEDULING USING ANT COLONY OPTIMIZATION
ijcsit
 
This is a heavily data-oriented
This is a heavily data-orientedThis is a heavily data-oriented
This is a heavily data-oriented
butest
 
This is a heavily data-oriented
This is a heavily data-orientedThis is a heavily data-oriented
This is a heavily data-oriented
butest
 
Cognitive Self-Synchronisation
Cognitive Self-SynchronisationCognitive Self-Synchronisation
Cognitive Self-Synchronisation
Marco Manso
 
Selecting the best stochastic systems for large scale engineering problems
Selecting the best stochastic systems for large scale engineering problemsSelecting the best stochastic systems for large scale engineering problems
Selecting the best stochastic systems for large scale engineering problems
IJECEIAES
 

Similar to Game Theoretic Load Balancing (20)

Probability Collectives
Probability CollectivesProbability Collectives
Probability Collectives
 
Genetic Algorithms
Genetic AlgorithmsGenetic Algorithms
Genetic Algorithms
 
HIGHLY CONSTRAINED UNIVERSITY CLASS SCHEDULING USING ANT COLONY OPTIMIZATION
HIGHLY CONSTRAINED UNIVERSITY CLASS SCHEDULING USING ANT COLONY OPTIMIZATIONHIGHLY CONSTRAINED UNIVERSITY CLASS SCHEDULING USING ANT COLONY OPTIMIZATION
HIGHLY CONSTRAINED UNIVERSITY CLASS SCHEDULING USING ANT COLONY OPTIMIZATION
 
This is a heavily data-oriented
This is a heavily data-orientedThis is a heavily data-oriented
This is a heavily data-oriented
 
This is a heavily data-oriented
This is a heavily data-orientedThis is a heavily data-oriented
This is a heavily data-oriented
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
EFFECTS OF THE DIFFERENT MIGRATION PERIODS ON PARALLEL MULTI-SWARM PSO
EFFECTS OF THE DIFFERENT MIGRATION PERIODS ON PARALLEL MULTI-SWARM PSOEFFECTS OF THE DIFFERENT MIGRATION PERIODS ON PARALLEL MULTI-SWARM PSO
EFFECTS OF THE DIFFERENT MIGRATION PERIODS ON PARALLEL MULTI-SWARM PSO
 
Effects of The Different Migration Periods on Parallel Multi-Swarm PSO
Effects of The Different Migration Periods on Parallel Multi-Swarm PSO Effects of The Different Migration Periods on Parallel Multi-Swarm PSO
Effects of The Different Migration Periods on Parallel Multi-Swarm PSO
 
Multiprocessor scheduling of dependent tasks to minimize makespan and reliabi...
Multiprocessor scheduling of dependent tasks to minimize makespan and reliabi...Multiprocessor scheduling of dependent tasks to minimize makespan and reliabi...
Multiprocessor scheduling of dependent tasks to minimize makespan and reliabi...
 
Cognitive Self-Synchronisation
Cognitive Self-SynchronisationCognitive Self-Synchronisation
Cognitive Self-Synchronisation
 
CLIM: Transition Workshop - A Notional Framework for a Theory of Data Systems...
CLIM: Transition Workshop - A Notional Framework for a Theory of Data Systems...CLIM: Transition Workshop - A Notional Framework for a Theory of Data Systems...
CLIM: Transition Workshop - A Notional Framework for a Theory of Data Systems...
 
A new Reinforcement Scheme for Stochastic Learning Automata
A new Reinforcement Scheme for Stochastic Learning AutomataA new Reinforcement Scheme for Stochastic Learning Automata
A new Reinforcement Scheme for Stochastic Learning Automata
 
schedule
scheduleschedule
schedule
 
AI Data Summit 2019 Thompson Sampling - Thompson Sampling Tutorial “The redis...
AI Data Summit 2019 Thompson Sampling - Thompson Sampling Tutorial “The redis...AI Data Summit 2019 Thompson Sampling - Thompson Sampling Tutorial “The redis...
AI Data Summit 2019 Thompson Sampling - Thompson Sampling Tutorial “The redis...
 
Selecting the best stochastic systems for large scale engineering problems
Selecting the best stochastic systems for large scale engineering problemsSelecting the best stochastic systems for large scale engineering problems
Selecting the best stochastic systems for large scale engineering problems
 
Use of Neuronal Networks and Fuzzy Logic to Modelling the Foot Sizes
Use of Neuronal Networks and Fuzzy Logic to Modelling the Foot SizesUse of Neuronal Networks and Fuzzy Logic to Modelling the Foot Sizes
Use of Neuronal Networks and Fuzzy Logic to Modelling the Foot Sizes
 
ANALYSINBG THE MIGRATION PERIOD PARAMETER IN PARALLEL MULTI-SWARM PARTICLE SW...
ANALYSINBG THE MIGRATION PERIOD PARAMETER IN PARALLEL MULTI-SWARM PARTICLE SW...ANALYSINBG THE MIGRATION PERIOD PARAMETER IN PARALLEL MULTI-SWARM PARTICLE SW...
ANALYSINBG THE MIGRATION PERIOD PARAMETER IN PARALLEL MULTI-SWARM PARTICLE SW...
 
MULTIPROCESSOR SCHEDULING AND PERFORMANCE EVALUATION USING ELITIST NON DOMINA...
MULTIPROCESSOR SCHEDULING AND PERFORMANCE EVALUATION USING ELITIST NON DOMINA...MULTIPROCESSOR SCHEDULING AND PERFORMANCE EVALUATION USING ELITIST NON DOMINA...
MULTIPROCESSOR SCHEDULING AND PERFORMANCE EVALUATION USING ELITIST NON DOMINA...
 
Ml ppt at
Ml ppt atMl ppt at
Ml ppt at
 
An Automatic Medical Image Segmentation using Teaching Learning Based Optimiz...
An Automatic Medical Image Segmentation using Teaching Learning Based Optimiz...An Automatic Medical Image Segmentation using Teaching Learning Based Optimiz...
An Automatic Medical Image Segmentation using Teaching Learning Based Optimiz...
 

Recently uploaded

Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptx
hublikarsn
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
Kamal Acharya
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
mphochane1998
 

Recently uploaded (20)

Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptx
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptx
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
 
Signal Processing and Linear System Analysis
Signal Processing and Linear System AnalysisSignal Processing and Linear System Analysis
Signal Processing and Linear System Analysis
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdf
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata Model
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdf
 
8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor8086 Microprocessor Architecture: 16-bit microprocessor
8086 Microprocessor Architecture: 16-bit microprocessor
 

Game Theoretic Load Balancing

  • 1. Game Theory Based Load Balanced Job Allocation in Distributed Systems Anthony T. Chronopoulos Department of Computer Science University of Texas at San Antonio San Antonio, TX, USA atc@cs.utsa.edu Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 2. Load balancing: problem formulation Load balancing Given a large number of jobs, find an allocation of jobs to computers optimizing a given objective function (e.g. total execution time or total cost). Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 3. Motivation for a game theoretic approach Computational resources are distributed and used by many users having different requirements. Users are likely to behave in a selfish manner and their behavior cannot be characterized using conventional techniques. Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 4. Outline Taxonomy of Load Balancing Approaches A Noncooperative scheme A Cooperative Scheme A Dynamic Scheme Application to Grid Models Future Work Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 5. Categories of load balancing policies Static policies: base their decision on collected statistical information about the system. Dynamic policies: base their decision on the current state of the system. Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 6. Job Classification Jobs in a distributed system can be divided into different classes (multi-class or multi-user) based on their nature (e.g. arrival rates, execution times etc). So, the objective of the load balancing schemes can be to provide a system-optimal solution where all the jobs are regarded to belong to one group (one class). an individual-optimal solution where each job optimizes its own response time. a class-optimal (user-optimal) solution where the jobs are classified into finite number of classes (users) based on their nature and each user tries to optimize the response time of her own jobs. Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 7. Load Balancing Approaches I. Global approach II. Non-cooperative approach III. Cooperative approach Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 8. I. Global approach Only one decision maker that minimizes the response time of the entire system over all jobs. Algorithms: [Tantawi & Towsley ’85][Tang & Chanson ’00] nonlinear optimization [Kim & Kameda ’92] efficient algorithm [Li & Kameda ’94] tree and star networks Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 9. II. Non-cooperative approach Several decision makers (e.g. jobs, users) minimize their own response time independently of the others and they all eventually reach an equilibrium. At the equilibrium a decision maker cannot receive any further benefit by changing its own decision. This situation can be modeled as a non-cooperative game. Solutions: Wardrop equilibrium - infinite # of decision makers. Nash equilibrium - finite # of decision makers. Algorithms: [Kameda ’97] Wardrop equilibrium; [Roughgarden ’01] Stackelberg game; [Grosu ’05] Nash equilibrium; Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 10. III. Cooperative approach Several decision makers (e.g. jobs, computers) cooperate in making the decisions. Each of them will operate at its optimum. Decision makers have complete freedom of preplay communication to make joint agreements about their operating points. This situation can be modeled as a cooperative game. Algorithms: [Grosu IPDPS’02] ,[Penmatsa IPDPS’06] cooperative game among computers. Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 11. Noncooperative Load Balancing Game among Users ([Grosu’05]) We consider a distributed system that consists of n heterogeneous computers shared by m users. User j is a player and she must find a load balancing strategy sj = (sj1, sj2, . . . , sjn) that minimizes the expected response time of her jobs. The expected response time of user j is given by: Dj (s) = n i=1 sji Fi (s) = n i=1 sji µi − m k=1 ski φk Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 12. The Distributed System Model S1 S2 Sm C1 C2 Cn 1 2 m s11 s12 s1n s21 s22 s2n sm1 sm2 smn 1 1 1 2 2 2 m m m Job Assignment Job Assignment Users ComputersServers Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 13. Nash Equilibrium Nash Equilibrium A Nash equilibrium of the load balancing game defined above is a strategy profile s such that for every user j: sj ∈ arg min ˜sj Dj (s1, . . . ,˜sj , . . . , sm) Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 14. OPj: User j Optimization Problem min sj Dj (s) subject to the constraints: sji ≥ 0, i = 1, . . . , n n i=1 sji = 1 m k=1 ski φk < µi , i = 1, . . . , n Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 15. Summary of results The new algorithm (NASH) is compared with three other existing load balancing schemes: Proportional Scheme (PS), Global Optimal Scheme (GOS) and Individual Optimal Scheme (IOS). GOS minimizes the expected execution time for all the jobs of all users in the entire system. NASH finds the Nash equilibrium solution (i.e. it minimizes the expected execution time for all the jobs of each user). IOS finds the Wardrop equilibrium solution and PS is not optimal. Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 16. The expected response time for entire system (non-cooperative game approach) 0 0.05 0.1 0.15 0.2 0.25 0.3 10 20 30 40 50 60 70 80 90 ExpectedResponseTime(inSec) System Utilization NASH GOS IOS PS Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 17. The expected response time for each user (non-cooperative game approach) Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 18. Cooperative Load Balancing We consider a distributed computer system that consists of n heterogeneous computers (nodes) interconnected by a communication network. The load balancing problem is formulated as a cooperative game among the computers and the communication subsystem. The Nash Bargaining Solution (NBS) is the solution for our cooperative load balancing game which provides a Pareto optimal and fair solution. Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 19. Cooperative Load Balancing Game The cooperative load balancing game consists of: n computers and the communication subsystem as players; The set of strategies, X, is defined by the following constraints: βi < µi , i = 1, . . . , n (1) n i=1 βi = n i=1 φi = Φ, (2) βi ≥ 0, i = 1, . . . , n (3) For each computer i, i = 1, . . . , n, the objective function fi (X) = Di (βi ); for the communication subsystem, the objective function fn+1(X) = G(λ); X = [β1, . . . , βn, λ]T . The goal is to minimize simultaneously all fi (X), i = 1, . . . , n + 1. For each player i, i = 1, . . . , n + 1, the initial performance u0 i = fi (X0), where X0 is a zero vector of length n + 1. Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 20. Performance evaluation: Expected response time (cooperative game approach) 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 10 20 30 40 50 60 70 80 90 ExpectedResponseTime(sec) System Utilization(%) CCOOP OPTIM PROP Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 21. Performance evaluation: Fairness index (cooperative game approach) 0.5 0.6 0.7 0.8 0.9 1 1.1 10 20 30 40 50 60 70 80 90 FairnessIndexI System Utilization(%) CCOOP OPTIM PROP Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 22. Communication Time vs Expected Response Time (cooperative game approach) 0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1 0.11 0.12 0.13 0.14 0.15 0.001 0.002 0.003 0.004 0.005 0.006 0.007 0.008 0.009 0.01 ExpectedResponseTime(sec) Mean Communication Time (sec) COOP, 50% system utilization COOP, 70% system utilization CCOOP, 50% system utilization CCOOP, 70% system utilization Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 23. Dynamic Load Balancing Distributed dynamic scheme components: Information policy: The number of jobs waiting in the queue to be processed (queue length) is used as the state information. This state information is exchanged between the nodes every P time units. Transfer policy: When a job arrives at a node, the transfer policy component determines whether the job should be processed locally or should be transferred to another node for processing. Location policy: If the job is eligible for transfer, the location policy component determines the destination node for remote processing. Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 24. Dynamic Non-cooperative Scheme with Communication (DNCOOPC) The goal of DNCOOPC is to balance the workload among the nodes dynamically in order to obtain a user-optimal solution i.e. to minimize the expected response time of the individual users. The derivation of DNCOOPC is based on the static NCOOPC. Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 25. Dynamic Global Optimal Scheme (DGOS) The goal of DGOS is to balance the workload among the nodes dynamically in order to obtain a system-wide optimization i.e. to minimize the expected response time of all the jobs over the entire system. The derivation of DGOS is based on the static GOS similar to DNCOOPC. Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 26. The expected response time for entire system (dynamic load balancing approach) 0 0.05 0.1 0.15 0.2 0.25 0.3 10 20 30 40 50 60 70 80 90 ExpectedResponseTime(sec) System Utilization (%) GOS NCOOPC DGOS DNCOOPC Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 27. The expected response time for each user (dynamic load balancing approach) Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 28. Job Allocation Schemes for Computational Grids (GOSP and NASHP) Grid is a type of parallel / distributed system which enables the sharing, selection, and aggregation of geographically distributed ‘autonomous’ resources dynamically at runtime. Computational grid: Tries to solve problems or applications by allocating the idle computing resources over a network or the internet These computational resources have different owners who can be enabled by an automated negotiation mechanism by the grid controllers Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 29. Pricing Model Players are the Grid Servers and the Computers Reserved valuations The server has to play an independent game with each computer associated with it to form the price per unit resource vector, pj . In a system with m servers and n computers at time t, we have m × n bargaining games. Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 30. Non-cooperative Job Allocation Game A Non-cooperative job allocation game consists of a set of players, a set of strategies, and preferences over the set of strategy profiles: (i) Players: The m users. (ii) Strategies: Each user’s set of feasible job allocation strategies. (iii) Preferences: Each user’s preferences are represented by its expected price (Dj ). Each user j prefers the strategy profile β∗ to the strategy profile β∗ if and only if Dj (β∗) < Dj (β∗ ). Definition: A Nash equilibrium of the job allocation game defined above is a strategy profile β∗ such that for every user j (j = 1, . . . , m): βj ∈ arg min ˜βj Dj (β1 , . . . , ˜βj , . . . , βm ) (4) Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 31. Performance evaluation: Expected response time (price-based job allocation) 0 0.05 0.1 0.15 0.2 0.25 0.3 10 20 30 40 50 60 70 80 90 ExpectedResponseTime(sec) System Utilization (%) NASHPC GOSPC Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 32. Performance evaluation: Fairness index (price-based job allocation) 0.9 0.92 0.94 0.96 0.98 1 1.02 10 20 30 40 50 60 70 80 90 FairnessIndexI System Utilization (%) NASHPC GOSPC Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 33. Future Work More results on load balanced job allocation in distributed systems and validation by application to the Grid computing model. Develop cooperative load balancing schemes for multi-class jobs by taking the communication costs and bandwidth constraints into consideration. Develop dynamic cooperative load balancing schemes. Extend the current non-cooperative load balancing scheme to include the communication costs and bandwidth constraints. Develop load balancing protocols based on mechanism design that work in distributed systems shared by self interested agents. Implement the new schemes in conjunction with job allocation schemes for grids. Study the performance of the algorithms using existing distributed systems simulation frameworks (e.g. SIMGRID). Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 34. References D. Grosu and A. T. Chronopoulos, Noncooperative Load Balancing in Distributed Systems, Journal of Parallel and Distributed Computing, 65(9), pp. 1022-1034, Sept. 2005. S. Penmatsa and A. T. Chronopoulos, Cooperative Load Balancing for a Network of Heterogeneous Computers, Proc. of the 20th IEEE Intl. Parallel and Distributed Processing Symposium, 15th HCW, Rhodes Island, Greece, April 2006. S. Penmatsa and A. T. Chronopoulos, Dynamic Multi-User Load Balancing in Distributed Systems, Proc. of the 21st IEEE Intl. Parallel and Distributed Processing Symposium, Long Beach, California, March 26-30, 2007. S. Penmatsa and A. T. Chronopoulos, Job Allocation Schemes in Computational Grids based on Cost Optimization, Proc. of the 19th IEEE Intl. Parallel and Distributed Processing Symposium, Joint Workshop on HPGC and HIPS, Denver, Colorado, 2005. S. Penmatsa and A. T. Chronopoulos, Price-based User-optimal Job Allocation Scheme for Grid Systems, Proc. of the 20th IEEE Intl. Parallel and Distributed Processing Symposium, 3rd HPGC, Rhodes Island, Greece, April 2006. Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation
  • 35. Thank you Questions ? Anthony T. Chronopoulos • University of Texas at San Antonio Game Theory Based Load Balanced Job Allocation