by Froga
Opens up the hypervisor: why a guest cannot hold full privilege, the four CPU techniques, two-level memory translation, memory reclamation and virtual CPUs. You will be able to compare the techniques and predict their costs. About 14 minutes.
What this room is about. This room opens up the hypervisor and shows how it lets a guest believe it owns the whole machine. It follows the CPU first, from sensitive instructions through trap and emulate, binary translation, para-virtualization and hardware assist, and then memory: two levels of address translation, overcommitment and the ways of taking memory back. It continues the course story, from one physical server towards the cloud.
Why it matters. A guest operating system is written to assume it has full control: it turns interrupts off, edits page tables and owns every device. If it really did, one guest could freeze the host or read another guest's memory. The hypervisor has to keep control and still look invisible, at close to full speed. Knowing which technique does this, and where its cost shows up, explains why some workloads run slowly and why memory can safely be promised twice over.
Words you will meet.
By the end you should be able to:
How to use it. Each question has its own study text above it, so read that first and then answer; the answers and explanations show at the end of the room.
multiple choice
Ready to test yourself?
Sign up free to answer, score points, and build your streak.