Why real-time scheduling theory still matters Sanjoy Baruah The University of North Carolina at Chapel Hill.

Slides:



Advertisements
Similar presentations
© Chinese University, CSE Dept. Software Engineering / Software Engineering Topic 1: Software Engineering: A Preview Your Name: ____________________.
Advertisements

Project Proposal.
W5HH Principle As applied to Software Projects
Sporadic Server Scheduling in Linux Theory vs. Practice Mark Stanovich Theodore Baker Andy Wang.
Comp 205: Comparative Programming Languages Semantics of Imperative Programming Languages denotational semantics operational semantics logical semantics.
Timing Predictability - A Must for Avionics Systems - Reinhard Wilhelm Saarland University, Saarbrücken.
Page 1 Building Reliable Component-based Systems Chapter 13 -Components in Real-Time Systems Chapter 13 Components in Real-Time Systems.
Automated Analysis and Code Generation for Domain-Specific Models George Edwards Center for Systems and Software Engineering University of Southern California.
SE curriculum in CC2001 made by IEEE and ACM: Overview and Ideas for Our Work Katerina Zdravkova Institute of Informatics
1 Building with Assurance CSSE 490 Computer Security Mark Ardis, Rose-Hulman Institute May 10, 2004.
Writing Good Software Engineering Research Papers A Paper by Mary Shaw In Proceedings of the 25th International Conference on Software Engineering (ICSE),
System Testing CS 414 – Software Engineering I Don Bagert January 21, 2003.
Designing Predictable and Robust Systems Tom Henzinger UC Berkeley and EPFL.
Course Introduction and Overview of Software Engineering Richard N. Taylor ICS 221 Fall 2002.
Chapter 3 Overview of Operating Systems Copyright © 2008.
Unit Testing CS 414 – Software Engineering I Don Bagert Rose-Hulman Institute of Technology January 16, 2003.
The Modular Structure of Complex Systems D.L. Parnas, P.C. Clement, and D.M. Weiss Published in IEEE Transactions on Software Engineering, March 1985 Presented.
LSU 10/09/2007System Design1 Project Management Unit #2.
EMBEDDED SOFTWARE Team victorious Team Victorious.
Industry Session – Mixed Criticality and Multi-Core David Corman Program Director, Cyber Physical Systems National Science Foundation 1.
Cost Estimation Van Vliet, chapter 7 Glenn D. Blank.
1 Real-Time Queueing Network Theory Presented by Akramul Azim Department of Electrical and Computer Engineering University of Waterloo, Canada John P.
EECE **** Embedded System Design
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
SOFTWARE ENGINEERING Hoang Huu Hanh, Hue University hanh-at-hueuni.edu.vn.
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 A Discipline of Software Design.
The Design of an EDF- Scheduled Resource-Sharing Open Environment Nathan Fisher Wayne State University Marko Bertogna Scuola Superiore Santa’Anna of Pisa.
Team Skill 6: Building the Right System From Use Cases to Implementation (25)
CSCI-383 Object-Oriented Programming & Design Lecture 1.
The Database from The Language of New Media by Lev Manovich.
1 Description and Schedulability Analysis of the Software Architecture of an Automated Vehicle Control System Stavros Tripakis VERIMAG EMSOFT’02.
Software Engineering Experimentation Rules for Reviewing Papers Jeff Offutt See my editorials 17(3) and 17(4) in STVR
Model-Driven Analysis Frameworks for Embedded Systems George Edwards USC Center for Systems and Software Engineering
 2003, G.Tecuci, Learning Agents Laboratory 1 Learning Agents Laboratory Computer Science Department George Mason University Prof. Gheorghe Tecuci 5.
Real-Time Systems Mark Stanovich. Introduction System with timing constraints (e.g., deadlines) What makes a real-time system different? – Meeting timing.
April 26, CSE8380 Parallel and Distributed Processing Presentation Hong Yue Department of Computer Science & Engineering Southern Methodist University.
BFair: An Optimal Scheduler for Periodic Real-Time Tasks
Analysis of Real-Time Multi-Modal FP-Scheduled Systems with Non-Preemptible Regions Authors: Masud Ahmed (presenting) Pradeep Hettiarachchi Nathan Fisher.
How to Read Research Papers? Xiao Qin Department of Computer Science and Software Engineering Auburn University
Company name KUAS HPDS A Realistic Variable Voltage Scheduling Model for Real-Time Applications ICCAD Proceedings of the 2002 IEEE/ACM international conference.
The Global Limited Preemptive Earliest Deadline First Feasibility of Sporadic Real-time Tasks Abhilash Thekkilakattil, Sanjoy Baruah, Radu Dobrin and Sasikumar.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Design and Analysis of Real-Time Software REal TIme System Laboratory Scuola Superiore S.Anna G. Lipari E. Bini Ericsson Lab Italia C. Vitucci.
Computer Science, Algorithms, Abstractions, & Information CSC 2001.
Energy-Aware Scheduling for Aperiodic Tasks on Multi-core Processors Dawei Li and Jie Wu Department of Computer and Information Sciences Temple University,
Special Class on Real-Time Systems
SAT 2009 Ashish Sabharwal Backdoors in the Context of Learning (short paper) Bistra Dilkina, Carla P. Gomes, Ashish Sabharwal Cornell University SAT-09.
Mixed Criticality Systems: Beyond Transient Faults Abhilash Thekkilakattil, Alan Burns, Radu Dobrin and Sasikumar Punnekkat.
Static WCET Analysis vs. Measurement: What is the Right Way to Assess Real-Time Task Timing? Worst Case Execution Time Prediction by Static Program Analysis.
Real-Time Scheduling II: Compositional Scheduling Framework Insik Shin Dept. of Computer Science KAIST.
Real-Time Systems, Events, Triggers. Real-Time Systems A system that has operational deadlines from event to system response A system whose correctness.
Chapter 7 What Can Computers Do For Me?. How important is the material in this chapter to understanding how a computer works? 4.
Lecture 4: Requirements Engineering COSI 120b, Principles of Software Engineering.
1 Semi-partitioned Model on Dual-core Mixed Criticality System Hao Xu.
Dynamic Priority Driven Scheduling of Periodic Task
Formal Methods in Software Engineering1 Today’s Agenda  Mailing list  Syllabus  Introduction.
CSC3315 (Spring 2009)1 CSC 3315 Languages & Compilers Hamid Harroud School of Science and Engineering, Akhawayn University
THE DEADLINE-BASED SCHEDULING OF DIVISIBLE REAL-TIME WORKLOADS ON MULTIPROCESSOR PLATFORMS Suriayati Chuprat Supervisors: Professor Dr Shaharuddin Salleh.
Lecture 10 Page 1 CS 111 Online Memory Management CS 111 On-Line MS Program Operating Systems Peter Reiher.
Choosing a Formal Method Mike Weissert COSC 481. Outline Introduction Reasons For Choosing Formality Application Characteristics Criteria For A Successful.
D10A Metode Penelitian MP-04b Metodologi Penelitian di dalam Ilmu Komputer/Informatika Program Studi S-1 Teknik Informatika FMIPA Universitas.
Optimization of Time-Partitions for Mixed-Criticality Real-Time Distributed Embedded Systems Domițian Tămaș-Selicean and Paul Pop Technical University.
Definition CASE tools are software systems that are intended to provide automated support for routine activities in the software process such as editing.
Research Methods Dr. X.
The One-Out-of-m Multicore Problem
BASICS OF SOFTWARE TESTING Chapter 1. Topics to be covered 1. Humans and errors, 2. Testing and Debugging, 3. Software Quality- Correctness Reliability.
Model-Driven Analysis Frameworks for Embedded Systems
Ontology Reuse In MBSE Henson Graves Abstract January 2011
How to Read Research Papers?
Sanjoy Baruah The University of North Carolina at Chapel Hill
Presentation transcript:

