Parallel Job Scheduling Algorithms and Interfaces Research Exam for Cynthia Bailey Lee Department of Computer Science and Engineering University of California,

Slides:



Advertisements
Similar presentations
CPU Scheduling.
Advertisements

Evaluating the Cost-Benefit of Using Cloud Computing to Extend the Capacity of Clusters Presenter: Xiaoyu Sun.
Studies of the User-Scheduler Relationship Cynthia Bailey Lee Advisor: Allan E. Snavely Department of Computer Science and Engineering San Diego Supercomputer.
Towards Provision of Quality of Service Guarantees in Job Scheduling Mohammad IslamPavan Balaji P. SadayappanD. K. Panda Computer Science and Engineering.
USC Viterbi School of Engineering Ewa Deelman Resource Management.
Scheduling of parallel jobs in a heterogeneous grid environment Scheduling of parallel jobs in a heterogeneous grid environment Each site has a homogeneous.
Chap 5 Process Scheduling. Basic Concepts Maximum CPU utilization obtained with multiprogramming CPU–I/O Burst Cycle – Process execution consists of a.
Chapter 5 CPU Scheduling. CPU Scheduling Topics: Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling.
Operating System Concepts with Java – 7 th Edition, Nov 15, 2006 Silberschatz, Galvin and Gagne ©2007 Processes and Their Scheduling.
Operating Systems 1 K. Salah Module 2.1: CPU Scheduling Scheduling Types Scheduling Criteria Scheduling Algorithms Performance Evaluation.
CS 3013 & CS 502 Summer 2006 Scheduling1 The art and science of allocating the CPU and other resources to processes.
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.
What we will cover…  CPU Scheduling  Basic Concepts  Scheduling Criteria  Scheduling Algorithms  Evaluations 1-1 Lecture 4.
Wk 2 – Scheduling 1 CS502 Spring 2006 Scheduling The art and science of allocating the CPU and other resources to processes.
Job scheduling Queue discipline.
On Economics and the User-Scheduler Relationship in HPC and Grid Systems Cynthia Bailey Lee Advisor: Allan E. Snavely Department of Computer Science and.
Is 99% Utilization of a Supercomputer a Good Thing? Scheduling in Context: User Utility Functions Cynthia Bailey Lee Department of Computer Science and.
Scheduling Parallel Task
Integrated Risk Analysis for a Commercial Computing Service Chee Shin Yeo and Rajkumar Buyya Grid Computing and Distributed Systems (GRIDS) Lab. Dept.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 6: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms.
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.
Computer Architecture and Operating Systems CS 3230: Operating System Section Lecture OS-3 CPU Scheduling Department of Computer Science and Software Engineering.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Lecture 5 Operating Systems.
CPU Scheduling Introduction to Operating Systems: Module 13.
OPERATING SYSTEMS CPU SCHEDULING.  Introduction to CPU scheduling Introduction to CPU scheduling  Dispatcher Dispatcher  Terms used in CPU scheduling.
Scheduling of Parallel Jobs In a Heterogeneous Multi-Site Environment By Gerald Sabin from Ohio State Reviewed by Shengchao Yu 02/2005.
CPU S CHEDULING Lecture: Operating System Concepts Lecturer: Pooja Sharma Computer Science Department, Punjabi University, Patiala.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 6: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms.
ICS Principles of Operating Systems Lecture 5 - CPU Scheduling Prof. Nalini Venkatasubramanian
Silberschatz and Galvin  Operating System Concepts Module 5: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 5: CPU Scheduling.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 31 – Multimedia OS (Part 1) Klara Nahrstedt Spring 2011.
Performance evaluation of component-based software systems Seminar of Component Engineering course Rofideh hadighi 7 Jan 2010.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 6: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms.
Chapter 5: CPU Scheduling. 5.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 5: CPU Scheduling Basic Concepts Scheduling Criteria.
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.
MROrder: Flexible Job Ordering Optimization for Online MapReduce Workloads School of Computer Engineering Nanyang Technological University 30 th Aug 2013.
Performance Analysis of Preemption-aware Scheduling in Multi-Cluster Grid Environments Mohsen Amini Salehi, Bahman Javadi, Rajkumar Buyya Cloud Computing.
Silberschatz and Galvin  Operating System Concepts Module 5: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor.
1 CS.217 Operating System By Ajarn..Sutapart Sappajak,METC,MSIT Chapter 5 CPU Scheduling Slide 1 Chapter 5 CPU Scheduling.
6.1 CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling Algorithm Evaluation.
Job Scheduling P. (Saday) Sadayappan Ohio State University.
QoPS: A QoS based Scheme for Parallel Job Scheduling M. IslamP. Balaji P. Sadayappan and D. K. Panda Computer and Information Science The Ohio State University.
CSC 322 Operating Systems Concepts Lecture - 10: by Ahmed Mumtaz Mustehsan Special Thanks To: Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall,
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 31 – Process Management (Part 1) Klara Nahrstedt Spring 2009.
Chapter 4 CPU Scheduling. 2 Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling Algorithm Evaluation.
Lecture 4 CPU scheduling. Basic Concepts Single Process  one process at a time Maximum CPU utilization obtained with multiprogramming CPU idle :waiting.
CPU Scheduling CS Introduction to Operating Systems.
CPU scheduling.  Single Process  one process at a time  Maximum CPU utilization obtained with multiprogramming  CPU idle :waiting time is wasted 2.
Basic Concepts Maximum CPU utilization obtained with multiprogramming
Lecture 5 Scheduling. Today CPSC Tyson Kendon Updates Assignment 1 Assignment 2 Concept Review Scheduling Processes Concepts Algorithms.
CPU Scheduling Algorithms CSSE 332 Operating Systems Rose-Hulman Institute of Technology.
Parallel Job Scheduling Algorithms and Interfaces
Chapter 6: CPU Scheduling
CS 143A - Principles of Operating Systems
CPU Scheduling G.Anuradha
Module 5: CPU Scheduling
3: CPU Scheduling Basic Concepts Scheduling Criteria
Chapter5: CPU Scheduling
Chapter 5: CPU Scheduling
Chapter 6: CPU Scheduling
A Characterization of Approaches to Parrallel Job Scheduling
Operating System , Fall 2000 EA101 W 9:00-10:00 F 9:00-11:00
Chapter 6: CPU Scheduling
Module 5: CPU Scheduling
Chapter 6: CPU Scheduling
Module 5: CPU Scheduling
Presentation transcript:

Parallel Job Scheduling Algorithms and Interfaces Research Exam for Cynthia Bailey Lee Department of Computer Science and Engineering University of California, San Diego May 27, 2004

Outline Introduction –Problem Overview –Why does this matter? –Problem Specification History –Early Approaches –Backfilling –Priorities Evaluation –Metrics –Metric Pitfalls –User Perspectives Future Directions

What Are We Trying to Do? Introduction: Problem Overview Why Does This Matter? Problem Specification Job: Blue Horizon CFD visualization: System: Job Model: System Model: Time Processors Time Processors Running Jobs Queued Job Message-Passing Parallel Scientific Code Idle space

Why Does This Matter? Introduction: Problem Overview Why Does This Matter? Problem Specification Systems in the Top500 typically range in price from $1 million to $50 million+ Top500 data:

Problem Specification Purpose process a workload parallel batch jobs Processor Homogeneity machine consists of N identical processors Job Specification processors by requested runtime Exclusivity jobs do not share processors Non-Preemption once begun, jobs run to completion Online jobs arrive stochastically, no knowledge of future Accounting there is a scheme to track users' resource consumption User Independence users are in competition for system resources Introduction: Problem Overview Why Does This Matter? Problem Specification

Outline Introduction –Problem Overview –Why does this matter? –Problem Specification History –Early Approaches –Backfilling –Priorities Evaluation –Metrics –Metric Pitfalls –User Perspectives Future Directions History

First Come First Serve (FCFS) Job 1 Job 4 Job 3 Time Processors Job 2 History: Early Approaches Backfilling Priorities Queue:

Tennis Court Scheduling [M93,P04] Job 2 Job 3Job 4 Job 7 Job 6 Time Processors Job 1 Job 5 History: Early Approaches Backfilling Priorities

Allow backfills when the projected start of first job in the queue is not delayed No starvation—all jobs will eventually run Claim: “Jobs in the queue are never delayed from running by jobs submitted to the queue after them.” Disproved [MF01] EASY Backfilling [SCZL96] History: Early Approaches Backfilling Priorities

Conservative Backfilling Allow backfills when the projected starts of all preceding jobs in the queue are not delayed Worst-case start time guaranteed at submittal Claim: “guarantees that future arrivals do not delay previously queued jobs.” [MF01] Disproved—depending on semantics of “delay” [JSC01] History: Early Approaches Backfilling Priorities

Maui Scheduler [JS01] Priorities—a function of 20+ parameters (don’t read this chart) History: Early Approaches Backfilling Priorities Parameterized backfills – Backfilling allowed when the projected starts of the N preceding jobs in the queue are not delayed  Maui is deployed on many major systems

Microeconomic Scheduler [SAWP95] A Unifying Principle Influence user behavior through accounting and charges, allow users to influence system behavior through payments [FR96] Job 1 Time Processors History: Early Approaches Backfilling Priorities

Outline Introduction –Problem Overview –Why does this matter? –Problem Specification History –Early Approaches –Backfilling –Priorities Evaluation –Metrics –Metric Pitfalls –User Perspectives Future Directions Evaluation

Common Metrics Makespan Utilization ResponseTime Expansion Factor (Slowdown) Bounded Slowdown Weighted Response Time Evaluation: Metrics Metric Pitfalls User Perspectives

Metric Pitfalls or “12 Ways to Fool the Masses When Giving Scheduler Performance Results” (Apologies to [B91]) 1.Rely on a single number (e.g. average) Don’t mention what happens to the unluckiest jobs [CADV02]—especially avoid focusing on those hard- to-schedule big jobs [SKSS02, EHY02] 2.Use a workload that is unrealistic and shows off your scheduler’s strengths [MF01,FN95] 3.Avoid unpleasant related facts like internal fragmentation [PJN99] 4.Don’t waste time worrying about user-centric aspects of performance such as fairness and start-time guarantees [MF01] 5.Focus solely on performance, not user interface and implementation issues Evaluation: Metrics Metric Pitfalls User Perspectives » Citations noted are exemplary cases of doing the right thing

8 am 12–1pm 5 pm-8 am 9 am Scheduling in Context: User Utility Functions [FRSSW97] Evaluation: Metrics Metric Pitfalls User Perspectives u(t)

Outline Introduction –Problem Overview –Why does this matter? –Problem Specification History –Early Approaches –Backfilling –Priorities Evaluation –Metrics –Metric Pitfalls –User Perspectives Future Directions

Scheduling Explicitly by User Utility Function [L04, FrN95] If user utility functions can be collected, a scheduler can be designed to explicitly optimize the global utility –A survey of users at SDSC demonstrated feasibility of collection for crude utility functions Formulated as a Linear program—with some integer constraints—finding the optimal solution is NP-hard –Commercially available solvers are able to produce good solutions in reasonable timeframes (< 1 minute) Future Directions

Empowering the User by Providing More Information [L04] Future Directions

User-Provided Inputs [MF01, LSHS04] Users are strongly motivated to overestimate in their requested runtimes –Jobs are killed when the time expires Can users be more accurate when not threatened with death, and with more tangible rewards? Future Directions

Outline Introduction –Problem Overview –Why does this matter? –Problem Specification History –Early Approaches –Backfilling –Priorities Evaluation –Metrics –Metric Pitfalls –User Perspectives Future Directions Conclusion