A System Performance Model Distributed Process Scheduling.

Slides:



Advertisements
Similar presentations
Multiple Processor Systems
Advertisements

Distributed System Services Prepared By:- Monika Patel.
BARNALI CHAKRABARTY. What is an Operating System ?
Ch 11 Distributed Scheduling –Resource management component of a system which moves jobs around the processors to balance load and maximize overall performance.
Distributed Systems Major Design Issues Presented by: Christopher Hector CS8320 – Advanced Operating Systems Spring 2007 – Section 2.6 Presentation Dr.
Dynamic Thread Assignment on Heterogeneous Multiprocessor Architectures Pree Thiengburanathum Advanced computer architecture Oct 24,
Distributed Systems CS
Resource Management §A resource can be a logical, such as a shared file, or physical, such as a CPU (a node of the distributed system). One of the functions.
A system Performance Model Instructor: Dr. Yanqing Zhang Presented by: Rajapaksage Jayampthi S.
Martha Garcia.  Goals of Static Process Scheduling  Types of Static Process Scheduling  Future Research  References.
Distributed Process Scheduling Summery Distributed Process Scheduling Summery BY:-Yonatan Negash.
A SYSTEM PERFORMANCE MODEL CSC 8320 Advanced Operating Systems Georgia State University Yuan Long.
11Sahalu JunaiduICS 573: High Performance Computing5.1 Analytical Modeling of Parallel Programs Sources of Overhead in Parallel Programs Performance Metrics.
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.
1 Introduction to Load Balancing: l Definition of Distributed systems. Collection of independent loosely coupled computing resources. l Load Balancing.
Informationsteknologi Tuesday, October 9, 2007Computer Systems/Operating Systems - Class 141 Today’s class Scheduling.
Process Concept An operating system executes a variety of programs
Diffusion scheduling in multiagent computing system MotivationArchitectureAlgorithmsExamplesDynamics Robert Schaefer, AGH University of Science and Technology,
1 Distributed Systems: Distributed Process Management – Process Migration.
Summary for Chapter 5 --Distributed Process Scheduling
Mapping Techniques for Load Balancing
Dynamic Load Sharing and Balancing Sig Freund. Outline Introduction Distributed vs. Traditional scheduling Process Interaction models Distributed Systems.
Summary :- Distributed Process Scheduling Prepared BY:- JAYA KALIDINDI.
Chapter 5 Distributed Process Scheduling. 5.1 A System Performance Model --Niharika Muriki.
Design and Implementation of a Single System Image Operating System for High Performance Computing on Clusters Christine MORIN PARIS project-team, IRISA/INRIA.
Distributed Real-Time systems 1 By: Mahdi Sadeghizadeh Website: Sadeghizadeh.ir Advanced Computer Networks.
Chapter 5: CPU Scheduling. 5.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Feb 2, 2005 Basic Concepts Maximum CPU utilization.
Performance Evaluation of Parallel Processing. Why Performance?
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 1 Introduction Read:
Threads by Dr. Amin Danial Asham. References Operating System Concepts ABRAHAM SILBERSCHATZ, PETER BAER GALVIN, and GREG GAGNE.
1 Distributed Process Scheduling: A System Performance Model Vijay Jain CSc 8320, Spring 2007.
Young Suk Moon Chair: Dr. Hans-Peter Bischof Reader: Dr. Gregor von Laszewski Observer: Dr. Minseok Kwon 1.
Performance Model & Tools Summary Hung-Hsun Su UPC Group, HCS lab 2/5/2004.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 6: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms.
Multiprocessor and Real-Time Scheduling Chapter 10.
Chapter 101 Multiprocessor and Real- Time Scheduling Chapter 10.
1 Multiprocessor and Real-Time Scheduling Chapter 10 Real-Time scheduling will be covered in SYSC3303.
 A System Performance Model  Static Process Scheduling  Dynamic Load Sharing and Balancing  Real-Time Scheduling.
