A SYSTEM PERFORMANCE MODEL CSC 8320 Advanced Operating Systems Georgia State University Yuan Long.

Slides:



Advertisements
Similar presentations
Distributed Systems Major Design Issues Presented by: Christopher Hector CS8320 – Advanced Operating Systems Spring 2007 – Section 2.6 Presentation Dr.
Advertisements

Prepared 7/28/2011 by T. O’Neil for 3460:677, Fall 2011, The University of Akron.
Hadi Goudarzi and Massoud Pedram
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.
Study of Hurricane and Tornado Operating Systems By Shubhanan Bakre.
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.
11Sahalu JunaiduICS 573: High Performance Computing5.1 Analytical Modeling of Parallel Programs Sources of Overhead in Parallel Programs Performance Metrics.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Parallel Programming in C with MPI and OpenMP Michael J. Quinn.
1 Dong Lu, Peter A. Dinda Prescience Laboratory Computer Science Department Northwestern University Virtualized.
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.
Parallel Programming Models Jihad El-Sana These slides are based on the book: Introduction to Parallel Computing, Blaise Barney, Lawrence Livermore National.
 Escalonamento e Migração de Recursos e Balanceamento de carga Carlos Ferrão Lopes nº M6935 Bruno Simões nº M6082 Celina Alexandre nº M6807.
Chapter 3 Parallel Algorithm Design. Outline Task/channel model Task/channel model Algorithm design methodology Algorithm design methodology Case studies.
Architectural Support for Fine-Grained Parallelism on Multi-core Architectures Sanjeev Kumar, Corporate Technology Group, Intel Corporation Christopher.
1 Distributed Process Scheduling: A System Performance Model Vijay Jain CSc 8320, Spring 2007.
Static Process Schedule Csc8320 Chapter 5.2 Yunmei Lu
Performance Model & Tools Summary Hung-Hsun Su UPC Group, HCS lab 2/5/2004.
Chapter 3 System Performance and Models. 2 Systems and Models The concept of modeling in the study of the dynamic behavior of simple system is be able.
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.
1 Distributed Energy-Efficient Scheduling for Data-Intensive Applications with Deadline Constraints on Data Grids Cong Liu and Xiao Qin Auburn University.
 A System Performance Model  Static Process Scheduling  Dynamic Load Sharing and Balancing  Real-Time Scheduling.
April 26, CSE8380 Parallel and Distributed Processing Presentation Hong Yue Department of Computer Science & Engineering Southern Methodist University.
Static Process Scheduling Section 5.2 CSc 8320 Alex De Ruiter
Summary :-Distributed Process Scheduling Prepared By:- Monika Patel.
CSC 8420 Advanced Operating Systems Georgia State University Yi Pan.
Lecture 4 TTH 03:30AM-04:45PM Dr. Jianjun Hu CSCE569 Parallel Computing University of South Carolina Department of.
Shuman Guo CSc 8320 Advanced Operating Systems
Real-Time Support for Mobile Robotics K. Ramamritham (+ Li Huan, Prashant Shenoy, Rod Grupen)
Rassul Ayani 1 Performance of parallel and distributed systems  What is the purpose of measurement?  To evaluate a system (or an architecture)  To compare.
R ECONFIGURABLE SECURITY SUPPORT FOR EMBEDDED SYSTEMS 1 AKSHATA VARDHARAJ.
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.
Architecture View Models A model is a complete, simplified description of a system from a particular perspective or viewpoint. There is no single view.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
Data Structures and Algorithms in Parallel Computing Lecture 7.
Static Process Scheduling
CDP Tutorial 3 Basics of Parallel Algorithm Design uses some of the slides for chapters 3 and 5 accompanying “Introduction to Parallel Computing”, Addison.
A System Performance Model Distributed Process Scheduling.
Computer Science and Engineering Power-Performance Considerations of Parallel Computing on Chip Multiprocessors Jian Li and Jose F. Martinez ACM Transactions.
An Integrated GPU Power and Performance Model (ISCA’10, June 19–23, 2010, Saint-Malo, France. International Symposium on Computer Architecture)
3/12/2013Computer Engg, IIT(BHU)1 INTRODUCTION-1.
Sunpyo Hong, Hyesoon Kim
Lecture 3: Designing Parallel Programs. Methodological Design Designing and Building Parallel Programs by Ian Foster www-unix.mcs.anl.gov/dbpp.
Genetic algorithms for task scheduling problem J. Parallel Distrib. Comput. (2010) Fatma A. Omara, Mona M. Arafa 2016/3/111 Shang-Chi Wu.
Chapter 11 System Performance Enhancement. Basic Operation of a Computer l Program is loaded into memory l Instruction is fetched from memory l Operands.
Page 1 2P13 Week 1. Page 2 Page 3 Page 4 Page 5.
COMP7330/7336 Advanced Parallel and Distributed Computing Task Partitioning Dr. Xiao Qin Auburn University
Resource Optimization for Publisher/Subscriber-based Avionics Systems Institute for Software Integrated Systems Vanderbilt University Nashville, Tennessee.
Pradeep Konduri Static Process Scheduling:  Proceedance process model  Communication system model  Application  Dicussion.
1 Performance Impact of Resource Provisioning on Workflows Gurmeet Singh, Carl Kesselman and Ewa Deelman Information Science Institute University of Southern.
OPERATING SYSTEMS CS 3502 Fall 2017
Processes and Threads Processes and their scheduling
Real-time Software Design
Department of Computer Science University of California,Santa Barbara
Distributed Process Scheduling: 5.1 A System Performance Model
CSE8380 Parallel and Distributed Processing Presentation
Multiprocessor and Real-Time Scheduling
COMP60621 Fundamentals of Parallel and Distributed Systems
Parallel Programming in C with MPI and OpenMP
COMP60611 Fundamentals of Parallel and Distributed Systems
Presentation transcript:

A SYSTEM PERFORMANCE MODEL CSC 8320 Advanced Operating Systems Georgia State University Yuan Long

O UTLINE Overview Basic Theory Process Integration Models Process Models System Performance Model Efficiency Loss Workload Distribution Processor-Pool and Workstation Queuing Models Comparison of Performance for Workload Sharing Recent Work Future Work

O VERVIEW Why scheduling?  Communication and synchronization facilities are essential system components for supporting concurrent execution of interacting processes.  Before the execution, processes need to be scheduled and allocated with resources.

O VERVIEW ( CONT.) What is the goal of scheduling?  Enhance overall system performance metrics. Process completion time Processor utilization.  Achieve location and performance transparency in distributed systems.

O VERVIEW ( CONT.) Issues?  The communication overhead can not be ignored.  The effect of underlying architecture can not be ignored.  Dynamic behavior of the system.

P ROCESS INTERACTION MODEL Four processes mapped to a two-processor multiple computer system.  Precedence process model ( Directed Acyclic Graph (DAG) )  Communication process model  Disjoint process model

P ROCESS MODELS  Precedence process model  Represent precedence relationships between processes  Minimize total completion time of task (computation + communication) P1 P2 P3 P4 Communication overhead

P ROCESS MODELS  Communication process model  Represent the need for communication between processes  Optimize the total cost of communication and computation

S YSTEM PERFORMANCE MODEL  Disjoint process model  Processes can run independently and completed in finite time  Maximize utilization of processors and minimize turnaround time of processes

S YSTEM PERFORMANCE MODEL  Speedup the algorithm design underlying system architecture efficiency of the scheduling algorithm.

S YSTEM PERFORMANCE MODEL  S can also be written as  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 ): the actual time achieved on a n-processor system with the concurrent algorithm and a specific scheduling method being considered  OCPT ideal ( optimal concurrent processing time on an ideal system ): the best time that can achieved with the concurrent algorithm being considered on an ideal n- processor system(no inter-communication overhead) and scheduled by an optimal scheduling policy  S i : the ideal speedup 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

 n=number of processors.  m= number of tasks in the algorithm.  =total computation of the concurrent algorithm S YSTEM PERFORMANCE MODEL  S i can be rewritten as  RP=Relative Processing requirement. (RP  1)  RC=Relative Concurrency. RC=1  best use of the processors

 ---the efficiency less the ratio of the real system overhead due to all causes to the ideal optimal processing time. Two parts:  sched +  syst S YSTEM PERFORMANCE MODEL  S d can be rewritten as  Finally we can get (The bigger the better)

E FFICIENCY LOSS  How to illustrate the interdependence between scheduling and system factors ? The efficiency loss p can be expressed as Real systemIdeal system Multiple computer system X’X Scheduling policy Y’Y Ideal system Non-Ideal system

E FFICIENCY LOSS  Following figure demonstrates the decomposition of efficiency loss due to scheduling and system communication. The significance of the impact of communication on system performance must be carefully addressed in the design of distributed scheduling algorithm.

W ORKLOAD D ISTRIBUTION Performance can be further improved by workload distribution Loading sharing: static workload distribution Dispatch processes 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

W ORKLOAD D ISTRIBUTION Model by queuing theory: X/Y/c An arrival process X, a service time distribution of Y, and c servers. : arrival rate;  : service rate;  : migration rate  : depends on channel bandwidth, migration protocol, context and state information of the process being transferred.

P ROCESSOR -P OOL AND W ORKSTATION Q UEUING M ODELS Static Load Sharing Dynamic Load Balancing M for Markovian distribution

C OMPARISON OF P ERFORMANCE FOR W ORKLOAD S HARING  =0  M/M/1  =   M/M/2

R ECENT W ORK Scheduling dynamic load-balancing in parallel and distributed computers By developing effective methods the whole program time execution will be decreased and process utilization will be optimized. Simple scheduling method Round Robin algorithm Genetic algorithm using modified genetic algorithm

R ECENT W ORK A performance model for analyzing large-scale systems Develop models of DNS( Direct Numerical Simulation ) Captures its key performance characteristics. Can be used for the prediction of performance on existing as well as non-existing systems.

F UTURE W ORK Integrated Power and Performance Model Predict the optimal number of active processors for a given application. Can model the increases in power consumption that resulted from the increases in temperature. Unlike previous models, which may require Measured execution times Hardware performance counters Or architectural simulation

F UTURE W ORK Scheduling in multi-processor systems based on PSO. Based on PSO method.(Particle swarm optimization algorithm) Each swarm is modeled by particles in multidimensional space. Every particle is specified by a position and velocity and starts a search in the search space. Minimize the maximum span and average utilization of all processors in an optimal way.

R EFERENCE [1]B.Veltman, Multiprocessor scheduling with communication delays, [2] Javad Mohammadzadeh, Scheduling dynamic load-balancing in parallel and distributed computers using modified genetic algorithm with time dependent fitness function,2009 [3] Darren J.Kerbyson, A performance model of direct numerical simulation for analyzing large- scale systems,2011 [4] Sunpyo Hong, Integrated GPU Power and Performance Model,2010 [5] OmidReza Kiyarazm, A new method for scheduling load balancing in multi-processor systems based on PSO,2011 [6] Randy Chow, Theodore Johnson, Distributed Operating Systems & Algorithms, 1997