Explain the difference between a short-term, medium-term, and long-term scheduler.
Last updated
Long-term (job) scheduler: admits jobs from the job pool into the ready queue (new to ready). It runs infrequently and controls the degree of multiprogramming and CPU/I-O job mix.
Short-term (CPU) scheduler: picks which ready process runs next (ready to running). It runs every few milliseconds, so it must be fast.
Medium-term scheduler: swaps processes between memory and disk (suspend/resume) to relieve memory pressure and adjust multiprogramming.