OS L4-HW: Solutions (Scheduling)

OS L4-HW: Solutions (Scheduling)

 

 OS L4-HW: Solutions (Scheduling)

 

 OS L4-HW: Solutions (Scheduling)

 

 OS L4-HW: Solutions (Scheduling)

 

 OS L4-HW: Solutions (Scheduling)

The homework asks if SRTF will be shorter than SJF and the answers video asks if SJF could be shorter than SRTF.   

  • In both cases, SRTF will always be shorter, however, because I changed the way I asked it, on the Homework, the answer was True and on the solutions video, the answer was False.   This is only because I changed how I was asking the same question.  In both cases, SRTF is shorter.  

 OS L4-HW: Solutions (Scheduling)

 

Waiting Time --> Waiting in the ready quque 

 OS L4-HW: Solutions (Scheduling)

 

OS L4-HW: Solutions (Scheduling)

 

 OS L4-HW: Solutions (Scheduling)

 

 OS L4-HW: Solutions (Scheduling)

 

 

 OS L4-HW: Solutions (Scheduling)

 

 OS L4-HW: Solutions (Scheduling)

 OS L4-HW: Solutions (Scheduling)

 

    The answer was P3 because P1 and P2 both get full bursts and only P3 was removed early.

上一篇:【GCC编译器】Swing Modulo Scheduling


下一篇:OS L4-7: Multiprocessor Scheduling