this post was submitted on 04 Oct 2023
704 points (95.2% liked)

linuxmemes

20751 readers
1224 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] emhl@feddit.de 13 points 11 months ago (3 children)

Btw. The Linux kernel does more than one thing. But monolithic kernels are much better for small student projects that won't be relevant anymore, when Gnu Hurd comes out

[–] rwhitisissle@lemmy.world 3 points 11 months ago

when Gnu Hurd comes out

Any day now...

[–] uis@lemmy.world 2 points 11 months ago
[–] nickwitha_k@lemmy.sdf.org 2 points 11 months ago

Monolithic kernels are also generally more performant, compared to micro-kernels, it turns out. A bit counter-intuitive at first but, makes sense when you think about it.

Micro-kernels in general-purpose OSes suffer from a death of a thousand cuts due to context switching. Something that would be a single callback to the kernel in a monolith turns into a mess of calls bouncing between kernel and user space. When using something like an RTOS where hardware is not likely intended for general-purpose computing, this is not an issue but, when you start adding all of the complexity of user-installable applications that need storage, graphics, inputs, etc, the number of calls gets huge.