GeekInterview.com
Series: Subject:
Question: 64 of 132

Scheduler and Dispatcher

What is the difference between medium term Scheduler and Dispatcher?
Asked by: abhishek_rawat | Member Since Nov-2006 | Asked on: Feb 25th, 2008

View all questions by abhishek_rawat

Showing Answers 1 - 3 of 3 Answers
santosh.net1

Answered On : Mar 6th, 2008

View all answers by santosh.net1

 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.

  
Login to rate this answer.
yuvaraj23

Answered On : Aug 31st, 2009

View all answers by yuvaraj23

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).

  
Login to rate this answer.
Anurag Singh

Answered On : 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 .

  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.