Scheduler and Dispatcher

What is the difference between medium term Scheduler and Dispatcher?

Questions by abhishek_rawat

Showing Answers 1 - 15 of 15 Answers

 DISPATCHER?
 
  The dispatcher is the module that gives control of the CPU to the process selected by the short-time scheduler(selects from among the processes that are ready to execute).
  The function involves :
  Swithching context
  Switching to user mode
  Jumping to the proper location in the user program to restart that program.


  SCHEDULER?
 
  It is an intermediate level of scheduling.The medium-term scheduling removes processes from memory and from active contention for the CPU.Swapping of process takes place, which is required to improve the process mix.

  Was this answer useful?  Yes

yuvaraj23

  • Aug 31st, 2009
 

Normally there are 3 types of schedulers are available in operating systems.
1. Long term scheduler
2. Mid term scheduler
3. Short term scheduler

The short term scheduler is also called as the dispatcher which selects the process from the waiting queue and allocates the CPU to that process.

Whereas the Long term scheduler (Admission scheduler) decides which process should be placed in the main memory and updates the waiting queue. This long scheduler is important in the large bound systems like super computers and may not be used frequently as the short term scheduler.

The mis term scheduler available in all systems which is responsible for the swapping in and out operations which means loading the process into, main memory from secondary memory (swap in) and take out the process from main memory and store it into the secondary memory (swap out).

  Was this answer useful?  Yes

Anurag Singh

  • Nov 10th, 2011
 

Fragmentation:- Fragmentation is a problem which is occurs during the partition of memory. When memory size bricked in to several partition using the static or dynamic partitioning technique in the fragmentation a large space of memory is divided in to many small pieces of memory which is also non contiguous. There are two type of fermentation .

  Was this answer useful?  Yes

ADNAN YOUSUF

  • Nov 14th, 2015
 

What are dispatcher in OS?

  Was this answer useful?  Yes

sadhana kesavan

  • Oct 5th, 2016
 

A scheduler will schedule processes based on priority information or whatever criteria the scheduling alforithm is following. It will tell you which is the next process to run after an existing execution is over. The dispatcher will tell you the information about the context of upcoming process to be scheduled , i.e.,the information needed during a context switch precisely.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions