Question: 10.3. Least laxity first (LLF) is a real-time scheduling algorithm for periodic tasks. Slack time, or laxity, is the amount of time between when a

10.3. Least laxity first (LLF) is a real-time scheduling algorithm for periodic tasks. Slack time, or laxity, is the amount of time between when a task would complete if it started now and its next deadline. This is the size of the available scheduling window. Laxity can be expressed as
Laxity = (deadline time) €“ (current time) €“ (processor time needed)
LLF selects the task with the minimum laxity to execute next. If two or more tasks have the same minimum laxity value, they are serviced on a FCFS basis.
10.3. Least laxity first (LLF) is a real-time scheduling algorithm

a. Suppose a task currently has a laxity of t. By how long may the scheduler delay starting this task and still meet its deadline?
b. Suppose a task currently has a laxity of 0. What does this mean?
c. What does it mean if a task has negative laxity?
d. Consider a set of three periodic tasks with the execution profiles of Table 10.9a. Develop scheduling diagrams similar to those of Figure 10.5 for this set of tasks that compare rate monotonic, earliest-deadline first, and LLF. Assume preemption may occur at 5-ms intervals. Comment on the results.

Process Arrival Time Execution Time Ending Deadline 20 40 10 A(2) 20 10 50 B(2) 50 100 15 50 C(2) 50 15 100 Process Arrival Time Execution Time Starting Deadline 100 30 60 20 20 40 20 20 70

Step by Step Solution

3.43 Rating (169 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a The task may be delayed up to an interval of t and still meet ... View full answer

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

Document Format (1 attachment)

Word file Icon

451-C-S-D-B-O-S (179).docx

120 KBs Word File

Students Have Also Explored These Related Operating System Questions!