Interview Prep Zoneby CuriouserLabs
⏱️

CPU Scheduling

How the OS decides who runs: algorithms, starvation and priority inversion, Linux CFS, and container CPU limits.

  1. 1

    What problem does CPU scheduling solve, and what metrics do schedulers trade against each other?

    senior
  2. 2

    Compare the classic scheduling algorithms — FCFS, SJF, Round Robin, priority, MLFQ. What survives into real systems?

    senior🎬 animated
  3. 3

    Explain starvation and priority inversion. How did priority inversion nearly kill the Mars Pathfinder mission?

    staff
  4. 4

    How does Linux actually schedule — CFS (and EEVDF)? What are nice values and cgroup weights really doing?

    staff
  5. 5

    How do container CPU limits actually work, and why does your service get throttled at 40% CPU usage?

    architect