Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q1 (50 points) Consider the three following preemptive scheduling algorithms: - rate monotonic (RM), which assigns fixed priority to tasks according to their periods; -

image text in transcribed

Q1 (50 points) Consider the three following preemptive scheduling algorithms: - rate monotonic (RM), which assigns fixed priority to tasks according to their periods; - earliest deadline first (EDF), which assigns dynamic priority to tasks according to their absolute deadlines; - least laxity first (LLF), which assigns dynamic priority to tasks according to their relative laxity. Consider the task set composed of the following three independent periodic tasks: 1(r0=0,C=2,D=3,T=5)2(r0=1,C=2,D=3,T=4)3(r0=0,C=1,D=5,T=10) where r0 is the task release (arrival) time, C is execution time in cycles, D is the deadline, and T is the period. These tasks are to be executed on a single processor. (a) Compute the processor utilization and the major cycle of the task set (a major cycle is defined as the time duration [0, least common multiple or LCM of the periods of all the tasks]). (15 points) (b) Build the schedule of the task set under the RM, EDF and LLF algorithms for the major cycle. If a task misses its deadline, annotate it in the figures (20 points) (c) Can you change the period(s) of the given tasks such that the problem can be reformulated for a harmonic rate monotonic schedule? Note that increasing the periods too much and for too many tasks is not desirable. You must make minimum changes. Given that the updated task set is now schedulable using all three algorithms. Which one of the three scheduling algorithms will you use and why? (15 points)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Mike Morrison, Joline Morrison

1st Edition

061901556X, 978-0619015565

More Books

Students also viewed these Databases questions

Question

LO1 Discuss four different views of motivation at work.

Answered: 1 week ago

Question

LO6 Summarize various ways to manage retention.

Answered: 1 week ago