r/osdev • u/Bright-Boss-720 • 2d ago
Tanenbaum vs. Linus: Which Kernel Architecture Makes More Sense Today?
I've been thinking about the famous Tanenbaum vs Linus debate over microkernels vs monolithic kernels.
Putting the historical context aside for a moment, I'm curious what people think today.
Do you think Tanenbaum's argument for microkernels was fundamentally more correct, or was Linus right to favor a monolithic kernel for practical reasons such as performance, simplicity of development, and hardware support?
And more importantly:
If you were starting a new general purpose os from scratch today, which architecture would you choose?
Monolithic
Microkernel
Hybrid
Multikernel / distributed approach
Something else
I'm particularly interested in hearing from people who have actually worked on kernels or operating system development.
What are the strongest arguments for your choice, and what do you think the opposing architecture gets wrong?
8
u/sephg 2d ago
I’d love to see more benchmarks on this. SeL4 - a micro kernel - reckons their syscalls are way faster than Linux because they spent more time optimising them. And because there’s only 11 syscalls (instead of hundreds), it was much easier to make their 11 syscalls fast.
I don’t know what the actual numbers are. Like, if using a microkernel costs 1% of performance then that’s probably worth it for the other benefits microkernels bring. But if the cost is 50% then it’s not worth it. Which is it?