Please enable JavaScript.
Coggle requires JavaScript to display documents.
PROCESS MANAGEMENT - Coggle Diagram
PROCESS MANAGEMENT
DIFFERENT BETWEEN :
PREEMPTIVE : used when a process switches from the running state to the ready state or from the waiting state to the ready state.
NON-PREEMPTIVE : used when a process terminates or switches from the running state to the waiting state.
-
-
THREADS RELATIONSHIP TO PROCESS :
- ATLEAST ONE KERNEL THREAD EXIST WITHIN EACH PROCESS
- IF MULTIPLE KERNEL EXIST THREAD CAN EXIST WITHIN A PROCESS , THEN THEY SHARE THE SAME MEMORY AND FILE RESOURCES
-
-
BENEFIT OF MULITHREADING : OPERATES FASTER ON COMPUTER SYSTEM THAT HAVE MULTIPLE CPUs, CPUs WITH MULTIPLE CORES , OR ACROSS A CLUSTER OF MACHINE
-
SHORTEST JOB FIRST : When the CPU is available, it is assigned to the process
that has the smallest next CPU burst
ADVANTAGE: Minimal Average Waiting Time
DISADVANTAGE: Used for Long-term Scheduling in a Batch System
PRIORITY : According to SA priority, CPU will be allocated to the process with
the highest priority (high priority and low priority).
-
ROUND ROBIN : The round-robin (RR) scheduling algorithm is designed especially
for timesharing systems
-
-
MULTILEVEL FEEDBACK QUEUE :Has a number of queues, each assigned a different priority level
-
DEFINE DEADLOCK: A deadlock in an operating system occurs when two or more processes are unable to proceed.
-