Scheduling is a
process by which thread, process or data flows are given access to
system resources. This is the important part for the CPU of your computer setup.
The schedulers concerned
mainly with:
1. Throughput:
The total no of processes that complete their unit per time unit.
2. Turn around time:
Total time between submission of process and it’s completion.
3. Response
time: Amount of time when a request was submitted until the first
response is produced.
4. Waiting time: It is the time for which process remains in a ready
queue.
Types of Schedulers:
- The
long term or admission scheduler decides which job or processes are to be
admitted to the ready queue.
- The
medium term scheduler temporarily removes process from main memory and
places them to secondary memory.
In scheduling process starvation is a problem
which is a resource management problem where a process does not get a resource
for a long time. Aging is a technique which is used to
avoid starvation problem. It works by adding a aging factor to the priority of
each request.
No comments:
Post a Comment