Modelling job allocation where service duration is unknown Nigel Thomas University of Newcastle upon Tyne.

Slides:



Advertisements
Similar presentations
Chapter 9 Uniprocessor Scheduling
Advertisements

Chapter 9 Uniprocessor Scheduling
Delay and Throughput in Random Access Wireless Mesh Networks Nabhendra Bisnik, Alhussein Abouzeid ECSE Department Rensselaer Polytechnic Institute (RPI)
A performance model for an asynchronous optical buffer W. Rogiest K. Laevens D. Fiems H. Bruneel SMACS Research Group Ghent University Performance 2005.
IT Systems Multiprocessor System EN230-1 Justin Champion C208 –
Chapter 9 Uniprocessor Scheduling Operating Systems: Internals and Design Principles, 6/E William Stallings Dave Bremer Otago Polytechnic, N.Z. ©2008,
Chapter 6: CPU Scheduling. 5.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Feb 2, 2005 Chapter 6: CPU Scheduling Basic.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 6: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms.
Queueing Network Model. Single Class Model Open - Infinite stream of arriving customers Closed - Finite population eg Intranet users Indistinguishable.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-4670: Computer Communications Netwoks Exam 2: Solutions Time: 75 min (strictly enforced)
Grid Load Balancing Scheduling Algorithm Based on Statistics Thinking The 9th International Conference for Young Computer Scientists Bin Lu, Hongbin Zhang.
1 Performance Evaluation of Computer Networks: Part II Objectives r Simulation Modeling r Classification of Simulation Modeling r Discrete-Event Simulation.
Chapter 4 Processor Management
Chapter 6 CPU SCHEDULING.
Chapter 5 – CPU Scheduling (Pgs 183 – 218). CPU Scheduling  Goal: To get as much done as possible  How: By never letting the CPU sit "idle" and not.
A Non-Monetary Protocol for P2P Content Distribution in Wireless Broadcast Networks with Network Coding I-Hong Hou, Yao Liu, and Alex Sprintson Dept. of.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 6: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms.
임규찬. 1. Abstract 2. Introduction 3. Design Goals 4. Sample-Based Scheduling for Parallel Jobs 5. Implements.
Silberschatz and Galvin  Operating System Concepts Module 5: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor.
1 Our focus  scheduling a single CPU among all the processes in the system  Key Criteria: Maximize CPU utilization Maximize throughput Minimize waiting.
CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Thread Scheduling Multiple-Processor Scheduling Operating Systems Examples Algorithm.
CE Operating Systems Lecture 7 Threads & Introduction to CPU Scheduling.
Chapter 5: Process Scheduling. 5.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Basic Concepts Maximum CPU utilization can be obtained.
1 11/29/2015 Chapter 6: CPU Scheduling l Basic Concepts l Scheduling Criteria l Scheduling Algorithms l Multiple-Processor Scheduling l Real-Time Scheduling.
Chapter 5: CPU Scheduling. 5.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Feb 2, 2005 Chapter 5: CPU Scheduling Basic.
MODELING EXAMPLES Types of model Conceptual Containing components that have not been clearly Identified in terms of theoretic categories such as state,
1 CS.217 Operating System By Ajarn..Sutapart Sappajak,METC,MSIT Chapter 5 CPU Scheduling Slide 1 Chapter 5 CPU Scheduling.
Lecture Topics: 11/15 CPU scheduling: –Scheduling goals and algorithms.
 Simulation enables the study of complex system.  Simulation is a good approach when analytic study of a system is not possible or very complex.  Informational,
