Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 operating system in short answer?

1014


How do you kill pid?

916


What are page frames?

940


Is x86 better than x64?

883


What is a full form of ok?

1015


How can a vfs layer allow multiple file systems support?

967


What differences are there between a semaphore wait signal and a condition variable wait signal?

1035


Explain the difference between internal and external fragmentation in memory management. Suggest ways to reduce them.

1105


What is the difference between internal commands and external commands?

1024


What is so-dimm in reference to ram?

974


What are the functions of the ram ic`s?

1028


Will chkdsk fix corrupt files?

995


Explain the types of data storage and its relation with the cpu.

1043


Command Kill any user’s all processes.

971


What are the different raid levels?

1055