Docsity

Scheduling Algorithms and Examples - Prof. M. Ali, Study notes of Operating Systems

Partial preview of the text

Download Scheduling Algorithms and Examples - Prof. M. Ali and more Study notes Operating Systems in PDF only on Docsity!

^ 

^     

^ 

 ^ 

 ^! ^ "   #

$ ^!   

%& ^ '"    # 

$^ (

^ 

 

 ^   





 '^ ResourceManager^ ReleaseRequestAllocate ProcessAllocate^ Resource Pool

Allocate Blocked Processes^ Release^ Release

+'^ Scheduler

Process Release^ Units of time for atime-multiplexed CPU Readyto runDispatch Dispatch

Dispatch Ready List^ Release^ Release

^ 

^ *  ^ ^ ^ 

 

 ^ + 

 , ^ ^ +

  ,     ^  

^ -* 

%./&  0./ 1    *  ./ -

 Right Operand^ StatusLeft OperandRegisters R1 R2... RnFunctional UnitALUResult PC^ IR^ Ctl Unit

^2 

^ 3 ^  

^   

^4  ^ ^  

^  ^ ^ )* %

^  

^ 

^ ^ .6

^    

^ "

^  

  ) 6    ;:^   '6  '  

!^     

^ <

)^ ==   

τ(^ )    

^ 7 ^  ^1    . ^   ^ >* ?

^  ^ @τ(^ )^  

 ^ ) 

  



'^ 

)* ^ “Blocked”

ReadySchedulerList^ Preemption or voluntary yield^ CPU^ ResourceManager^ Resources Allocate^

Done Request NewProcess^

job job job job job “Ready”

“Running”

    '^ ^ .B7C

  

 ^  ^ ^ 

  )*     ^ ; 

 ^ !+ 

7 (

^  ,,,

^ E8F^ GH^

≤^ IJ8

^ E %^ &∈^ F^

  2 J

^ Eτ%^ &8.

%^  

^ E%^ &8.^

  ^

^ E.^ %^ &8.+^ 

.^ ^

* %^ 

^ K ^ .

.^ .+

^ .

^ &^

1 L

^ .M^ ^ " 



^ "  .     .τ^ %

^ "

  + % 6 

&   ^ .%

&^  .  +

  ^ ^ 

+