Sanjoy Baruah The University of North Carolina at Chapel Hill

Slides:



Advertisements
Similar presentations
Feedback EDF Scheduling Exploiting Dynamic Voltage Scaling Yifan Zhu and Frank Mueller Department of Computer Science Center for Embedded Systems Research.
Advertisements

Minimum Clique Partition Problem with Constrained Weight for Interval Graphs Jianping Li Department of Mathematics Yunnan University Jointed by M.X. Chen.
Class-constrained Packing Problems with Application to Storage Management in Multimedia Systems Tami Tamir Department of Computer Science The Technion.
COT 4600 Operating Systems Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 3:00-4:00 PM.
CPE555A: Real-Time Embedded Systems
DP-F AIR : A Simple Model for Understanding Optimal Multiprocessor Scheduling Greg Levin † Shelby Funk ‡ Caitlin Sadowski † Ian Pye † Scott Brandt † †
RUN: Optimal Multiprocessor Real-Time Scheduling via Reduction to Uniprocessor Paul Regnier † George Lima † Ernesto Massa † Greg Levin ‡ Scott Brandt ‡
Real-Time Scheduling CIS700 Insup Lee October 3, 2005 CIS 700.
Module 2 Priority Driven Scheduling of Periodic Task
Martha Garcia.  Goals of Static Process Scheduling  Types of Static Process Scheduling  Future Research  References.
Soft Real-Time Semi-Partitioned Scheduling with Restricted Migrations on Uniform Heterogeneous Multiprocessors Kecheng Yang James H. Anderson Dept. of.
High-level System Modeling and Power Management Techniques Jinfeng Liu Dept. of ECE, UC Irvine Sep
Chapter 6 Dynamic Priority Servers
Deterministic Scheduling
1 Scheduling on Heterogeneous Machines: Minimize Total Energy + Flowtime Ravishankar Krishnaswamy Carnegie Mellon University Joint work with Anupam Gupta.
Recap Priorities task-level static job-level static dynamic Migration task-level fixed job-level fixed migratory Baker/ Oh (RTS98) Pfair scheduling This.
Technische Universität Dortmund Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund, Informatik 12 Germany 2007/12/14.
New Schedulability Tests for Real- Time task sets scheduled by Deadline Monotonic on Multiprocessors Marko Bertogna, Michele Cirinei, Giuseppe Lipari Scuola.
A Categorization of Real-Time Multiprocessor Scheduling Problems and Algorithms Presentation by Tony DeLuce CS 537 Scheduling Algorithms Spring Quarter.
Jim Anderson 1 Multiprocessor Fair Scheduling The Case for Multiprocessor Fair Scheduling James H. Anderson University of North Carolina at Chapel Hill.
Bold Stroke January 13, 2003 Advanced Algorithms CS 539/441 OR In Search Of Efficient General Solutions Joe Hoffert
The Design of an EDF- Scheduled Resource-Sharing Open Environment Nathan Fisher Wayne State University Marko Bertogna Scuola Superiore Santa’Anna of Pisa.
Approximation Algorithms for Task Allocation with QoS and Energy Considerations Bader N. Alahmad.
Scheduling policies for real- time embedded systems.
Multiprocessor Real-time Scheduling Jing Ma 马靖. Classification Partitioned Scheduling In the partitioned approach, the tasks are statically partitioned.
National Taiwan University Department of Computer Science and Information Engineering 1 Optimal Real-Time Scheduling for Uniform Multiprocessors 薛智文 助理教授.
Real-Time Scheduling CS4730 Fall 2010 Dr. José M. Garrido Department of Computer Science and Information Systems Kennesaw State University.
6. Application mapping 6.1 Problem definition
6. A PPLICATION MAPPING 6.3 HW/SW partitioning 6.4 Mapping to heterogeneous multi-processors 1 6. Application mapping (part 2)
Real-Time Support for Mobile Robotics K. Ramamritham (+ Li Huan, Prashant Shenoy, Rod Grupen)
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems RMS and EDF Schedulers.
Advanced Operating Systems - Spring 2009 Lecture 14 – February 25, 2009 Dan C. Marinescu Office: HEC 439 B. Office.
Computer Science & Engineering, ASU1/17 Pfair Scheduling of Periodic Tasks with Allocation Constraints on Multiple Processors Deming Liu and Yann-Hang.
Real-Time Scheduling II: Compositional Scheduling Framework Insik Shin Dept. of Computer Science KAIST.
ECE555 Topic Presentation Energy-efficient real-time scheduling Xing Fu 20 September 2008 Acknowledge Dr. Jian-Jia Chen from ETH providing PPT Slides for.
Static Process Scheduling
Dynamic Priority Driven Scheduling of Periodic Task
Introduction to Real-Time Systems
Mok & friends. Resource partition for real- time systems (RTAS 2001)
Introductory Seminar on Research CIS5935 Fall 2008 Ted Baker.
Determining Optimal Processor Speeds for Periodic Real-Time Tasks with Different Power Characteristics H. Aydın, R. Melhem, D. Mossé, P.M. Alvarez University.
THE DEADLINE-BASED SCHEDULING OF DIVISIBLE REAL-TIME WORKLOADS ON MULTIPROCESSOR PLATFORMS Suriayati Chuprat Supervisors: Professor Dr Shaharuddin Salleh.
The NP class. NP-completeness Lecture2. The NP-class The NP class is a class that contains all the problems that can be decided by a Non-Deterministic.
Improved Conditions for Bounded Tardiness under EPDF Fair Multiprocessor Scheduling UmaMaheswari Devi and Jim Anderson University of North Carolina at.
Tardiness Bounds for Global EDF Scheduling on a Uniform Multiprocessor Kecheng Yang James H. Anderson Dept. of Computer Science UNC-Chapel Hill.
ICS 353: Design and Analysis of Algorithms NP-Complete Problems King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Embedded System Scheduling
The NP class. NP-completeness
Chapter 10 NP-Complete Problems.
OPERATING SYSTEMS CS 3502 Fall 2017
Multiprocessor Real-Time Scheduling
Chart Packing Heuristic
A Methodology for System-on-a-Programmable-Chip Resources Utilization
Presented by: Suresh Vadlakonda Ramanjaneya Gupta Pasumarthi
CprE 458/558: Real-Time Systems
ICS 353: Design and Analysis of Algorithms
Richard Anderson Autumn 2015 Lecture 8 – Greedy Algorithms II
Objective of This Course
Real Time Scheduling Mrs. K.M. Sanghavi.
Partitioned Scheduling of Multimode Systems on Multiprocessor Platforms: when to do the Mode Transition? José Marinho, Gurulingesh Raravi, Vincent Nélis.
Jian-Jia Chen and Tei-Wei Kuo
Sungho Kang Yonsei University
Greedy Algorithms: Homework Scheduling and Optimal Caching
Processes and operating systems
Richard Anderson Autumn 2016 Lecture 8 – Greedy Algorithms II
Anand Srinivasan Department of Computer Science
CSC 380: Design and Analysis of Algorithms
Ch 4. Periodic Task Scheduling
Complexity Theory: Foundations
Richard Anderson Autumn 2019 Lecture 8 – Greedy Algorithms II
Presentation transcript:

