Application of Methods of Queuing Theory to Scheduling in GRID A Queuing Theory-based mathematical model is presented, and an explicit form of the optimal.

Slides:



Advertisements
Similar presentations
Hadi Goudarzi and Massoud Pedram
Advertisements

Chapter 8 Elliptic Equation.
DYNAMIC POWER ALLOCATION AND ROUTING FOR TIME-VARYING WIRELESS NETWORKS Michael J. Neely, Eytan Modiano and Charles E.Rohrs Presented by Ruogu Li Department.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 19 Scheduling IV.
All Hands Meeting, 2006 Title: Grid Workflow Scheduling in WOSE (Workflow Optimisation Services for e- Science Applications) Authors: Yash Patel, Andrew.
Planning under Uncertainty
Visual Recognition Tutorial
Date:2011/06/08 吳昕澧 BOA: The Bayesian Optimization Algorithm.
Queuing Theory For Dummies
Simulation Where real stuff starts. ToC 1.What, transience, stationarity 2.How, discrete event, recurrence 3.Accuracy of output 4.Monte Carlo 5.Random.
Queuing Models Basic Concepts
Queuing Models Basic Concepts. QUEUING MODELS Queuing is the analysis of waiting lines It can be used to: –Determine the # checkout stands to have open.
Jie Gao Joint work with Amitabh Basu*, Joseph Mitchell, Girishkumar Stony Brook Distributed Localization using Noisy Distance and Angle Information.
*Sponsored in part by the DARPA IT-MANET Program, NSF OCE Opportunistic Scheduling with Reliability Guarantees in Cognitive Radio Networks Rahul.
Job Release-Time Design in Stochastic Manufacturing Systems Using Perturbation Analysis By: Dongping Song Supervisors: Dr. C.Hicks & Dr. C.F.Earl Department.
1 TCOM 501: Networking Theory & Fundamentals Lecture 7 February 25, 2003 Prof. Yannis A. Korilis.
CISS Princeton, March Optimization via Communication Networks Matthew Andrews Alcatel-Lucent Bell Labs.
Module C9 Simulation Concepts. NEED FOR SIMULATION Mathematical models we have studied thus far have “closed form” solutions –Obtained from formulas --
Queuing Networks: Burke’s Theorem, Kleinrock’s Approximation, and Jackson’s Theorem Wade Trappe.
1 TCOM 501: Networking Theory & Fundamentals Lecture 8 March 19, 2003 Prof. Yannis A. Korilis.
Simulation Basic Concepts. NEED FOR SIMULATION Mathematical models we have studied thus far have “closed form” solutions –Obtained from formulas -- forecasting,
QUEUING MODELS Queuing theory is the analysis of waiting lines It can be used to: –Determine the # checkout stands to have open at a store –Determine the.
On Self Adaptive Routing in Dynamic Environments -- A probabilistic routing scheme Haiyong Xie, Lili Qiu, Yang Richard Yang and Yin Yale, MR and.
Radial Basis Function Networks
Dimitrios Konstantas, Evangelos Grigoroudis, Vassilis S. Kouikoglou and Stratos Ioannidis Department of Production Engineering and Management Technical.
Queuing Networks. Input source Queue Service mechanism arriving customers exiting customers Structure of Single Queuing Systems Note: 1.Customers need.
1 Real-Time Queueing Network Theory Presented by Akramul Azim Department of Electrical and Computer Engineering University of Waterloo, Canada John P.
Rensselaer Polytechnic Institute CSCI-4210 – Operating Systems David Goldschmidt, Ph.D.
1 Performance Evaluation of Computer Networks: Part II Objectives r Simulation Modeling r Classification of Simulation Modeling r Discrete-Event Simulation.
Flows and Networks Plan for today (lecture 5): Last time / Questions? Blocking of transitions Kelly / Whittle network Optimal design of a Kelly / Whittle.
FDA- A scalable evolutionary algorithm for the optimization of ADFs By Hossein Momeni.
1 11 Subcarrier Allocation and Bit Loading Algorithms for OFDMA-Based Wireless Networks Gautam Kulkarni, Sachin Adlakha, Mani Srivastava UCLA IEEE Transactions.
CS433 Modeling and Simulation Lecture 13 Queueing Theory Dr. Anis Koubâa 03 May 2009 Al-Imam Mohammad Ibn Saud University.
MIT Fun queues for MIT The importance of queues When do queues appear? –Systems in which some serving entities provide some service in a shared.
1 Statistical Distribution Fitting Dr. Jason Merrick.
Lecture 14 – Queuing Networks Topics Description of Jackson networks Equations for computing internal arrival rates Examples: computation center, job shop.
Quasi-static Channel Assignment Algorithms for Wireless Communications Networks Frank Yeong-Sung Lin Department of Information Management National Taiwan.
1 Chapter 7 Dynamic Job Shops Advantages/Disadvantages Planning, Control and Scheduling Open Queuing Network Model.
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: Deterministic vs. Random Maximum A Posteriori Maximum Likelihood Minimum.
Queuing Networks Jean-Yves Le Boudec 1. Contents 1.The Class of Multi-Class Product Form Networks 2.The Elements of a Product-Form Network 3.The Product-Form.
1 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
QoS Routing in Networks with Inaccurate Information: Theory and Algorithms Roch A. Guerin and Ariel Orda Presented by: Tiewei Wang Jun Chen July 10, 2000.
1 Short Term Scheduling. 2  Planning horizon is short  Multiple unique jobs (tasks) with varying processing times and due dates  Multiple unique jobs.
Michael J. Neely, University of Southern California CISS, Princeton University, March 2012 Asynchronous Scheduling for.
WOOD 492 MODELLING FOR DECISION SUPPORT Lecture 24 Simulation.
CSCI1600: Embedded and Real Time Software Lecture 19: Queuing Theory Steven Reiss, Fall 2015.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
IT Applications for Decision Making. Operations Research Initiated in England during the world war II Make scientifically based decisions regarding the.
Simulation in Healthcare Ozcan: Chapter 15 ISE 491 Fall 2009 Dr. Burtner.
STATIC ANALYSIS OF UNCERTAIN STRUCTURES USING INTERVAL EIGENVALUE DECOMPOSITION Mehdi Modares Tufts University Robert L. Mullen Case Western Reserve University.
DEPARTMENT/SEMESTER ME VII Sem COURSE NAME Operation Research Manav Rachna College of Engg.
Simulation. Types of simulation Discrete-event simulation – Used for modeling of a system as it evolves over time by a representation in which the state.
Building Valid, Credible & Appropriately Detailed Simulation Models
1 Chapter 6 Reformulation-Linearization Technique and Applications.
1 Chapter 5 Branch-and-bound Framework and Its Applications.
Traffic Simulation L2 – Introduction to simulation Ing. Ondřej Přibyl, Ph.D.
Estimating standard error using bootstrap
OPERATING SYSTEMS CS 3502 Fall 2017
Modeling and Simulation (An Introduction)
Dynamic Graph Partitioning Algorithm
Generalized Jackson Networks (Approximate Decomposition Methods)
System Performance: Queuing
Where did we stop? The Bayes decision rule guarantees an optimal classification… … But it requires the knowledge of P(ci|x) (or p(x|ci) and P(ci)) We.
Queueing networks.
Global mean-first-passage time of random walks on Vicsek fractals
Queuing Networks Mean Value Analysis
Chapter-5 Traffic Engineering.
Maximum Flow Problems in 2005.
Presentation transcript:

