Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

How Computers WorkWhose turn is it: CPU scheduling

The time slice

Three long jobs are running when you press a key. How long until the keypress gets the CPU, and what does a quicker answer cost?

One CPU, three long jobs already running, and a keypress that arrives 100 ms in and needs 5 ms. Pick the rule that decides who runs next and how long a turn lasts. The panels show how long the keypress waits, the average time to finish, and the CPU lost to swapping jobs.

Included with a plan

This lab is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

the lesson Processes, Threads & the Kernel
The whole idea this lab came from, told start to finish.

on the path Module 3 of 7 in How Computers Work: Many programs, one machine
The lessons, boards and videos around this lab, in reading order.

Board: Processes Threads and the Kernel