Sanjoy Baruah The University of North Carolina at Chapel Hill Cost-efficient synthesis of real-time systems upon heterogeneous multiprocessor platforms Sanjoy Baruah The University of North Carolina at Chapel Hill Supported in part by the U. S. National Science Foundation

Multiprocessor real-time scheduling Multiprocessor systems are important more computing capacity, at less cost arise naturally in many situations Long-term goal: Extend real-time scheduling theory to multiprocessors In this work: schedule periodic tasks on heterogeneous multiprocessors Outline of talk: background problem description results background – problem – results

Real-time process model Jobs: basic units of work characterized by three parameters arrival/ release time execution requirement deadline are preemptable Recurring tasks generate the jobs are independent background – problem – results

The periodic (Liu & Layland) task model Task T = (e,p) execution requirement period (utilization  e/p) (2) 5 10 15 20 Example: T = (2,5) time Jobs: first job arrives at any time; consecutive arrivals at least p time units apart each job has execution requirement e each job’s deadline is p time units after arrival background – problem – results

Migration issues on multiprocessors Partitioned scheduling Each task may only execute on a specific processor Global scheduling Any task’s job may execute on any processor background – problem – results

Migration issues on multiprocessors Partitioned scheduling: 1. Determine a mapping of tasks to processors 2. Perform run-time scheduling The Earliest Deadline First (EDF) scheduling algorithm - provably optimal (utilization bound = 1.0) on uniprocessors Partitioned with EDF  Assign tasks to the processors, such that no processor’s capacity is exceeded Schedule each processor using EDF background – problem – results

