Live process movement
Follow the highlighted process as it gets a turn on the CPU.
These processes are ready. The first one will run next.
Finished processes no longer need CPU time.
Funifytools
Explore. Simulate. Understand.
Computer Systems and OS
Watch the CPU switch between processes. Adjust time slices and I/O waits to compare CPU efficiency and scheduling overhead.
No setup is required. Pick a scenario and press Start.
Follow the highlighted process as it gets a turn on the CPU.
These processes are ready. The first one will run next.
Finished processes no longer need CPU time.
Watch elapsed CPU work, context switches, and idle time appear as execution advances.
Final statistics appear after all processes finish.
Complete the simulation to save the result, timeline image, and settings.
A process must resume exactly where it stopped. The operating system therefore records the small set of CPU and scheduling data that describes its current execution state.
The time quantum controls how long a process may keep the CPU in round-robin scheduling. There is no universally perfect value.
A process cannot usefully occupy the CPU while it waits for disk, network or user input. It moves to the Waiting state and another Ready process gets a turn.
A timer interrupt, an I/O request, completion or an explicit yield can give the scheduler a chance to choose another process.
This simulator is a deterministic conceptual model. Real operating systems also consider priorities, multiple CPU cores, cache effects, interrupts and scheduler-specific policies.
For a more detailed explanation, see the blog posts: English · Korean