Ask Question
3 June, 06:35

Consider two processes, p1 and p2, where p1 = 50, t1 = 25, p2 = 75, and t2 = 30.

a. can these two processes be scheduled using rate-monotonic scheduling

+2
Answers (1)
  1. 3 June, 09:39
    0
    Given:

    p1 = 50,

    t1 = 25,

    p2 = 75,

    t2 = 30

    Rate monotic scheduling is a priority scheduling where the shortest job time gets the highest priority. Priority is assigned based on process time. The higher priority will go to process with a short period while the process with a long period will be assigned a low priority because it requires CPU for more time.

    Let us say that process P1, has a higher priority than process P2, with the rate monotic scheduler.

    Let's take the initial conditions for both P1 & P2.

    P1 at time, t = 0 (initial condition)

    P2 at time, t = 25

    P1 is later scheduled at t = 50,

    P2 is scheduled at t = 75.

    Let's determine scheduling would be possible.

    CPU utilization of P1 = 25/50 = 0.5

    CPU utilization of P2 = 30/75 = 0.4

    Total = 0.4 + 0.5 = 0.9 = 90%

    Scheduling is possible as it uses 90% of CPU.

    If P1 is assigned a higher priority, P2 will miss its deadline for completion of its CPU burst time at 75.

    P1 will not be scheduled in time when it is assigned to a lower priority than P2, i. e P1 won't meet its deadline.

    Although the rate monotic scheduler is guaranteed to to schedule the process to its deadline, there is no guarantee the two processes would be scheduled to meet their deadline.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Consider two processes, p1 and p2, where p1 = 50, t1 = 25, p2 = 75, and t2 = 30. a. can these two processes be scheduled using ...” in 📙 Mathematics if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers