csc369h final exam reid

16

Upload: igbboy

Post on 04-Feb-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

7/21/2019 Csc369h Final Exam Reid

http://slidepdf.com/reader/full/csc369h-final-exam-reid 1/16

7/21/2019 Csc369h Final Exam Reid

http://slidepdf.com/reader/full/csc369h-final-exam-reid 2/16

7/21/2019 Csc369h Final Exam Reid

http://slidepdf.com/reader/full/csc369h-final-exam-reid 3/16

7/21/2019 Csc369h Final Exam Reid

http://slidepdf.com/reader/full/csc369h-final-exam-reid 4/16

7/21/2019 Csc369h Final Exam Reid

http://slidepdf.com/reader/full/csc369h-final-exam-reid 5/16

7/21/2019 Csc369h Final Exam Reid

http://slidepdf.com/reader/full/csc369h-final-exam-reid 6/16

E   E

R R

R   R

E   E

R   R   E   IO

R   R   R

R

E   IO

R   E

R

IO

E

R

R

E

R

E

R

R

R

E   E   R

R   R

R

E

R

IO IO

R

E   IO

E   T

E T

R   E IO   CPU   T

7/21/2019 Csc369h Final Exam Reid

http://slidepdf.com/reader/full/csc369h-final-exam-reid 7/16

It favours I/O bound processes because a processes that finish their I/Ooperations gets placed on the ready queue before processes that havebeen preempt. Thus if two processes had the same amount of executiontime in the last 6 time units, then the I/O bound process would executefirst.

7/21/2019 Csc369h Final Exam Reid

http://slidepdf.com/reader/full/csc369h-final-exam-reid 8/16

7/21/2019 Csc369h Final Exam Reid

http://slidepdf.com/reader/full/csc369h-final-exam-reid 9/16

Design 1:

7/21/2019 Csc369h Final Exam Reid

http://slidepdf.com/reader/full/csc369h-final-exam-reid 10/16

7/21/2019 Csc369h Final Exam Reid

http://slidepdf.com/reader/full/csc369h-final-exam-reid 11/16

7/21/2019 Csc369h Final Exam Reid

http://slidepdf.com/reader/full/csc369h-final-exam-reid 12/16

7/21/2019 Csc369h Final Exam Reid

http://slidepdf.com/reader/full/csc369h-final-exam-reid 13/16

7/21/2019 Csc369h Final Exam Reid

http://slidepdf.com/reader/full/csc369h-final-exam-reid 14/16

7/21/2019 Csc369h Final Exam Reid

http://slidepdf.com/reader/full/csc369h-final-exam-reid 15/16

7/21/2019 Csc369h Final Exam Reid

http://slidepdf.com/reader/full/csc369h-final-exam-reid 16/16