/ COMPUTER-FUNDAMENTAL

Scheduling Goals

Scheduling Goals


Scheduling in OS has a goal, which is fairness.
The goal is that OS want all process to work fairly.

However, some process has different pursue for scheduling.


IPC

  • Batch system
    It is important when we doing background process, usually heavy work.
    It’s not matter whether user interacts or not.
    Only important how many, how fast, and how useful they work.

  • Interactive system
    It interacts with user.
    Really important response time and waiting time for user.

  • Real time system
    It has time limits for each process.
    • Hard real time system
      The process will have big problem unless it is over time limit.
    • Soft real time system
      The process will be removed unless it is over time limit.

In a nutshell,
Batch = time < quantity
Interactive = quantity < response time
Real time = everything < deadline