1 / 26

Why real-time scheduling theory still matters

Why real-time scheduling theory still matters. Sanjoy Baruah The University of North Carolina at Chapel Hill. Our discipline = Systems + Theory. Our discipline. is about systems …that require formal/ theoretical analysis. Has over-emphasized the theory.

Download Presentation

Why real-time scheduling theory still matters

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  2. Our discipline = Systems + Theory Our discipline is about systems …that require formal/ theoretical analysis Has over-emphasized the theory - A distinguishing characteristic of the discipline Is starting to remedy this • 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

  3. Scheduling theory remains relevant to real-time systems.

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

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

  6. why theory? – what kinds? – which areas? why theory? – what kinds? – which areas? why theory? – what kinds? – which areas? Thesis 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 • Why theory mattered (and matters) • What forms of scheduling theory are important • What specific areas are most important

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

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

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

  10. 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 newlaw 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) “Industrially relevant research is … research that is usable when industry decides it is relevant” -Bjorn Andersson Caveats 1. new facts and laws are needed - but present them elsewhere (e.g., theory conferences) 2. need not be useful immediately

  11. why theory? – what kinds? – which areas? What counts as good theory? Should potentially be useful 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 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 * Using the appropriate abstractions - highlights a few salient features or principles * Computationally tractable abstractions - E.g., for hard-real-time schedulability analysis Obtaining appropriate abstractions is an important research area

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

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

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

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

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

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

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

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

  20. why theory? – what kinds? – which areas? Mixed criticalities: Promising research areas J1 is flight-critical; J2 is mission-critical Both arrive at t=0; have deadlines at t=10 WCET of J1 is 6; WCET of J2 is 5 Validated at both criticalities The same system is being validated, twice Flight-critical certification Mission-critical validation at a lower level of assurance at a veryhigh level of assurance of the entiresystem of only a subset of the system • 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?

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

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

  23. Summary A thesis… Scheduling theory remains relevant to real-time systems. Some forms of scheduling theory are particularly important. These important forms can be identified. …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

  24. REAL-TIME SYSTEMS SCHEDULING THEORY

  25. Summary A thesis… Scheduling theory remains relevant to real-time systems. Some forms of scheduling theory are particularly important. These important forms can be identified. …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

More Related