1 / 20

Preemptive Behavior Analysis and Improvement of Priority Scheduling Algorithms

Preemptive Behavior Analysis and Improvement of Priority Scheduling Algorithms. Xiaoying Wang Northeastern University China. Introduction 2. Micro scheduling model of ready queue 3. Case study and performance evaluation 4. Conclusion.

Download Presentation

Preemptive Behavior Analysis and Improvement of Priority Scheduling Algorithms

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. Preemptive Behavior Analysis and Improvement of Priority Scheduling Algorithms Xiaoying Wang Northeastern University China

  2. Introduction 2. Micro scheduling model of ready queue 3. Case study and performance evaluation 4. Conclusion

  3.  This Research was supported by National Natural Science Foundation of China grant by 60203011.

  4. Most of embedded real-time systems only deploy necessary resources so that the extra preemption overheads among tasks debase the system performance terribly. Through scheduling process analysis of periodic task, this paper presents the waiting limit formula of each task in ready queue while guarantees its deadline.

  5. In addition, some properties such as final preempt time is deduced and the necessary condition of preemptive behavior of periodic tasks is quantitatively described. Based on them, a micro scheduling preempt model for periodic tasks in ready queue is put forward, which decreases preempt amount and optimizes system performance through change preempt relationship.

  6. The model cannot only decreases preempt amount effectively but enhances processor utilization for static priority scheduling algorithm such as rate monotonic scheduling, which is demonstrated by case study and simulation.

  7. Symbol Definition • n is the total number of tasks in task set; • Q is the ready queue; • τi is the identification of task, 1≤i≤n; • Ci is the worst case computation time of task τi, 1≤i≤n; • Ti is the period of task τi, 1≤i≤n; • Di is the deadline of task τi, 1≤i≤n;

  8. Symbol Definition • Pi is the priority of task τi, a smaller value of Pi denotes a higher priority, 1≤i≤n; • Wi is the accumulate waiting time of taskτi in ready queue, namely the accumulate suspend time, 1≤i≤n; • Ri is the accumulate executing time of task τi in ready queue, 1≤i≤n; • Fi is the phase of task τi, 1≤i≤n.

  9. Example Task Set

  10. Example Sequence of RM Scheduling

  11. Attribute of Time 21

  12. Attribute of Time 17

  13. Theorem • For a give task set of n periodic schedulable tasks, if the Kth execution of the lowest priority task τn postpones ℓnk time and can meet its deadline, then the K+1th execution of task τn can still meet its deadline.

  14. Lemma • For a give task set of n periodic schedulable tasks, if the Kth execution of task τi postpones ℓik time and can meet its deadline, then the K+1th execution of task τi can still meet its deadline.

  15. Case study and performance evaluation • Optimization on static priority scheduling • Optimization on dynamic priority scheduling

  16. RM Sequence Adapting Micro Scheduling Algorithm RM Sequence Adapting Micro Scheduling Algorithm Sequence of EDF Scheduling EDF Sequence Adapting Micro Scheduling Algorithm

  17. Simulation Comparison

  18. Conclusion • The model can not only decrease preempt amount and reduce overheads of real-time systems to a great extent, but improve processor schedulable utilization of static priority scheduling algorithm as well.

  19. Future work • Compute task’s optimum phase offline through optimization algorithm • The longest postponement time of preemption for soft deadline tasks

  20. Thank you for your consideration!

More Related