Give a brief discussion on schedulers & Dispatchers with
respect to process management.

Answer Posted / sreekanth gurram

basically schedulers are of 3 types.1)long term scheduler
2)short term scheduler
3)medium term scheduler

long term scheduler selects the processes which are in the
disk(input queue)and load them in to the main memory.
The short term scheduler selects the processes in the main
memory which are waiting for cpu and allocate them to the
cpu for execution.The medium term scheduler selects the jobs
which are waiting for the I/O devices and remove them from
the contest for the cpu and place them in the appropriate
device queue
DISPATCHER:
Another component involved in the CPU scheduling function is
the dispatcher.
The dispatcher is the module that gives control of the CPU
to the process selected by the short-term scheduler. This
function involves:
Switching context
Switching to user mode
Jumping to the proper location in the user program to
restart that program
The dispatcher should be as fast as possible, given that it
is invoked during
every process switch. The time it takes for the dispatcher
to stop one process
and start another running is known as the dispatch latency.

Is This Answer Correct ?    29 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define scheduling in OS.

668


Is there a 64 bit version of office 365?

520


What are the advantages of multiprocessor system?

575


What are the main functions of a kernel?

561


What is NOS?

597






What is micro kernel approach and site its advantages?

572


What is a named pipe?

562


How does disk operating system work?

518


Why do we use semaphore?

539


What happens if we don’t override a run method?

725


What is time- sharing system?

584


Explain turnaround time and response time?

587


Can I use x86 on 64bit?

541


How to stop a long running thread?

608


Is internet explorer still supported?

532