1. Process selection 1 hours and 1 minutes?
The process takes precedence for 1 minutes and then executes for 1 hours. The time-short process is performed first, and the execution order is also concerned.
2. When the IO operation is encountered, the executing process first yields the CPU and switches the other processes.
3. Process first come first service, process scheduling policy: preemptive and non-preemptive
Preemptive: Minimum job priority.
4. Process run time cannot be determined: The scheduling algorithm is meaningless. Process execution time cannot be determined because of other limitations, such as network, bandwidth, IO, and so on.
WORKAROUND: Predict the time of the process execution, if the program executes very long before, then the execution will know that it is very CPU-intensive, you can give it a little more time.
Sentence: A summary of the past.
Operating system: CPU scheduling 6-25