Multiprocessor models identical multiprocessors: each processor has the same computing capacity uniform multiprocessors: different processors have different computing capacities heterogeneous multiprocessors: each (task, processor) pair may have a different computing capacity background – problem – results

Multiprocessor models Fraction of computing capacity background – problem – results

Multiprocessor models identical multiprocessors: each processor has the same computing capacity P1 P2 P3 Task T1 Task T2 background – problem – results

Multiprocessor models uniform multiprocessors: different processors have different computing capacities P1 P2 P3 Task T1 Task T2 y y/2 y/3 x x/2 x/3 speed = 1 speed = 2 speed = 3 background – problem – results

Multiprocessor models heterogeneous multiprocessors: each (task, processor) pair may have a different computing capacity P1 P2 P3 Task T1 Task T2 y y 1.5 y x x/2 x/3 background – problem – results

Why study heterogeneous multiprocessors? Natural generalization of earlier models Systems synthesized using specialized COTS processors x/2 x/3 x CPU DSP chip Graphics co-processor Graphics-intensive task: Number-crunching task: y 1.5 y background – problem – results

Problem statement Determine Given system specification, as a collection of periodic real-time tasks a library of available processing units (and corresponding costs) Determine a (multiprocessor) implementation, comprised of the available kinds of processing units, of minimum cost COST-OPTIMAL SYSTEM SYNTHESIZER Implementation of A Available processors Periodic task system A background – problem – results

A = Problem example System specification: as a utilization matrix + a cost vector Cost/ processor: 10 2 4 0.4 0.3 0.5 0.35 0.8 0.25  0.6 T1 T2 T3 T4 T5 P1 P2 P3 T2 needs 0.6 of P3’s capacity A = T4 cannot execute on P2 Available processors Periodic task system A COST-OPTIMAL SYSTEM SYNTHESIZER Implementation of A background – problem – results

A = Problem example System specification: as a utilization matrix + a cost vector 10 2 4 0.4 0.3 0.5 0.35 0.8 0.25  0.6 T1 T2 T3 T4 T5 P1 P2 P3 A = P1 T1 T2 T3 T4 T5 A possible implementation: uses P1 procs only cost = 10 + 10 + 10 = 30 background – problem – results

A = Problem example System specification: as a utilization matrix + a cost vector 10 2 4 0.4 0.3 0.5 0.35 0.8 0.25  0.6 T1 T2 T3 T4 T5 P1 P2 P3 A = P1 P2 T2 P3 T3 T1 A better implementation: T5 uses one processor of each type cost = 10 + 2 + 4 = 16 T4 background – problem – results

A = Problem example System specification: as a utilization matrix + a cost vector 10 2 4 0.4 0.3 0.5 0.35 0.8 0.25  0.6 T1 T2 T3 T4 T5 P1 P2 P3 A = P1 P2 T2 T1 An even better implementation: T3 T5 uses one P1 and two P2’s cost = 10 + 2 + 2 = 14 T4 P2 background – problem – results

Results-I: intractability Given: An (n  m) matrix representing a task system, and an m-vector of processor costs, determine a mapping of the n tasks onto processors to minimize the total processor cost. Result: The minimum cost heterogeneous multiprocessor synthesis problem is NP-hard in the strong sense Proof: Transform from bin-packing Consequence: Unlikely to be able to solve efficiently even for relatively small systems background – problem – results

Results-II: Approximation algorithms The minimum cost heterogeneous real-time system implementation problem is NP-hard in the strong sense OBJECTIVE: Obtain approximate solutions to this problem: Obtain low-cost implementations… …with cost a bounded amount greater than the minimum cost RESULTS: Polynomial time algorithms for obtaining system implementations of cost at most costOPT + c, for global scheduling algorithms 2  costOPT + c, for partitioned scheduling algorithms where c is a constant independent of the system being designed background – problem – results

Summary Fact: Low-cost implementations are important Fact: Heterogeneous multiprocessor implementations are common But, the heterogeneity is usually not exploited … because heterogeneous systems are not well understood NSF CCR-0309825: Real-time Scheduling on Heterogeneous Multiprocessors Results: Approximation algorithms for minimum-cost synthesis of periodic task systems upon heterogeneous multiprocessor platforms that are asymptotically optimal, under the global scheduling paradigm asymptotically 2-approximate, under the partitioned scheduling paradigm