Why real-time scheduling theory still matters Sanjoy Baruah The University of North Carolina at Chapel Hill

Our discipline Has over-emphasized the theory is about systems …that require formal/ theoretical analysis - A distinguishing characteristic of the discipline Is starting to remedy this Our discipline = Systems + Theory -The “only theory?” test -Hard to get a uniprocessor paper into ECRTS/ RTSS! -Special issues/ invited talks are systems-oriented Let’s not over-compensate

Scheduling theory remains relevant to real-time systems.

Scheduling theory remains relevant to real-time systems. Some forms of scheduling theory are particularly important.

Scheduling theory remains relevant to real-time systems. Some forms of scheduling theory are particularly important. These important forms can be identified.

Outline of presentation 1.Why theory mattered (and matters) 2.What forms of scheduling theory are important 3.What specific areas are most important Thesis why theory? – what kinds? – which areas?

Our discipline = Systems + Theory The window of scarcity Real-time systems often have resource constraints hardware resources system specifications impossible to implement window of scarcity easy to implement Why theory? why theory? – what kinds? – which areas?

Why theory? Our discipline = Systems + Theory The window of scarcity Often safety-critical Very high cost of error Must be validated correct by Certification Authorities Use theory to prove correctness why theory? – what kinds? – which areas? Real-time systems often have resource constraints

Why theory? The window of scarcity Often safety-critical why theory? – what kinds? – which areas?

What counts as good theory? Should potentially be useful The “pure” sciences legitimately take the discovery of facts and laws as an end in itself. A new fact, a new law is an accomplishment, worthy of publication. But in [computer science and engineering] novelty in itself has no merit.. We test our artifacts by their usefulness and their costs, not their novelty. - Fred Brooks. The computer scientist as toolsmith. (CACM 1996) 2. need not be useful immediately 1. new facts and laws are needed - but present them elsewhere (e.g., theory conferences) Caveats why theory? – what kinds? – which areas? “Industrially relevant research is … research that is usable when industry decides it is relevant” -Bjorn Andersson

What counts as good theory? Should potentially be useful At the appropriate level of abstraction * Should be applicable to an entire class of systems - else, just a project report * Therefore, on abstract task/ machine models - highlights a few salient features or principles - E.g., for hard-real-time schedulability analysis * Using the appropriate abstractions In that empire, the art of cartography attained such perfection that […] the cartographers guilds struck a map of the empire whose size was that of the empire, and which coincided point for point with it. In the Deserts of the West, still today, there are Tattered Ruins of that Map, inhabited by Animals and Beggars. -Jorge Luis Borges In that empire, the art of cartography attained such perfection that […] the cartographers guilds struck a map of the empire whose size was that of the empire, and which coincided point for point with it. In the deserts of the west, still today, there are tattered ruins of that map, inhabited by animals and beggars. -Jorge Luis Borges Obtaining appropriate abstractions is an important research area * Computationally tractable abstractions why theory? – what kinds? – which areas?

Promising research areas Multiprocessors Component-based design Mixed criticalities why theory? – what kinds? – which areas?

Promising research areas Multiprocessors Component-based design * Future RT systems will be multiprocessor ones -the multicore revolution * Multiprocessor scheduling theory is not mature enough * Important questions -models -metrics -scheduling algorithms Mixed criticalities Big-picture question: what critical insights are needed for multiproc. scheduling? why theory? – what kinds? – which areas?

Promising research areas Multiprocessors Component-based design Open systems and componentization - more powerful platforms - SWaP considerations - software engineering issues Some work has been done… but much remains - abstraction and interface specification - an algebra for composition Mixed criticalities why theory? – what kinds? – which areas? Size, Weight, and Power (i.e., Energy)