The Owner Share scheduler for a distributed system 2009 International Conference on Parallel Processing Workshops Reporter: 李長霖.
April 26, CSE8380 Parallel and Distributed Processing Presentation Hong Yue Department of Computer Science & Engineering Southern Methodist University.
BOF: Megajobs Gracie: Grid Resource Virtualization and Customization Infrastructure How to execute hundreds of thousands tasks concurrently on distributed.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 13 Threads Read Ch 5.1.
Static Process Scheduling Section 5.2 CSc 8320 Alex De Ruiter
Distributed System Concepts and Architectures 2.3 Services Fall 2011 Student: Fan Bai
Summary :-Distributed Process Scheduling Prepared By:- Monika Patel.
Distributed System Concepts and Architectures Services
Shuman Guo CSc 8320 Advanced Operating Systems
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.
Faucets Queuing System Presented by, Sameer Kumar.
Distributed Process Scheduling : A Summary
Department of Computer Science MapReduce for the Cell B. E. Architecture Marc de Kruijf University of Wisconsin−Madison Advised by Professor Sankaralingam.
Distributed System Services Fall 2008 Siva Josyula
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Distributed Real-Time Systems.
Static Process Scheduling
3/12/2013Computer Engg, IIT(BHU)1 INTRODUCTION-1.
Module 16: Distributed System Structures Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Distributed.
Uses some of the slides for chapters 3 and 5 accompanying “Introduction to Parallel Computing”, Addison Wesley, 2003.
Silberschatz, Galvin and Gagne ©2009Operating System Concepts – 8 th Edition Chapter 4: Threads.
1 Munther Abualkibash University of Bridgeport, CT.
Department of Computer Science University of California,Santa Barbara
Distributed Process Scheduling: 5.1 A System Performance Model
CSE8380 Parallel and Distributed Processing Presentation
Distributed Systems CS
Multiprocessor and Real-Time Scheduling
COMP60621 Fundamentals of Parallel and Distributed Systems
Outline Announcement Distributed scheduling – continued
Maximizing Speedup through Self-Tuning of Processor Allocation
COMP60611 Fundamentals of Parallel and Distributed Systems
Presentation transcript:

A System Performance Model Distributed Process Scheduling

Outline Overview Process Interaction Models A System Performance Model Efficiency Loss Processor Pool and Workstation Queuing Models Comparison of Performance for Workload Sharing References

For concurrent execution of interacting processes:- Communication and Synchronization between processes are the two essential system components Before processes can execute, they need to be:- Scheduled and Allocated with resources.

Why scheduling? 1.To enhance overall system performance metrices like: Process completion time and Processor utilization. 2. To achieve location and performance transparencies by distributed process scheduling.

Why scheduling in distributed systems is of special interest This is so because of the issues that are different from those in traditional multiprocessor systems: The communication overhead is significant. The effect of underlying architecture cannot be ignored. And the dynamic behaviour of the system must be addressed.

Process Models(in brief) 1.Precedence Process Model Processes are represented by a DAG. Nodes- sequential processes Arcs- eg: i to j requires that process I completes before j can start executing.

Communication Process Model Processes are created to coexist and communicate synchronously. So we have undirected edges.

Disjoint Process Model We assume that processes can be run independently of each other. So order in which processes are executed is not important.

System Performance Speedup -What are the factors on which it depends How to calculate speedup when we apply these factors

Speedup depends on three factors The design of the algorithm The efficiency of the scheduling algorithm The underlying system architecture. So if we take ‘S’ as the speedup factor then the above dependencies can be represented as S= F(Algorithm, System, Schedule)

Where OSPT= optimal sequential processing time; the best time that can be achieved on a single processor using the best sequential algorithm. CPT= concurrent processing time; actual time achieved with the concurrent algorithm on an ideal n-processor system using an optimal scheduling policy. OCPT ideal =optimal concurrent processing time on an ideal system; S i =ideal speedup obtained by using a multiple processor system over the best sequential time S d = the degradation of the system due to actual implementation compared to an ideal system

Refined formula for speedup….. n – number of processors RP- Relative Processing requirement, RC- Relative Concurrency

…. Refined formula for speedup Sd- degradation of parallelism due to algorithm implementation.

Final formula for speedup  - Efficiency Loss, loss of parallelism when implemented on a real machine.  can be decomposed into two terms:  =  sched +  syst

Efficiency Loss 

Efficiency Loss  (Cont.)

Workload Distribution Performance can be further improved by workload distribution Load sharing: static workload distribution Dispatch process to the idle processors statically upon arrival Corresponding to processor pool model Load balancing: dynamic workload distribution Migrate processes dynamically from heavily loaded processors to lightly loaded processors Corresponding to migration workstation model

18 Processor-Pool and Workstation Queueing Models Static Load Sharing Dynamic Load Balancing M for Markovian distribution

Comparison of Performance for Workload Sharing

References “Distributed Operating Systems and Algorithms” by Randy Chow and Theodore Johnson “Operating System Concepts” by Silberschatz, Galvin and Gagne