Scheduling is a process by which thread, process or data flows are given access to a system resources. The schedulers concerned mainly with:
- Throughput: The total no of processes that complete their unit per time unit.
- Turn around time: Total time between submission of process and it’s completion.
- Response time: Amount of time when a request was submitted until the first response is produced.
- 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 process are to be admitted to the ready queue.
- The medium term scheduler temporarily removes process from main memory and place 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