CPU scheduling-Intro&FCSC
CPU scheduling-Intro&FCSC
• CPU scheduling is the process of deciding which process will own the
CPU to use while another process is suspended. The main function of
the CPU scheduling is to ensure that whenever the CPU remains idle,
the OS has at least selected one of the processes available in the
ready-to-use line.
• In Multiprogramming, if the long-term scheduler selects multiple I / O
binding processes then most of the time, the CPU remains an idle. The
function of an effective program is to improve resource utilization.
• If most operating systems change their status from performance to
waiting then there may always be a chance of failure in the system. So
in order to minimize this excess, the OS needs to schedule tasks in
order to make full use of the CPU and avoid the possibility of deadlock.
Objectives of Process Scheduling Algorithm: