AlgoViz

How the Linux kernel works

medium 40 min

The kernel is the one program that runs with full privilege.

Numbers that decide

Work out a number when the answer changes what you build.

Facts

Numbers and defaults worth knowing

FactValueSource
Page sizeArchitecture specific; 4,096 bytes on our test machineKernel memory docs; our capture
Huge pages on x862M and 1GKernel memory docs
Nice range-20 highest to 19 lowestsched(7)
cpu.max defaultmax 100000cgroup v2 docs
Soft lockupKernel loops more than 20 secondsLockup watchdog docs
Load averageR and D tasks, over 1, 5 and 15 minutesproc_loadavg(5)
Uncatchable signalsSIGKILL and SIGSTOPsignal(7)
New mainline kernelEvery 9 to 10 weekskernel.org