Reaves.dev

v0.1.0

built using

Phoenix v1.7.17

Microkernel

Stephen M. Reaves

::

2024-01-23

Notes about Lecture 2d for CS-6210

Summary

Microkernel-based OS structure

microkernel based os structure

Potential for Performance Loss

L3 Microkernel

Proof by construction to debunk myths about microkernel based os structure

Strkes Against Microkernel

Debunking User Kernel Border Crossing Myth

Address Space Switches

address space switches

On context-switch, the different address space will change the mappings from virtual to physical addresses

Do we need to flush TLB?

Address Space Switches with Address Space Tagged TLB

address space switches with tagged tlb

Liedtke’s Suggestions for Avoiding TLB Flush

Suggestions for Avoiding TLB Flush even if TLB is NOT AS-tagged

Large Protection Domains

Sometimes protection domains arge larger than hardware address space

Implicit Costs >>> Explicit Costs

Upshot for Address Space Switching

This is how microkernel myth is debunked by construction

Thread Switches and IPC

Memory Effects

small protection domains => warm caches

Reasons for Mach’s Expensive Border Crossing

Thesis of L3 for OS Structuring