Application of Methods of Queuing Theory to Scheduling in GRID A Queuing Theory-based mathematical model is presented, and an explicit form of the optimal control procedure obtained as the solution to the problem of maximizing the system throughput.

Why Queuing Theory? Indeed, there are queues in real GRIDs The services GRIDs offer to end users much resemble the services offered by telephone networks, the typical subject of study in Queuing Theory The complexity of the associated processes leaves little options but to use the probabilistic techniques

Complexity: The Principal Limiting Factor to Modeling GRIDs are very complicated systems themselves GRIDs are composed of smaller complicated systems Computer hardware Networks Software GRIDs are embedded into the larger complicated systems: Scientific organizations R&D activities Globalization processes

Stopping Decomposition as Soon as Possible to Avoid Unnecessary Complexity Demarcate the phenomena specific to scheduling in GRID, and the generic phenomena Model complicated behavior of the components with probabilistic techniques Find the most general expression of the effects

Ultimate Stopper of Decomposition No entity in the modeled system should be decomposed, if the system persists when that entity is replaced with another similar one.

Implications There is no need to develop detailed models of computers, networks, software or interaction external to GRID There is no need to model the intra-GRID interaction, which does not directly affect scheduling Information about how long it will take to process a demand on each node is all we need to know about the demand.

Mathematical Concepts Involved Probability Poisson Process Multivariate Distribution Linear Programming Convergence “By Law”

