Explain essential loop in Process Scheduling.
The complex part of scheduling is to balance policy enforcement along with resource optimization so as to pick the best job to run. Fundamentally one can think of the scheduler performing the subsequent loop:
- Pick the best job to run, as per to policy and available resources
- Begin the job
- Stop the job or/and clean up after completion
- repeat.