A reimplementation of NetBSD based on a microkernel by Andy Tanenbaum

Поділитися
Вставка
  • Опубліковано 16 вер 2024

КОМЕНТАРІ • 56

  • @danielschutte5731
    @danielschutte5731 4 роки тому +12

    It's so sad to see Minix being pretty much dead right now. A microkernel based OS might be the only way to combat modern bloat OSes like MS Windows and to some extent Linux.

    • @xnoreq
      @xnoreq 3 роки тому +2

      @Richard Addison Isn't it ironic that Minix powers broken, buggy, proprietary spyware that you cannot modify or even deactivate? Oh wait, no, that's a feature of the BSD license.

    • @xnoreq
      @xnoreq 3 роки тому +1

      @Richard Addison Yeah no, it's the same confused people that think that free speech should include the right to do things that ultimately limit free speech.
      And it's the same with tolerance. Tolerance of everything would include tolerance of intolerant groups or movements that actively seek to destroy tolerance.
      Similarly, giving users freedoms doesn't mean that everyone should be free to do anything, as that would be counterproductive and lead to violation of users' freedoms.
      Sadly, some people live in idealistic fantasy worlds or are too naive to get this... and suggest BSD for exactly that reason.

    • @xnoreq
      @xnoreq 3 роки тому +1

      @Daniel Schütte: One more thing: the bazillion of lines of code ("bloat") of Linux comparisons with microkernels are fallacious and deliberately misleading.
      Most lines of code come from drivers for hardware you're not running and potentially will never own in your life. If Minix had the same driver base and hardware support then it would have even more lines of code.
      Also, the kernel didn't get more bloated. A recent embedded build configuration results in a smaller linux kernel than some older versions, and the number of lines compiled (including basic hardware support of the embedded platform) are in the thousands, not millions.

    • @xnoreq
      @xnoreq 3 роки тому +1

      @Richard Addison What conceptual flaws? Did you watch the video and the explanation of the drawbacks of microkernel design? Minix being 8x to 50x slower than Linux, for example.
      But there are many more issues with microkernels and also with the marketing arguments that are being thrown around by the microkernel mob.

    • @xnoreq
      @xnoreq 3 роки тому

      @Richard Addison Yeah, for quite a long time people like the professor in your linked video have e.g. insisted on synchronous calls.
      Surprise, surprise, this brings unfixable problems with it and this has been known for a long time...
      Which is why most implementations have switched to asynchronous communication, which makes the overall architecture quite complex and very hard to debug.
      Btw, both points were mentioned explicitly by Linus Torvalds several years ago when asked about microkernels.
      There's also this main argument of "fault tolerance" of microkernels, but it is an empty promise.
      Consider a hardware state that hangs a module due to a bug. Restarting the module won't help, because the module will again hang.
      Or consider a scenario where one module triggers a bug in another. If it retries then even if the other module is restarted after a hang or crash, the same will happen again.
      Basically, microkernels are not any more reliable when it comes to denial of service.
      Lastly, Linux has components that load user-space "drivers" or daemons. They are used for things where performance is not critical, do not belong in the kernel or are written by people who do not know how to develop an in-kernel driver.

  • @eddie2378
    @eddie2378 8 років тому +1

    So what about the Wayland and Vulkan implementation?

  • @slawomirkulinski
    @slawomirkulinski 5 років тому

    Atari 65XE didn't have any bugs in its ROM.

    • @monetize_this8330
      @monetize_this8330 5 років тому

      but it took 3 generations to eliminate the bugs. (at the customer's expense - buy the new model)
      400/800 had several (Pokey timer 4 & SIO timeout)
      1200XL incompatible with every other machine. (MMU & PIA Port B)
      ATARI Basic had 3 revisions.

  • @MatthewSuffidy
    @MatthewSuffidy 2 роки тому

    Microkernels are probably a better design, but everyone knows the speed is in Monolithic. With most of computing at least the scheduler and stuff around it has to be cpu water tight and not running on inherently unstable equipment.

    • @kayakMike1000
      @kayakMike1000 Рік тому

      I agree, there's overhead with IPC between the services, even if it's optimized. That extra overhead is going to introduce a bit of latency. However, there are other places where latency is introduced, like garbage collection. The garbage collector pauses program execution while it defrags the used space.

  • @smorrow
    @smorrow 5 років тому

    Bulgarian Beastie is so cute

  • @xealit
    @xealit 7 років тому +2

    the fault-tolerant/self-healing bit sounds like Erlang
    the messaging, killing/restarting (supervision) -- do sound the same..
    is there a pattern?
    ...live updates..

    • @dragonfly3139
      @dragonfly3139 7 років тому

      agree there has been similar attempts to boot erlang vm as os check erlangonxen.org/

    • @monetize_this8330
      @monetize_this8330 5 років тому

      I'd rather have an OS built on Erlang. Instead of having to use a runtime system for erlang on a host OS.

  • @insaneminer
    @insaneminer 3 роки тому +1

    Micokernels are slower than monolithic kernels

    • @senselessnothing
      @senselessnothing 3 роки тому +2

      You can actually read them and they solve a ton of other major problems such as reliability and security. Speed is not everything.

    • @insaneminer
      @insaneminer 3 роки тому +1

      @@senselessnothing reliability and speed are very important

  • @meteor8076
    @meteor8076 5 років тому +2

    Monolithic kernels are much better than microkernels

    • @zhechozhechev118
      @zhechozhechev118 5 років тому

      why ?

    • @32gigs96
      @32gigs96 4 роки тому

      Zhecho Zhechev basically, microkernels have inferior performance (5%-10%) and the whole module system ends up not working so well cuz some modules like file system need special access and thus can’t fully run in user space anyway (something like this). Just search up what Linus Torvalds says about microkernels tbh.

    • @KC9UDX
      @KC9UDX 4 роки тому +1

      @@zhechozhechev118 opinion. Everyone's opinion is better than everyone else's. There are advantages and disadvantages of both.

    • @32gigs96
      @32gigs96 4 роки тому +3

      Zhecho Zhechev I’m actually interested in microkernels rn lol. I’m trynna make one but I’m just learning about operating systems rn

    • @badwolf8112
      @badwolf8112 4 роки тому

      @@KC9UDX That's not rigorous enough to assess how to make good OS's. Performance difference of different technologies isn't about opinions. I don't know whether Linus is right, but your comment ironically paints both options as equal. If it's just opinions, how can it be objectively true that there are advantages and disadvantages to both?