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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / laxmi narayana.moru

scheduler:
schedulers are two types
1.long term scheduler(job scheduler)
2.short term scheduler(cpu scheduler)
job scheduler decides which process is to be loaded in
memory when more processes are in job pool.
short term scheduler decides which process is to be taken
the cpu time for execution when more processes are loaded
in memory.
dispatcher:
dispatcher is nothing but,which gives the control of the
cpu from one process to another process after completion of
process execution.

Is This Answer Correct ?    8 Yes 0 No

Post New Answer

More Operating Systems General Concepts Interview Questions

What is scheduling and How it effects the processor efficiency?

2 Answers   HP,


What is a hard real time OS?

0 Answers   Motorola,


Do I need program files and program files x86?

0 Answers  


There is some data related to temperatures of different cities. One side(thread), will be updating the values and multiple clients will be reading the values. how do you achieve synchronization?

1 Answers   IMS, Sapient,


What is the difference between logical and physical address space?

0 Answers  






How do I find system information?

0 Answers  


What are the different ram standards/versions?

0 Answers  


What is difference between program and x86?

0 Answers  


What are the main difference between Micro-Controller and Micro- Processor?

1 Answers  


What is the cache memory?

0 Answers  


Working for a logistics company, I need to know your suggestion which preferred processing technique for the computers of end users, multiprocessing or multitasking? and why?

2 Answers  


How do I search in terminal?

0 Answers  


Categories