Live data from Hacker News

The Jury Is In: Monolithic OS Design Is Flawed [pdf]

ts.data61.csiro.au

51–60 of 199 posts

Re: The Jury Is In: Monolithic OS Design Is Flawed [pdf]

#51

> We find that almost all exploits are at least mitigated to less than critical severity, and 40% completely eliminated This probably sounds trollish, but security isn't that important. An OS architecture has to take into account other things too.

It's kind of pointless to have a faster server at the cost of seeing that server owned by someone else.

Re: The Jury Is In: Monolithic OS Design Is Flawed [pdf]

#52

Linux is the most popular OS in the world (of course, counting Android), so I guess this means it doesn't really matter is monolithic is flawed, or it is not flawed enough.

Actually, MINIX, the operating system used in the ME in modern Intel chipsets, is possibly now one of the most widely deployed operating systems on the planet.

* https://news.ycombinator.com/item?id=15642116

* https://news.ycombinator.com/item?id=15634014

* https://news.ycombinator.com/item?id=15697888

* https://news.ycombinator.com/item?id=15641592

Re: The Jury Is In: Monolithic OS Design Is Flawed [pdf]

#53
I'd hazard to say that every design is "flawed" in some regards: there's no way to achieve all desirable qualities and none of undesirable qualities. For one, some desirable qualities contradict each other.

So "${thing} is flawed" is not precise enough; an interesting statement would be "${thing} is not the best choice for ${conditions}". A monolithic OS is not the best choice for a high-reliability system on unreliable hardware. A microkernel OS that widely uses hardware memory protection is not the best choice for a controller with 4KB of RAM. A unikernel setup is not the best choice for a desktop system where the user is expected to constantly install new software. Etc, etc.

In other words, the ancient concept of "right tool for the job" still applies.

Re: The Jury Is In: Monolithic OS Design Is Flawed [pdf]

#54
post #43

Earlier quoted context omitted.

A reasonably secure os? I think that's one thing I don't want just reasonable

It's kinda self-deprecating humor; the (now ex) Tor developers I know use it. Nothing is ever 100% secure.

It's definitely better than software claiming to have military grade encryption.

Re: The Jury Is In: Monolithic OS Design Is Flawed [pdf]

#55
post #9

Earlier quoted context omitted.

Sorry but a DirectX 11 class dual core APU is good enough for general purpose gaming. And runnig legacy kernels? No thanks.

Which GPU is it specifically?

AMD Fusion Brazos APU, Radeon HD 6250

Re: The Jury Is In: Monolithic OS Design Is Flawed [pdf]

#56
post #19

I wonder if there exists a parallel dimension where linux is microkernel design and folks are pushing for monolothic citing the driver friendliness and performance

the Hurd-verse lives! Richard Stallman is a clean-shaven, foulmouthed autocrat, and Linus is composing folk songs about joining hands with Intel and Nvidia!

I think you mean Gnu/Linus

Re: The Jury Is In: Monolithic OS Design Is Flawed [pdf]

#57
post #45

Earlier quoted context omitted.

If parallel dimensions exist, then it's most certainly one of the closest dimensions to ours. If I'm sure of one thing, it's that as soon as we decided to build everything as Microkernels, we'd have the same squeaky wheels touting the massive benefits of Monotlithic OS design. We're hilariously cyclical in our preferences. "Think of all the runtime efficiencies of the shared memory, and how much easier it would be to…

The dirty secret is that we take a microkernel, rename the syscalls as "upcalls", throw in some hardware emulation code as a less efficient and uglier API for software that can't be bothered to be ported, and call it a hypervisor. Also, your phone's baseband processor almost certainly runs a microkernel, and likely so does your car.

and according to someone, your Nintendo console too

It's quite crazy to count all the layers

    cpu microcode
    cpu isa
    hypervisor
    os kernel
    userspace api
    browser runtime
    js vm
    application
    your mouse
I want my 386 back

Re: The Jury Is In: Monolithic OS Design Is Flawed [pdf]

#58

Linux is the most popular OS in the world (of course, counting Android), so I guess this means it doesn't really matter is monolithic is flawed, or it is not flawed enough.

Sure it matters, because Android Oreo has actually forked Linux into a microkernel like design, where drivers run as separate processes and use Android IPC to talk with the kernel.

Re: The Jury Is In: Monolithic OS Design Is Flawed [pdf]

#59
post #45

Earlier quoted context omitted.

If parallel dimensions exist, then it's most certainly one of the closest dimensions to ours. If I'm sure of one thing, it's that as soon as we decided to build everything as Microkernels, we'd have the same squeaky wheels touting the massive benefits of Monotlithic OS design. We're hilariously cyclical in our preferences. "Think of all the runtime efficiencies of the shared memory, and how much easier it would be to…

The dirty secret is that we take a microkernel, rename the syscalls as "upcalls", throw in some hardware emulation code as a less efficient and uglier API for software that can't be bothered to be ported, and call it a hypervisor. Also, your phone's baseband processor almost certainly runs a microkernel, and likely so does your car.

And what many seem to be unaware, is that project Treble made Android Linux into a microkernel where drivers use Android IPC to talk with the kernel.

https://source.android.com/devices/architecture/kernel/modul...

https://source.android.com/devices/architecture/hidl/

So everyone running Android Oreo or newer on their phones, not only has a microkernel on their basebase radio, they also have a Linux tamed into a microkernel on their main ARM SOC.

Re: The Jury Is In: Monolithic OS Design Is Flawed [pdf]

#60

Earlier quoted context omitted.

Seems like a pretty easy cost/benefit analysis to me: I can either spend thousands of dollars worth of my time on updating the driver, or I can pay someone else thousands of dollars to do it. Or I can spend a fraction of that on a new video card. Seems like the only solution for Vista users is the only solution I'd ever have gone with, anyway.

Sure the cost/benefit works out the same for you (which is why no one has done the work), but that's different from the full set of options available to you in both cases.

How expansive do we want to be about what the full set of options is, though?

I tend to fall on the side of the root poster - if having a stable driver API means Linux gets more commercial driver support, then that's the one that has the highest cost/benefit in my book.

In practical terms, being able to hack on open-source drivers isn't particularly useful to me, but having an easier user experience with Linux on the desktop (and, more generally, having Linux on the desktop be something more than an also-ran) would benefit me immensely.

Post reply on HN