| ID | STATUS | PRIORITY | ARRIVAL | BURST | REMAINING | START | END | ACTIONS |
|---|
No processes added yet!
No processes to visualize
No processes to display
No processes in ready queue
Processes are executed in the order they arrive in the ready queue. It's simple to implement but can suffer from the convoy effect, where short processes get stuck behind long ones, leading to high average waiting times.
Selects the process with the smallest execution time (burst time) to run next. It's provably optimal in minimizing average waiting time but requires knowing burst times in advance, which is often not possible (preemptive version is SRTF).
Assigns a priority to each process. The scheduler always selects the process with the highest priority (which might be the lowest number). Can be preemptive or non-preemptive. Risk of starvation for low-priority processes.
A preemptive algorithm designed for time-sharing systems. Each process gets a small unit of CPU time (time quantum). If the process doesn't finish within the quantum, it's moved to the end of the ready queue. Fair but can have high context switching overhead.
Uses multiple priority queues and dynamically adjusts process priorities based on CPU usage. CPU-intensive processes move to lower-priority queues, while interactive processes stay in or move to higher-priority queues. Aims to approximate SJF without needing prior burst time knowledge, balancing responsiveness and fairness.