<aside> πŸ’‘

Summary of Section 4.1 - Principles of Scheduling

</aside>

Long-Term vs. Short-Term Scheduling

Processes can enter the ready list from:

  1. New processes list β†’ Subject to long-term scheduling.
  2. Suspended list β†’ Subject to long-term scheduling.
  3. Waiting list β†’ Subject to short-term scheduling.
  4. CPU (after execution time expires) β†’ Subject to short-term scheduling.

Preemptive vs. Non-Preemptive Scheduling

Priority in Short-Term Scheduling

Common factors affecting priority:

  1. Arrival time – When the process enters the ready list.
  2. Departure time – When the process exits due to blocking or termination.
  3. Attained CPU time – The CPU time used by a process since arrival.