Please enable JavaScript.
Coggle requires JavaScript to display documents.
Memory management of operating system, Process Management - allow multiple…
-
Process Management - allow multiple programs to be loaded into memory and to be executed concurrently but at one point of time only one program is in execution
-
-
-
-
process scheduling - To decide which process to run first if there have more than one process is run able.
CPU scheduler
non-premptive
- Always processes a scheduled request to completion
- once a process is executing, it will continue to execute until it terminates,
premptive
- Interrupts the processing of a job and transfer the CPU to another job.
- allowing process that are logically run able to be suspended
Purpose of CPU schedular
- Long term scheduler / Job Scheduler ( Which program are admitted to the system for execution and when and which one should be exited.)
- Medium Term schedular ( temporarily removes processes from main memory and places them on secondary memory (such as a disk drive)
Short term scheduler/ CPU scheduler/ Dispatcher ( determines which of the ready processes can have CPU resources, )
-
Scheduling Algorithm
- Shortest Job First (SJF)
- : Shortest Job First (SJF) Preemptive ( SRTF)
- Round Robin
- Priority
- Multilevel Queue
Deadlock - Refer to a specific condition when two or more process are waiting for each other release a resource.