
616
MYPriority scheduling in operating systems has several characteristics that define its behavior and impact on system performance:
1. Preemptive and Non-preemptive Options: In preemptive priority scheduling, the scheduler can interrupt a running process if a higher priority process becomes ready to run. Non-preemptive priority scheduling allows a process to run until it voluntarily relinquishes the CPU or finishes its execution.
2.Priority Levels: Each process is assigned a priority level. Higher priority levels indicate processes that should be executed sooner. The range of priority levels can vary depending on the operating system, but typically, lower numeric values represent higher priorities.
3.Decision Making: The scheduler decides which process to execute based on its priority. The process with the highest priority in the system ready queue is selected for execution. This decision-making process can vary based on the scheduling algorithm used within the priority scheduling framework.
4.Starvation: There is a risk of starvation in priority scheduling. Starvation occurs when lower priority processes do not get the CPU time they need because higher priority processes continuously preempt them. Techniques such as aging can be employed to mitigate starvation by gradually increasing the priority of waiting processes.
5.Dynamic and Static Priorities: Priorities can be assigned statically or dynamically. Static priorities are fixed at the time of process creation and remain unchanged throughout the process's lifetime. Dynamic priorities may change based on factors such as the process's behavior, its resource usage, or system load.
#gate2025 #gateprepdaily #gatepreparation #gateexam #exam #education #exams #computer #computerscience #engineering #operatingsystem #study #support #student #studymotivation
@my_gate.exam_journal.25