Promising research areas Multiprocessors Component-based design Mixed criticalities: Promising research areas Mixed criticalities why theory? – what kinds? – which areas?

Different sub-systems have different certification requirements - Defense avionics example. Some sub-systems are more important than others - Automotive example: ABS vs car stereo - flight-critical certification: cycle-counting under pessimistic assumptions - mission-critical validation: extensive experimentation Example: Determining worst-case execution time (WCET) Flight critical: certified by Certification Authorities Mission-critical: validated by design team and mission-critical functionalities Flight-critical Mixed criticalities: Promising research areas why theory? – what kinds? – which areas?

J 1 is flight-critical; J 2 is mission-critical Both arrive at t=0; have deadlines at t=10 WCET of J 1 is 6; WCET of J 2 is time > 10  not schedulable But… - flight-criticality certification does not need J 2 to meet its deadline - for mission-critical validation, J 1 ’s WCET of 6 may be too pessimistic * Suppose J 1 ’s WCET, obtained by extensive experimentation, is 5 Priority-based scheduling: J 1 > J 2 Mixed criticalities: Promising research areas why theory? – what kinds? – which areas?

time * Suppose J 1 ’s WCET, obtained by extensive experimentation, is 5 Flight-criticality certification J 2 misses deadline J 1 meets deadline But… - flight-criticality certification does not need J 2 to meet its deadline - for mission-critical validation, J 1 ’s WCET of 6 may be too pessimistic J 1 is flight-critical; J 2 is mission-critical Both arrive at t=0; have deadlines at t=10 WCET of J 1 is 6; WCET of J 2 is 5 Priority-based scheduling: J 1 > J 2 Mixed criticalities: Promising research areas why theory? – what kinds? – which areas?

time But… - flight-criticality certification does not need J 2 to meet its deadline - for mission-critical validation, J 1 ’s WCET of 6 may be too pessimistic * Suppose J 1 ’s WCET, obtained by extensive experimentation, is 5 Mission-critical validation J 1 meets deadline J 2 meets deadline J 1 is flight-critical; J 2 is mission-critical Both arrive at t=0; have deadlines at t=10 WCET of J 1 is 6; WCET of J 2 is 5 Validated at both criticalities Priority-based scheduling: J 1 > J 2 Mixed criticalities: Promising research areas why theory? – what kinds? – which areas?

Validated at both criticalities J 1 is flight-critical; J 2 is mission-critical Both arrive at t=0; have deadlines at t=10 WCET of J 1 is 6; WCET of J 2 is 5 The same system is being validated, twice Flight-critical certification Mission-critical validation of only a subset of the system at a very high level of assurance of the entire system at a lower level of assurance Mixed criticalities: Promising research areas Interesting open issues: -How do we represent MC systems? -How do we reason about them? -“parallel worlds”? space-time partitioning? -What scheduling strategies are suitable? why theory? – what kinds? – which areas?

Summary Scheduling theory remains relevant to real-time systems. A thesis… …and its justification The window of scarcity; safety-critical nature of applications

Summary Scheduling theory remains relevant to real-time systems. Some forms of scheduling theory are particularly important. A thesis… …and its justification The window of scarcity; safety-critical nature of applications Must be relevant; must be at appropriate level of abstraction

Scheduling theory remains relevant to real-time systems. Some forms of scheduling theory are particularly important. These important forms can be identified. Summary A thesis… …and its justification The window of scarcity; safety-critical nature of applications Must be relevant; must be at appropriate level of abstraction Multiprocessors; component-based design; and mixed criticalities

SCHEDULING THEORY REAL-TIME SYSTEMS

Scheduling theory remains relevant to real-time systems. Some forms of scheduling theory are particularly important. These important forms can be identified. Summary A thesis… …and its justification The window of scarcity; safety-critical nature of applications Must be relevant; must be at appropriate level of abstraction Multiprocessors; component-based design; and mixed criticalities