▲ 6 r/computerarchitecture+3 crossposts

Virtual machines vs containers

Most engineers know what a page table is.

Far fewer know what happens after the guest page table.

In this video, I follow a memory access all the way from:

Application → Guest Virtual Memory → EPT → Host Physical Memory → CPU Cache → DRAM

Along the way we uncover vNUMA, AutoNUMA, remote memory access, EPT translations, and why a VM can think memory is local while the hardware disagrees.

Then we compare it all with containers.

A journey from a single memory load instruction to the hardware itself.

#LinuxUnderPressure #Linux #PerformanceEngineering #NUMA #Virtualization #KVM #Containers

youtu.be
u/makivili2s — 30 days ago