1. It's clear that Linux 'won' in the marketplace so we can all laugh at how wrong this guy was and the curiosity of these 'microkernel' things and that portability stuff. Lols all around.
2. We've reached a point where ideas are gaining ground about immutable infrastructure, people are talking more about things with similarities to microkernels called unikernels [1] (and where they might be used [2]). Linux isn't going anywhere but these new approaches have value and were being discussed as long ago as 1992. Of course, the author got things wrong but that's par for course. It's more interesting to see ideas that are resurfacing. Incidentally, ARM was a RISC chip and now dominates Intel on mobile devices.
I prefer the second approach. So to anyone poking fun at the author, please consider that maybe this is one aspect of living in the future [3], albeit much further than than most (market timing is always underrated and academics tend to think further ahead than most people). We can also remind ourselves that 'Better' is a tricky and subjective thing to define (cf VHS tapes vs Betamax).
[1] http://queue.acm.org/detail.cfm?id=2566628
[2] http://nymote.org/blog/2013/introducing-nymote/
(disclaimer: I'm involved with both the above projects)
Well, it doesn't really seem to matter whether you use a monolithic or microkernel design. They both work well enough. Driver development is hard for reasons that have got nothing to do with this, and doesn't appear to change much between the platforms. Success/popularity of operating systems appears to be determined by other factors.
I'm not sure why people feel this is still worth debating. All the evidence points to it being completely unimportant.
Arguable. There might be more instances of QNX and L4 running than of Linux. This is pretty much impossible to measure. Remember that Android smartphones have a second OS underneath or beside the Linux kernel.
Apple and Microsoft use a hybrid approach, so they just do not participate in the debate.
> OKL4 shipments exceeded 1.5 billion in early 2012, mostly on Qualcomm wireless modem chips. Other deployments include automotive infotainment systems.
http://en.wikipedia.org/wiki/L4_microkernel_family#Commercia...
I think it is obvious that any scientist that can prove his theories in a practical way must do that and should not flame and criticize another. In areas where theories are harder to prove like astrophysics, social science, economics, etc. I guess people can debate and flame. We are all used to economist flame wars by now.
But in areas where theories are practically provable, such criticisms are useless and idiotic. If Tanenbaum thought microkernels were so great he should have made a usable microkernel OS.
This also shows a very negative practice in the software industry which should be discouraged. And this is the criticism of the thing that is working now in favor of some new shiny project that is still in development but it will be all so great when it comes out. It is a very easy pitfall to get into, because the thing working now usually has some problems and disadvantages while the shiny new thing that does not exist yet is usually perfect in every way. But in practical matters, one usually does better going with the thing working now. But worst of all, this practice of worshiping the nonexistent solution is usually used to strike down newcomers and disruptors.
By the way, unikernels have absolutely nothing to do with microkernels. So, no the day of the microkernel has not arrived and there is no indication that it will come any time soon. Maybe there will be a practical working microkernel based os some day. I have no idea what will happen in a thousand years or ten thousand years. But if that happens it will be more of coincidence than evidence that Andy Tanenbaum is some kind of genius living in the future. If you have long enough time frame a lot of predictions about the future will eventually happen in one way or another.
Regardless, Linus never disputed the fact that microkernels are theoretically better. He just knew how impractical they were because he actually buckled down and did the work to make a useful OS instead of bloviating on theory.
Not only this. Amoeba, Tanenbaum's research OS is a distributed operating system, meaning that many devices could be used as a single system. This would be incredibly useful in our current age where everyone has a laptop, a smartphone, a tablet, and lots of other devices that need to be synched.
it depends a lot on what you mean by won and which marketplace you are talking about.
as a desktop os linux is essentially non existent with an ever shrinking 1.5% of the market share or so as more and more regular joe consumers get machines with windows or os x preinstalled at a much faster rate than expert-level geeks are installing linux.
as a software developer targetting the mainstream it is rare that targetting linux is a profitable venture, because nearly no customers use it and those that do don't spend money on software in the same way as some one living in the Microsoft or Apple ecosystems. OS X also has a tiny market share (around 4% iirc) but people who are willing to pay over the odds to have a pretty workstation seem also not afraid of spending money on software.
as a server platform Linux dominates despite the best efforts of MS and Apple to try and market slightly uglier versions their consumer level desktop OS as a server product. its easier to use remotely, and can easily be configured to not rely on heavy UI features - there are even flavours that cater better to business philosophies on 'stability' (i use that term loosely) like RHEL and CentOS - also stability and open source go hand in hand, because you can fix bugs, or pay people to fix bugs allowing you to throw money at problems to fix them in a way which is impossible with the mainstream OSs
as a software developer it makes sense to target linux first for your big expensive server product. if you don't then you are cutting out your customers...
i don't think either of these situations has much to do with the underlying technology. its much more to do with the OS and what it provides than how it is built to achieve those aims.
So, no desktop linux market share is not non-existent and it is definitely not shrinking.
http://www.zdnet.com/article/chromebook-shipments-leap-by-67...
Oh, it has been a long time since 1992 and these posts by Tannenbaum are pretty famous (actually, I'm surprised it still appears on HN). So we did laugh already. Later we suddenly stopped laughing and it was more like your "second approach". But that also was quite a while ago. Next wave of philosophical though in techno society was reflecting on all these "worse in better" stuff, "MIT vs Berkley", "Lisp is older that C", "ML is 40 years old". Because, really, it's all about the same idea. And posts about "Cathedral and bazaar" and how dot com bubble destroyed the notion of sound architecture is pretty much about the same thing.
So for me it isn't anymore about any new "lessons" to learn from that. Just a painful reminder on "sooner or later we'll have to throw all these tremendous work away and start anew… shall we?".
A true microkernel does one thing and one thing only: pass messages.
Now that's an ideal and in the real world you don't get to have your ideals realized so rather than to be able to realize this spherical cow you're going to have add in a few more system calls to make it work but you'll end up with something a lot closer to plan9 or QnX and compared to those Linux is very very old hat indeed, it's basically a re-run of the 70's state of the art with a a whole pile of modern day hardware drivers and other goodies thrown in.
Tanenbaums biggest mistake was to try to monetize Minix through Prentice-Hall, if he'd just tossed it out there it would have picked up steam a lot quicker, but likely he too had bills to pay and his expenses at the time were probably a lot larger than Linuses, and so history was made.
So, Linus was obsolete, but so was Minix and the future as we could have had it is still waiting to happen. And when it does you'll finally appreciate just how obsolete Linux was back in 92, and how much more obsolete it is today.
Until then it's like democracy: not perfect but the best we've got (without shelling out lots of license fees for something better).
You make it sound like his capitalist motives worked against him.
Writing and publishing educational material was part of his job. Prentice hall had been publishing his books since the 1970's. I'm sure it seemed like the obvious way to publish his educational material - especially since minix wasn't a standalone thing, but it came with a book. Perhaps he even had an exclusive contract with PH. It probably didn't even occur to him that there was another way to publish the software.
Also, in 1991, making software available for download wasn't as straight forward as it is today. There was no www, and very few Europeans had access to the internet. I know for me a book with a disk would have been the only reasonable way to get it.
AST was firmly of the belief in Minix as being educational code, and hence only accepted patches along those lines. I don't remember if there was copyright assignment too, but there must have been something similar. This was at odds with the people who wanted to use Minix as their operating system.
For example the Minix of the time only supported 16 bit mode on x86 which meant no memory protection and only using about half a megabyte of memory on multi-megabyte machines. Someone produced fairly large patches that let it work in 32 bit mode, but they were never distributed as part of Minix because they didn't further the education goal (more code, harder to read and understand etc).
Another example was that the filesystem code was single threaded and only handled one request at a time. This meant easy to read and understand code, but dismal performance. Again this hindered those trying to use Minix versus those learning from it. This was such an issue that the original Linux announcement has this line:
PS. Yes – it’s free of any minix code, and it has a multi-threaded fs.
Essentially Minix wasn't seriously usable, cost a lot, was not open source/community oriented, and was not progressing towards being usable. That is why so many of us jumped on Linux because it immediately worked, didn't cost anything, was 32 bit, had a rapid pace of development, and was trying to be usable.On the Hurd side, there never was anything you could actually download and use. It was also developed very strongly in the cathedral style as many GNU projects were. Of course the promises were that "soon" there would be something. But Linux was there now and accepted patches without copyright assignment, and had rapid releases.
Hurd and Minix both missed critical windows of opportunity and ended up so far behind Linux that they might as well not have bothered. For the longest time the only thing that kept new people flooding into Minix was Tanenbaums courses at VU.
I Think the project restarted 3 times in 10 years...
Linux may have been crude etc, but it was here, it was working, and it was free (in both senses of the word).
Frankly i see the lack of Linux on the desktop less about the quality of Linux, and more about MS abusing its market position and a massive failure to regulate.
Of course, if the BSD kernel plan went through, then Hurd would be quite different architecturally today. I'm not sure how versatile it actually was, though - perhaps a multiserver design still might have been possible.
See: http://www.h-online.com/open/features/GNU-HURD-Altered-visio...
Perfect display of how universities are good at judging people about how well they know how to "play the game" (and usually that involves conforming to whatever frame of mind your professor thinks is right).
From a software engineering perspective, it left a lot to be desired, too. It basically only supported what was on Linus desk.
One could say the things Linux had going for it were a) a GPL license, b) being small, c) arriving at just the right time, and d) Linus willing to accept external input.
Whether a) is an advantage of course depends on personal preference. b) helped with d) because it made it feasible for many to download the thing; c) was luck; d) IMO was the most influential factor.
What about IPC overhead?
Also, I love how he was so confident with regards to
While I could go into a long story here about the relative merits of the two designs, suffice it to say that among the people who actually design operating systems, the debate is essentially over.
The QNX microkernel is quite successful. L4 also seems to do well. The BSD Mach microkernel is still around. Minix is still around, although its reliability approach (similar to Erlang, let processes/drivers fail and restart) does not gain mindshare. Windows is considered a hybrid since NT. Likewise XNU/Darwin is Apple's hybrid.
Maybe the current state is more like: Neither micro nor monolithic won, but we know the tradeoffs now and an OS designer can decide per feature. For most applications the difference does not matter, though. Most applications build on a higher level platform (JVM, iOS, Browser, etc).
I think microkernels will have their day in some part of the future.
"Making software free, but only for folks with enough money to buy first class hardware (x86) is an interesting concept. Of course 5 years from now that will be different, but 5 years from now everyone will be running free GNU on their 200 MIPS, 64M SPARCstation-5."
NetBSD is a good starting point as the drivers are portable (via rump kernel; eg Genode uses this for their filesystem drivers) so you can reuse them in another OS as a starting point, plus it is reasonably simple as OSs go, plus the BSD license is friendly.
There were a bunch of related talks at https://operatingsystems.io/
Still it proves that yes, refactoring can work. Real-time is one of those super-duper invasive features. So if it works for real-time we should be able to refactor in other features.
Of course 5 years from now that will be different, but 5 years from now everyone will be running free GNU on their 200 MIPS, 64M SPARCstation-5.
I'm not going to call it a wasted effort, because I appreciate there being other "Unix"-systems around in case Linux ever goes bad, but at this point it seems to be a whole lot of work invested for nothing.
Maybe things will change 5 years down the road when people abandon systemd and DMD had matured, and the best way to run it is on Hurd, but I'm not putting any money on that bet ;)
http://www.cs.vu.nl/pub/amoeba/
https://en.wikipedia.org/wiki/Amoeba_(operating_system)
Mach kernel
http://www.cs.cmu.edu/afs/cs/project/mach/public/www/mach.ht...
https://en.wikipedia.org/wiki/Mach_(kernel)
RC4000
http://www.prg.dtu.dk/equip/rc4000.html
CHORUS
http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.38.6...
Remember, today's lucky 10,000...
Actually, I always enjoy reading this whenever it comes up. I was just about to start a university computing science degree course at this time and was reading Tanenbaum in preparation. This was a debate that was alive for years throughout the computing community I was part of.
In the end reality came down to what always wins in computing (and in life too).
Running code beats design. Design is always 'better'."Speeds of 200 MIPS and more are likely in the coming years."
Now, a modern Mac Pro can do 488250 million instructions per second. Needless to say, we've had progress in these last couple of decades.
"Linus Benedict Torvalds In article <1992Jan29.2...@klaava.Helsinki.FI> I wrote: >Well, with a subject like this, I'm afraid I'll have to reply.
And reply I did, with complete abandon, and no thought for good taste and netiquette. Apologies to ast, and thanks to John Nall for a friendy "that's not how it's done"-letter. I over-reacted, and am now composing a (much less acerbic) personal letter to ast. Hope nobody was turned away from linux due to it being (a) possibly obsolete (I still think that's not the case, although some of the criticisms are valid) and (b) written by a hothead :-)
Linus "my first, and hopefully last flamefest" Torvalds"
This HN comment posted from a Linux machine in 2015. :)
"viewpoint may be largely unrelated to its usefulness. Many if not most of the software we use is probably obsolete according to the latest design criteria. Most users could probably care less if the internals of the operating system they use is obsolete. They are rightly more interested in its performance and capabilities at the user level.
"I would generally agree that microkernels are probably the wave of the future. However, it is in my opinion easier to implement a monolithic kernel. It is also easier for it to turn into a mess in a hurry as it is modified."
[1] https://va.ludost.net/files/eurobsdcon/2014/Vitosha/03.Satur...
Btw Linus called DOS as DOG:
> You mention OS/360 and MS-DOG as examples of bad designs as they were hardware-dependent, and I agree.