









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










^ ^ ^
CPU bursts^ and^
I/O bursts
CPU bursts
CPU bursts
^ ^ ^
^ ^ ^
short process behind long process l^ cannot be used for time-sharing systems
starvation
^ ^
^
^
^ ^ ^
^
^
for one time-slice
^ ^ ^
FCFS like behavior l^ small time quantum
large context switch overhead
^ ^ ^
^ ^ ^
^ ^ ^
^ ^ ^
^ ^ ^
^ ^ ^
^ ^ ^
^ ^ ^
^ ^ ^
^
!"#$%%%&%'$( ')!$+%#" $%&%'$( ,-./." !' "')$! ^ , %#)$+"')$!01233 4566 01245(')!$+%33 7 4566 8
9/ :9 ;1 8
^ ^ ^
^ ^ ^
pull^ migration push or pull tasks towards idle processors
hyperthreaded) ^ instructions from multiple threads simultaneously live in differentpipeline stages ^ OS given a view of one processor per
hardware thread ^ may reduce memory stalls ^ may increase resource contention
O (1) scheduling time
nice^ value from 100 to 140 l^ numerically lower values have higher priorities l^ higher priority tasks are give longer time slice l^ see mapping figure
active^ and^ expired l^ tasks linked in arrays according to their priorities l^ active tasks on expiration of their time quanta move to the expired array l^ real-time tasks have
static^ priorities l^ normal tasks have
dynamic^ priorities