CSE Roadmap

Level 11 of 12 · about 3 weeks

Virtualisation and containers

How a hypervisor runs guest kernels with trap and emulate and hardware help, how the processor, memory and devices are shared (nested paging, ballooning, virtio), and how containers get their own view and limits from namespaces and control groups on a shared kernel.

Modules

Core: everyone needs it. Common: most jobs use it. Specialist: optional depth, safe to skip on a first read.

  1. 1

    Virtual machines and hypervisors

    What a virtual machine is, who runs it, and why some instructions must be caught and replayed

    Core 6 parts · about 3 hours

  2. 2

    Virtualising the CPU and memory

    How guests share processors, why memory needs two page tables, and how a balloon takes memory back

    Core 6 parts · about 3 hours

  3. 3

    Virtual devices and virtio

    Three ways to give a guest a disk or a network card, and how shared queues cut the number of VM exits

    Core 6 parts · about 3 hours

  4. 4

    Namespaces, giving a process its own view

    How one kernel shows each group of processes its own process numbers, host name, network and files

    Core 7 parts · about 3 hours

  5. 5

    Control groups, limiting how much a group may use

    How the kernel caps memory, processor time and process counts for a whole group, with measured results

    Core 7 parts · about 3 hours

  6. 6

    Case study, what is inside a container

    A working container built from 31 lines of C, a directory of files and one memory limit, and what it shares with the host

    Common 7 parts · about 3 hours