HomeAI & Machine LearningAmdahl's Law: A 2D Scheduling & Speedup Model

Amdahl's Law: A 2D Scheduling & Speedup Model

Interactive 2D companion to the Amdahl's Law simulator: a live Gantt-style scheduler diagram shows every core's serial, parallel and coordination-overhead time slices to scale, alongside a directly-plotted speedup-vs-core-count curve that reveals the optimal core count where adding workers stops helping and starts hurting.

AI & Machine Learning2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-parallel-computing ↗ Open standalone

This is the 2D companion to the 3D Amdahl's Law cluster scene, reaching the same extended-Amdahl physics — T(N) = (1−P)·T(1) + P·T(1)/N + O·N·T(1) — through a genuinely different visual mechanism: a Gantt-style scheduler diagram instead of a grid of cubes. Every core gets its own lane; the serial slice is drawn only on core 0's lane while every other lane sits idle, the parallel slice lights up all N lanes at once, and the coordination-overhead slice — the synchronization tax that grows with core count even as useful work per core shrinks — closes out the cycle. Alongside the schedule, a directly-computed speedup-vs-core-count curve is plotted for the full N=1..64 range at the current settings, with the closed-form optimal core count N* = √(P/O) marked on it, so you can see not just how fast the current configuration runs but where the whole curve peaks and starts falling as coordination cost overtakes the benefit of more workers.

⚙ Under the hood

2D companion to the Amdahl's Law simulator: a live Gantt-style scheduler diagram shows every core's serial, parallel and coordination-overhead time slices to scale, alongside a directly-plotted speedup-vs-core-count curve that reveals the optimal core count where adding workers stops helping and starts hurting.

parallel computingamdahl's lawhpcspeedupmulticoredistributed systemsgantt chart2d

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)