Simple Queueing Theory: Page 5.1 CPE Systems Modelling & Simulation Techniques Topic 5: Simple Queueing Theory  Queueing Models  Kendall notation.
Chapter 4 CPU Scheduling. 2 Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling Algorithm Evaluation.
Process Scheduling. Scheduling Strategies Scheduling strategies can broadly fall into two categories  Co-operative scheduling is where the currently.
Basic Concepts Maximum CPU utilization obtained with multiprogramming
1 Chapter 5: CPU Scheduling. 2 Basic Concepts Scheduling Criteria Scheduling Algorithms.
CPU Scheduling CSSE 332 Operating Systems
CPU SCHEDULING.
Chapter 6: CPU Scheduling
Chapter 5a: CPU Scheduling
Load Balancing and Data centers
Edinburgh Napier University
Dynamic Graph Partitioning Algorithm
Operating Systems Processes Scheduling.
Chapter 6: CPU Scheduling
Chapter 6: CPU Scheduling
CPU Scheduling G.Anuradha
Module 5: CPU Scheduling
Chapter 5: CPU Scheduling
3: CPU Scheduling Basic Concepts Scheduling Criteria
Process Scheduling B.Ramamurthy 12/5/2018.
Chapter5: CPU Scheduling
COMP60611 Fundamentals of Parallel and Distributed Systems
COMP60621 Designing for Parallelism
Chapter 6: CPU Scheduling
Chapter 6: CPU Scheduling
Lecture 2 Part 3 CPU Scheduling
Process Scheduling B.Ramamurthy 2/23/2019.
Process Scheduling B.Ramamurthy 2/23/2019.
Process Scheduling B.Ramamurthy 4/11/2019.
Process Scheduling B.Ramamurthy 4/7/2019.
Uniprocessor scheduling
Operating System , Fall 2000 EA101 W 9:00-10:00 F 9:00-11:00
Process Scheduling B.Ramamurthy 4/19/2019.
Process Scheduling B.Ramamurthy 4/24/2019.
Chapter 6: CPU Scheduling
Chapter 5: CPU Scheduling
Module 5: CPU Scheduling
Process Scheduling B.Ramamurthy 5/7/2019.
Chapter 6: CPU Scheduling
CPU Scheduling: Basic Concepts
Module 5: CPU Scheduling
Presentation transcript:

Modelling job allocation where service duration is unknown Nigel Thomas University of Newcastle upon Tyne

Contents Motivation TAG Aims The basic model Some initial results Phase type distributions More results Conclusions

Motivation: Grid computing The promise of grid computing is seamless integration of multiple resources from multiple domains. –Customers are promised the ability to automatically select the best resources for their task. –Providers are promised the ability to schedule tasks efficiently according to whatever criteria they specify. Currently the reality is somewhat different! This is due (in part) to the difficulty of finding the necessary information. Therefore an important research topic is determining the best strategies to employ in grid scheduling and brokerage with limited available information.

Motivation: fair use of resources Suppose there are N jobs waiting to be served, but the head job is much larger than all the others, then all the jobs must wait a long time. If we have a choice of servers/queues then we would like to allocate jobs queues according to their size to prevent (or reduce) this problem. However, estimating job duration is notoriously costly and unreliable, so what can we do? –Pull jobs from a central resource. –Assign jobs to the service centre with the shortest queue. –Assign jobs to service centres on a round robin basis. –Assign jobs to service centres randomly according to probabilities based on service capacity.

TAG (Mor Harchol-Balter, 2002) Seeks to reduce variance at each queue. Allows shorter jobs to proceed quickly, but delays longer jobs more. Employs a progressive filtering mechanism. Stops jobs that execute for too long and re-queues them at the subsequent node.

Aims of this paper To model the TAG scheme in PEPA. To investigate different service distributions (initially negative exponential and Cox). To investigate finite capacity queues, and hence consider job loss.

The model A 2 node system modelled in PEPA. The deterministic timeout is modelled with an Erlang distribution. Queues are modelled along conventional state based lines (queue- centric). The second queue employs an Erlang repeat service followed by the exponential remainder.

Node 1

Node 2

Initial results (1/3)

Phase type distributions Consist of multiple exponentials, e.g. –Erlang –Hyper-exponential –Cox

Adding Cox distributed service Actions phase1 and branch must be added to the cooperation sets and queue components to prevent them firing when the queue is empty. The timeout action is used to reset the service at node 1 if it is interrupted. p is the result of the race between timeout and phase1 conditional on service1 having not occurred.

More results (1/3)

Conclusions This paper has only scratched the surface of this problem, much remains to be done. It has been shown that TAG has some potential benefit for finite systems. More experimentation is required with the Cox distribution, particularly in varying α. A simulator has been produced (by Alex Liu) which will be used for comparison and to assess the degree of error introduced by the approximations.

Thanks for your time!