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 WorkThread pools: sizing for CPU and I/O

The thread pool

How many workers should a pool have? It depends on what the tasks spend their time doing.

A service window has a crew of workers, one shelf of waiting tasks, and a few cores that do the actual work. The dials set the crew, the cores, how long each task waits on a disk, and the rush. Watch tasks finished each second stop rising at the core count, unless the tasks mostly wait.

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 Build a thread pool
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