1 / 15

A Fault-Tolerant Scheduling Algorithm for Real-Time Periodic Tasks with Possible Software Faults

A Fault-Tolerant Scheduling Algorithm for Real-Time Periodic Tasks with Possible Software Faults. Ching-Chih Han, Kang G. Shin, and Jian Wu. Introduction. Trading the quality of computation results for timeliness to avoid missing deadlines Redundant programs to achieve software fault tolerance.

Download Presentation

A Fault-Tolerant Scheduling Algorithm for Real-Time Periodic Tasks with Possible Software Faults

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. A Fault-Tolerant Scheduling Algorithm for Real-Time Periodic Tasks with Possible Software Faults Ching-Chih Han, Kang G. Shin, and Jian Wu

  2. Introduction • Trading the quality of computation results for timeliness to avoid missing deadlines • Redundant programs to achieve software fault tolerance

  3. Introduction (continue) • Deadline mechanism • Primary and alternate versions of task • Objective • Guaranteeing either the primary or alternate version of each task to be completed in time • Attempting to complete as many primaries as possible

  4. Background • Periodic task system model • Task set T = { T1,T2, …, Tn } • Period Ti of Ti • Primary Pi and alternate Ai • Computation time pi, ai • Request time rij of j th job • Deadline dij of j th job • Planning cycle T

  5. Background (continue) • Scheduling algorithms • Priority-driven preemptive scheduling scheme • Feasibly schedule • Optimal scheduling scheme • Rate monotonic (RM) algorithm • Earliest-deadline-first (EDF) algorithm

  6. The Proposed Approach • The basic algorithm • Overview • Details and examples • Offline scheduling • Online scheduling • Schedulability analysis

  7. Notification Times Calculated by Backward-RM Algorithm Task 1 (5, 2, 1) Task 2 (6, 2, 2) A21 A21 A22 A23 A24 A25 A11 A12 A13 A14 A15 A16 0 5 10 15 20 25 30

  8. Runtime Dynamic Job Scheduling Task 1 (5, 2, 1) Task 2 (6, 2, 2) P11 fail P21 aborted P11 success P22 success P11 P21 P12 P22 A21 A11 A21 A12 A22 A13 A23 A14 A24 A15 A25 A16 0 5 10 15 20 25 30

  9. The Proposed Approach (continue) • The modified algorithm • Existing problems • Checking available time (CAT) algorithm • Available Time ATij = (vij – t) – Σli=1Ii • Tradeoff between elimination of waste time and runtime overhead

  10. Drawback of Basic Scheduling Algorithm Task 1 (9, 5, 2) Task 2 (14, 4, 3) P11 fail P21 aborted P12 aborted P13 success P22 aborted P11 P21 A11 P12 A21 P12 A12 P13 P22 A22 A11 A21 A12 A22 A13 A22 5 10 15 20 25 30

  11. Tasks Scheduled by CAT Algorithm Task 1 (9, 5, 2) Task 2 (14, 4, 3) P11 fail P21 success P12 success P13 success P22 success P11 P21 A11 P21 P12 P22 P13 P22 P14 Select P21 instead of P12 A11 A21 A12 A22 A13 A22 5 10 15 20 25 30

  12. Drawback of Basic Scheduling Algorithm (continue) Task 1 (3, 1.5, 1) Task 2 (5, 1, 1) P11 success P21 fail P12 aborted P11 P21 P12 A11 A21 A12 A13 A22 A14 A23 A15 5 10 15

  13. The Proposed Approach (continue) • Eliminating idle time (EIT) algorithm

  14. Tasks Scheduled by EIT Algorithm Task 1 (3, 1.5, 1) Task 2 (5, 1, 1) P11 success P21 fail P12 success P11 P21 A21 P12 A21 A11 A21 A12 A13 A22 A14 A23 A15 5 10 15

  15. Conclusion • Meeting timing constraints • Tolerating software faults

More Related