Simplified Model: There is a finite number of classes of demands (all demands from the same class have equal complexity) Sub-Model of Structure: Set of N nodes with queues Sub-Model of Flow of Demands Poisson process of arrivals with intensity M classes of demands Sub-Model of Scheduling Procedure Recognizes distinct classes of demands and routes the demands to the nodes it chooses

Sub-Model: Structure

Sub-Model: Flow of Demands Demands from class j arrive with intensity j = p j ( 1 +…+ m = ) Upon arrival, a demand from class j is routed to node i with probability s i,j A demand from class j requires  i,j units of processing time, if routed to node i The computing time is “incompressible”: processing two demands with complexities T 1 and T 2 at a particular node requires T 1 +T 2 time units independently of the order (or level of parallelism) in which they are processed

Two Important Facts About Poisson Processes Let X 1 and X 2 be independent Poisson processes with intensity 1 and 2.Then X 1 + X 2 is a Poisson process with intensity Suppose a Poisson process X with intensity is split into X 1 and X 2. With probability p events are passed to X1 and otherwise to X 2. Then X 1 and X 2 are Poisson processes with intensities p and (1-p).

Flow of Demands & Scheduling Procedure

Sub-Model: Scheduling Procedure The GRID operates in a stable environment Routing of any demand in each moment depends on the current state of the system only For all nodes load  i <1  The system can operate in the stationary mode The stationary mode is stable

Stationary Mode

Implications of Stationary Operation Incoming demands of class j are routed to node i with stationary probability s i,j Load of node i has the form  i =  s i,j  i,j p j < 1

Optimization Problem

Linear Programming It is possible to rewrite the constraints in the folowing form:  ’ i =  s i,j  i,j p j  ’ i   ’  ’  min Now it is an LP problem

From Simplified to Real-World Model How to handle non-discrete distributions of demands? How to handle errors in classification (imperfect information)? What about non-stationary modes? Short-term excesses are not fatal because of stability Long-term changes in distribution of demands can render the S.P. non-optimal

Approximating Actual Distribution of Demands with A Discrete Distribution

A Better Approximation

What Happens When M  ? Simplified s is a matrix s: NxM  [0,1]  : NxM  [0,  )  i =  s i,j  i,j p j Marginal s is a function s i : R M  [0,1]  : multivariate random value (in R M )  i = E  i s i (  )

Handling Imperfect Information Average values of  i,j can be used The scheduling procedure should be iteratively re-evaluated when more information becomes available In the real world applications, the exact distribution of demands is unknown, but can be approximated from the history of the system operation

A Comparison Let  be an exponentially distributed random value with average 1  i,j =1+  Trivial procedure distributes demands with equal probability to any node An optimized procedure is obtained as shown

Scheduling: Trivial vs. Optimized Maximum Throughput Num. of Nodes Optimized Trivial

Conclusions The exact upper bound of throughput for a given GRID can be estimated A scheduling procedure which achieves this limit can be constructed from a solution of an LP problem The optimal scheduling procedure should be non-deterministic Trivial and deterministic schedulers are generally unlikely to achieve the theoretical limit

References L. Kleinrock, “Queueing Systems”, 1976 Andrei Dorokhov, “Simulation simple models and comparison with queueing theory” 965/00/ abs.htm 965/00/ abs.htm Atsuko Takefusa, Osamu Tatebe, Satoshi Matsuoka, Youhei Morita, “Performance Analysis of Scheduling and Replication Algorithms on Grid Datafarm Architecture for High-Energy Physics Applications” GNU Linear Programming Kit,

My Special Thanks To: Dr. V.A. Ilyin for directing my work in the field of GRID systems Prof. A.N. Shiryaev for directing my work in the Theory of Probability