Professional Documents
Culture Documents
CS101 Topic 53
CS101 Topic 53
Process Administration
Scheduler and Dispatcher.
Scheduler maintains the record which
processes are present in the computer
system,
Introduction of new processes.
Removal of completed processes.
2
Process and its Administration
Scheduler
Maintains a process table in main
memory.
Process name, its ID, initiated by,
priority, starting time, duration memory
area (obtained from memory manager),
current state etc.
3
Process and its Administration
Dispatcher
Component of Kernel that oversees the
process execution.
Time sharing, multitasking,
multiprogramming,
Time Slice in mili or microseconds.
4
Process and its Administration
Process Switch
Context Switch.
Procedure of changing from one process
to another.
Dispatcher awards a time-slice,
activates the timer circuit which
generates an interrupt
5
Process and its Administration
Interrupt Handler
When CPU receives an interrupt:
Completes current machine cycle,
Saves the current process
Begin executing the program known
as Interrupt handler.
6
Process and its Administration
Interrupt Handler
Part of dispatcher.
Describer how the dispatcher should
respond.
Preempt the current process
Transfer control back to dispatcher.
Dispatcher selects the process from
process table having highest priority
from ready queue, time slice and timer
7 circuit.
Process and its Administration
8
Summary