Suppose a task currently has a laxity of t by how long may


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 nedded)
LLF assigns 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

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.7a. 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.

Figure 10.5

1825_8d6395ae-2e84-4f70-8977-2e65010d3e2e.png

1016_81bc116c-a4c8-476b-a136-1d60fa5970b1.png

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Suppose a task currently has a laxity of t by how long may
Reference No:- TGS01595749

Expected delivery within 24 Hours