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

What is difference between Process and Thread?

600


Who is the father of os?

585


How do you tell if your computer is 32 or 64 bit?

486


Can you access a variable within a worker thread from the main thread?

537


Why partitioning and formatting is a prerequisite to installing an operating system?

974






What is the difference between tty and pts?

528


Explain the concept of the multi-processor systems or parallel systems?

553


Explain trashing?

565


Tell me what are the rings in windows nt?

598


What is the difference between logical and physical address space?

557


Can I move program files x86 to another drive?

523


What is the cause of thrashing?

608


What is an Assembler?

638


How to setup never expired user password?

598


What is live boot?

588