Process Schedulers in Operating System

Last Updated :

A scheduler is a type of system software that allows you to handle process scheduling.

There are mainly three types of Process Schedulers: Long Term, Short Term, Medium Term. These are explained as following below.

  1. Long Term or job scheduler :
    Long term scheduler is also known as job scheduler. It chooses the processes from the pool (secondary memory) and keeps them in the ready queue maintained in the primary memory.

    Long Term scheduler mainly controls the degree of Multiprogramming. The purpose of long term scheduler is to choose a perfect mix of IO bound and CPU bound processes among the jobs present in the pool.

  2. Short term or CPU scheduler :
    Short term scheduling is also known as CPU scheduler. The main goal of this scheduler is to boost the system performance according to set criteria. This helps you to select from a group of processes that are ready to execute and allocates CPU to one of them. The dispatcher gives control of the CPU to the process selected by the short term scheduler.

  3. Medium-term scheduler :
    It is responsible for suspending and resuming the process. It mainly does swapping (moving processes from main memory to disk and vice versa). Swapping may be necessary to improve the process mix or because a change in memory requirements has over committed available memory, requiring memory to be freed up.



    Please write comments if you find anything incorrect. A gentle request to share this topic on your social media profile.

Comment
Next Article
CPP_Programmer Published 12 Sep, 2020 · 2 min read

Similar Reads

  • Software concepts of Computer

    Before starting the software concepts, let us take a brief look into the components of computer. Components of Computer: A computer system has 3 components namely: Hardware, Software,…

    3 min read
  • Difference between Full Virtualization and Para-virtualization

    Process of abstracting underlying hardware components from software is the primary concept behind virtualization. 1. Full Virtualization In full virtualization, a single host operating system allows the execution…

    2 min read
  • Storage Structure memory

    Storage structure consists of registers, main memory, and magnetic disk is only one of many possible storage systems. There are also cache CD ROM, magnetic takes, and so…

    3 min read
  • What is Software and its Types ?

    Software is nothing but a program or collection of programs that perform a specific task. Software is a bridge between user and computer hardware. Softwares directs the peripheral…

    1 min read
  • Searching in parent and printing result in child processes using fork()

    In C/C++, the fork() function is used to generate a new process known as the child process. We can do searching within a fork() process. Problem statement –…

    3 min read
  • Multilevel Paging in Operating System

    A page table is a data structure used by virtual memory system in a computer operating system to store the mapping between the virtual addresses and physical addresses.…

    4 min read