- Back to Home »
- Process Scheduling in Operating System
Process Scheduling in Operating System:
Process scheduling is a technique that is used when there are limited resources and many processes are competing for them. multiprogramming tries to ensure that there is some process running at all times. This is done to utilize the CPU as much as possible. In timesharing system, the CPU switches so frequently between jobs that the user does not feel that the machine is being shared by many processes or even many users.
If the system has more than one processor, then it is possible to execute more than one process at the same time. In a single processor system, only one process can be executed at any given time. If there are more processes than processors, then the operating system must schedule the processes. It means that some processes will be executed and others will have to wait. There are many strategies for deciding which process should be assigned the CPU.