Screen Version
School of Computer Science & Engineering
University of New South Wales

 Advanced Operating Systems 
 COMP9242 2002/S2 
next up previous
Next: A Critique of the Up: 05-uk Previous: 05-uk

Subsections

Critique of
Microkernel Architectures




I'm not interested in making devices look like user-level. They aren't, they shouldn't, and microkernels are just stupid.

 Linus Torvalds

Is Linus right?

Microkernel Performance

Ultrix vs. Mach MCPI

c_b_93_f2-1

Interpretation

Observations:

Claim:

Assertions

1
OS has less instruction and data locality than user code.

2
System execution is more dependent on instruction cache behaviour than is user execution Note: most benchmarks were small, i.e. user code fits in cache.

3
Competition between user and system code is not a problem Note: the hardware used has direct-mapped physical caches.
==> Split system/user caches wouldn't help.

Self interference

c_b_93_f4-2

  • Only examine system cache misses.

  • Shaded: System cache misses removed by associativity.

  • MCPI for system-only, using R3000 direct-mapped cache.

  • Reductions due to associativity were obtained by running system on a simulator and using a two-way associative cache of the same size.

Assertions...

4
Self-interference is a problem in system instruction reference streams.

5
System block memory operations are responsible for a large percentage of memory system reference costs.

6
Write buffers are less effective for system references.

7
Virtual to physical mapping strategy can have significant impact on cache performance

Other experience with \(\mu\)-kernel performance

So, what's wrong?


next up previous
Next: A Critique of the Up: 05-uk Previous: 05-uk
Gernot Heiser 2002-08-28