Please enable JavaScript.
Coggle requires JavaScript to display documents.
Types of scheduling - Coggle Diagram
Types of scheduling
Short Term Scheduling (CPU Scheduler)
The decision as to which available process will be executed by the processor
Which READY process will be selected next
Known as the dispatcher
Executes most frequently
Makes the fine-grained decision of which process to execute next
Invoked when an event occurs that may :
lead to the blocking of the current process or
provide an opportunity to preempt a currently running process in favor of another
Examples
Clock interrupts
I/O interrupts
Operating system calls
Signals (e.g., semaphores)
Long Term Scheduling (Job Scheduler)
The decision to add to the pool of processes to be executed
Triggered when a new process is created
Determines which programs are admitted to the system for processing
Controls the degree of multiprogramming
The more processes that are created, the smaller the percentage of time that each process can be executed (Average waiting time will be bigger)
may limit providing satisfactory service to the current set of processes
Medium Term Scheduling
The decision to add to the number of processes that are partially of fully in main memory
Medium-term scheduling is a part of the swapping function.
Which process will be swapped in or out