Question: Question B ( 1 8 points ) Question B ( 1 8 points ) Consider three dependent tasks T 1 , T 2 , and

Question B (18 points) Question B (18 points)
Consider three dependent tasks T1,T2, and T3. In order to describe this task set
with the critical sections, we add new parameters that specify the
computation time, ci, as follows:
*cix : task's computation before entering the critical section.
*ciy : task's computation inside the critical section.
*ciz : task's computation after the critical section.
Consider three dependent tasks T1,T2, and T3. In order to describe this task set
with the critical sections, we add new parameters that specify the
computation time, ci, as follows:
*cix : task's computation before entering the critical section.
ciy : task's computation inside the critical section.
*ciz : task's computation after the critical section.That is,ci=cix+ciy+ciz.
The task set is described by the parameters given in the following table.
Assume the priorities of highest priority task is 3, medium priority task is 2,
and the lowest priority task is 1.
Answer the following:
Construct the schedule obtained under the RMS algorithm upto
LCM (periods). Indicate at what point priority inversion occurs.
Construct the schedule obtained using RMS algorithm with Priority
Ceiling Protocol (PCP) enabled. In your answer, indicate the priority
ceilings for the semaphores.
Question B ( 1 8 points ) Question B ( 1 8 points

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 Programming Questions!