Question: Problem 4. Three tasks have task execution times and periods as shown in table 4.1. Task Execution Time Period Task 1 Task 2 Task 3

 Problem 4. Three tasks have task execution times and periods as

Problem 4. Three tasks have task execution times and periods as shown in table 4.1. Task Execution Time Period Task 1 Task 2 Task 3 0.5 ms 0.4 ms 0.7 ms ms ms 5 ms Table 4.1. Task data for Problem 4 A preemptive scheduler is to be used to schedule these tasks (a) What is the processor load for these 3 tasks? (b) For the three tasks assume a rate-monotonic (RM) scheduler and sketch the program context over one 10 ms hyperperiod (c) For the RM scheduler what is the worst case latency for each of the three tasks? Are any deadlines missed? (d) Using an RM scheduler, what is the maximum possible execution time for task 2 for which no deadlines are missed? Problem 4. Three tasks have task execution times and periods as shown in table 4.1. Task Execution Time Period Task 1 Task 2 Task 3 0.5 ms 0.4 ms 0.7 ms ms ms 5 ms Table 4.1. Task data for Problem 4 A preemptive scheduler is to be used to schedule these tasks (a) What is the processor load for these 3 tasks? (b) For the three tasks assume a rate-monotonic (RM) scheduler and sketch the program context over one 10 ms hyperperiod (c) For the RM scheduler what is the worst case latency for each of the three tasks? Are any deadlines missed? (d) Using an RM scheduler, what is the maximum possible execution time for task 2 for which no deadlines are missed

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!