Scheduling
Criteria
There are several different
criteria to consider when trying to select the "best" scheduling
algorithm for a particular situation and environment, including:
- CPU utilization -
Ideally the CPU would be busy 100% of the time, so as to waste 0 CPU
cycles. On a real system CPU usage should range from 40% ( lightly
loaded ) to 90% ( heavily loaded. )
- Throughput - Number of processes
completed per unit time. May range from 10 / second to 1 / hour depending
on the specific processes.
- Turnaround time -
Time required for a particular process to complete, from submission time
to completion.
- Waiting time - How much time
processes spend in the ready queue waiting their turn to get on the CPU.
- ( Load average -
The average number of processes sitting in the ready queue waiting their
turn to get into the CPU. Reported in 1-minute, 5-minute, and 15-minute
averages by "uptime" and "who". )
No comments:
Post a Comment