What does it mean if a task has negative laxity

Assignment Help Basic Computer Science
Reference no: EM131212013

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

Reference no: EM131212013

Questions Cloud

Sales must be made to produce the target income : Watson Company has monthly fixed costs of $89,000 and a 40% contribution margin ratio. If the company has set a target monthly income of $15,600, what dollar amount of sales must be made to produce the target income?
How much of the above costs represent direct materials cost : The Childers Company manufactures widgets. During the fiscal year just ended, the company incurred prime costs of $1.5 million and conversion costs of $1.8 million. Overhead is applied at the rate of 200% of direct labor cost. How much of the above c..
Using the weighted-average method : A company's beginning Work in Process inventory consisted of 24,000 units that were 90% complete with respect to direct labor. A total of 94,000 were finished during the period and 29,000 remaining in Work in Process inventory were 60% complete with ..
The modified units to make it worthwhile to modify them : Elmwood, Inc. currently sells 12,700 units of its product per year for $107 each. Variable costs total $82 per unit. Elmwood’s manager believes that if a new machine is leased for $200,025 per year, modifications can be made to the product that will ..
What does it mean if a task has negative laxity : Suppose a task currently has a laxity of t. By how long may the scheduler delay starting this task and still meet its deadline?
Define the critical task set as the first n tasks : Among critical set tasks that are ready, the scheduler selects the task with the least laxity. If no critical set tasks are ready, the schedule chooses among the noncritical tasks the one with the least laxity. Ties are broken through an optional ..
Determine the turnaround time for each process : Explain how you arrived at your answers. In the last three cases, assume that only one job at a time runs until it finishes and that all jobs are completely processor bound.
List and briefly define three versions of load sharing : List and briefly define five different categories of synchronization granularity.
Difference between periodic and aperiodic real-time tasks : List and briefly define five general areas of requirements for a real-time operating system.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Creates a symbol table during the first pass of assembler

A two-pass assembler generally creates a symbol table during the first pass and finishes the complete translation from assembly language to machine instructions on the second.

  Write a method called evenly divisible

Write a method called evenly Divisible that accepts two integer parameters and returns true if the first parameter is evenly divisible by the second, or vice versa, and false otherwise. Return false if either parameter is zero.

  Will estimate emotional state of some user

Will estimate emotional state of some user

  Draw at least two query trees that can represent each

Draw the initial query tree for each of these queries, and then show how the query tree is optimized by the algorithm outlined in Section 19.7.

  Define a class called blogentry

Define a class called BlogEntry that could be used to store an entry for a Web log. The class should have instance variables to store the poster's username, text of the entry, and the date of the entry using the Date class.

  Discuss this problem as a class and draw up an action plan

Assume that you are part of a management team of a medium-size business that sells goods to consumers online. You know that your system was recently hacked, and that accounts and customer information may have been stolen. How do you respond to the si..

  Employ the methods of data gathering

The student will learn how to provide management for projects that employ the methods of data gathering, fact-finding and input/output design. Using case problems, students will implement the techniques of system development and project management.

  Write a program that tracks an investment

Write a program that tracks an investment for 1 person based on the input of an interest rate.The initial balance should be $2,000. The interest should be added to the balance and output in table format as shown in the supplied sample.

  What will be the total i/o cost for sorting this file

What is the largest file, in terms of the number of records, that you can sort with just four buffer pages in two passes? How would your answer change if you had 257 buffer pages?

  Analyse homogeneous information networks

Many studies analyse homogeneous information networks, e.g., social networks consisting of friends linked with friends. However, many other applications involve heterogeneous information networks, i.e., networks linking multiple types of object,

  Prepaid expenses and unearned revenues

Accounting for prepaid expenses and unearned revenues. Hawaii-Blue beganbusiness on January 1 of the current year and offers deep-sea fishing trips to tourists.Tourists pay $125 in advance for an all-day outing off the coast of Maui.

  Find how many times will keyboard be checked in an hour

Assume the processor scans keyboard every 100 ms. How many times will keyboard be checked in the 8-hour period?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd