6 ms·
Honest question: is Hurd used in production anywhere? I wasn't aware it was still being actively developed.
by avolcano 13y ago
Honest question: is Hurd used in production anywhere? I wasn't aware it was still being actively developed.
- Nrsolis 13y agoI've never encountered it in my professional career. As near as I can tell, it offers nothing over the main Linux kernel except sourcing from the GNU Project. IMHO, not enough reason to abandon the Linux kernel. YMMV.
- comex 13y ago"Nothing over the main Linux kernel" is complicated. It offers a microkernel design that was modern and radical 20 or so years ago, and is still pretty unique as a Unix system; Linux being as monolithic as ever, you can still do some pretty cool stuff with it you can't come close to with Linux. However, afaik, these days the designs of Mach and Hurd aren't looked upon very highly, the stability advantages of microkernels aren't as important anymore with rock solid traditional kernels, and instead of figuring out how to empower non-root users on Unix systems we just give everyone their own VM.
- mercurial 13y ago> However, afaik, these days the designs of Mach and Hurd aren't looked upon very highly, the stability advantages of microkernels aren't as important anymore with rock solid traditional kernels, and instead of figuring out how to empower non-root users on Unix systems we just give everyone their own VM. On the other hand QNX, a closed-source Unix-like microkernel OS, has been used commercially for a long time - for instance, it powers Blackberry phones nowadays, and I heard the performance is quite decent.
- nknighthb 13y agoIt's surreal to me that this conversation still happens in these terms. People doing real work for which they need an OS don't care that QNX/HURD are microkernels or that Linux/NetBSD aren't. They care that one solves their problem better than the other. Nobody cares about kernel architecture unless they're writing (or learning about) kernels. Everybody else is looking for an OS that meets practical requirements. QNX's architecture might help it meet some requirements better than Linux's architecture, but the architecture itself is not a determining factor in commercial success.
- mercurial 13y agoI don't understand your argument. We are talking about kernel architecture (and specifically, monolithic kernels vs microkernels). Specifically, I brought up QNX as an example of microkernel-based OS used in the wild, as opposed to Hurd and (presumably) Minix - which gets to show that they can be made to work. However QNX is marketed is no concern of mine.
- nknighthb 13y agoFirst, my comment was not directed solely at you but at the conversation in general. Second, the original context of that conversation isn't kernel architectures, but what particular kernels "offer". Discussing kernel architectures as if they're a practical advantage is surreal.
- mercurial 13y agoYou're splitting hairs. Microkernels do offer practical advantages by virtue of their architecture, while suffering from other drawbacks again caused by their architecture.
- nknighthb 13y agoI'm not trying to "split hairs", I'm trying to address a problem that has repeatedly made my life difficult -- people seeking particular technologies instead of solutions. But since that has obviously made some people upset, I'll trouble you no more about it. I'm sorry to have intruded.
- eyko 13y agoYour life must be very difficult...
- yyqux 13y agoWhy do you automobile engineers keep talking to each other about pistons and transmissions, and all that nonsense, it's absurd. I just want a car that gets me from A to B and doesn't use too much gas. I don't see what that has to do with engine seals.
- pjmlp 13y ago> However, afaik, these days the designs of Mach and Hurd aren't looked upon very highly, the stability advantages of microkernels aren't as important anymore with rock solid traditional kernels, and instead of figuring out how to empower non-root users on Unix systems we just give everyone their own VM. On the commercial world you have Symbian and QNX as examples of micro-kernels OS. Microsoft is doing research how to run the full OS as a library on top of a pico-hipervisor (Drawbridge). And Minix just got a EU grant for their research in micro-kernels and security. Sometimes I think Linux is happy just copying the UNIX and Mainframe designs, without much OS innovation.
- pionar 13y ago> Sometimes I think Linux is happy just copying the UNIX and Mainframe designs, without much OS innovation. This is difficult to answer, but I'll try. Note that this is from merely an interested person's view, I'm not a kernel dev or anything. Linux has to strike a balance between compatibility, stability and innovation. The goal of Linux isn't "OS innovation", the kernel people would rather that innovation occur in userspace (at least from my reading of the tea leaves), and that is happening a lot. However, Linux doesn't have the power to "break out" and try something radically different, as it has actual users with billions of dollars invested in Linux that rely on its stability and its compatibility with the hardware and software they use. Symbian and QNX are not mainstream kernels, as they really only exist in embedded devices, and really only support ARM and a couple other architectures. Minix, GNU/Hurd and the Microsoft research are just that - research. No user base to speak of, no commercial uses, etc. I think the most successful microkernel wasn't actually micro, but a hybrid - Windows NT.
- philsnow 13y ago> I think the most successful microkernel wasn't actually micro, but a hybrid - Windows NT. The OS X kernel is (was?) a hybrid, basically Mach with BSD bolted onto the side http://en.wikipedia.org/wiki/XNU http://en.wikipedia.org/wiki/XNU
- btilly 13y agoI used to work with Thomas Bushnell, who was deeply involved with the Hurd at the beginning. His claim was that microkernels offered theoretical advantages on paper, but practical complications that Stallman seriously underestimated. He says that he had originally suggested taking a BSD kernel and rewriting all of the (then) legally risky bits, and he still believes that this would have been straightforward, and if they had followed that route then Linux would not have stolen their thunder. But he let Stallman argue him out of it, and that was a mistake.
- 15charusername 13y ago> Linux being as monolithic as ever Except for loadable kernel modules which is a pretty big move towards microkernel-like features from the original versions.
- sepeth 13y agoAFAIK, loadable kernel modules has nothing to do with microkernels. Those are still running in the kernel space. Maybe you meant something like FUSE.
- draven 13y agoThey allow loading code (drivers mostly) at runtime, something that's impossible with a "traditional" monolithic kernel.
- pjmlp 13y agoWhich has been possible in non UNIX systems since the mid 90's, this has nothing to do with micro-kernel architecture.
- 15charusername 13y agoHurd has been in development since 1990, Tanenbaum–Torvalds was 92. The shipping and loading of drivers separately from the kernel was a micro-kernel advantage and Linux being able to do the same is a move towards micro-kernel features in Linux (fuse and cuse being others).
- pjmlp 13y agoA very very very tiny step.
- sepeth 13y agoIn MINIX, afaik, you ship some drivers with the kernel in the same file. But those drivers runs in user space and separate from each other. The issue is not related with shipping. IMO, loading the drivers at runtime is the easiest part of microkernels. It is really very very very tiny step. There are a lot more things to do, like doing IPC between operating system components, managing memory, scheduling, protection of the system & driver process running in the user space. Finally, loadable kernel modules does not give you any security and reliability. Those modules still share the same address space with the kernel and each other.
- edwintorok 13y agoXen seems to be moving to an architecture that is similar to microkernels with dom0 disaggregation and driver domains: http://blogs.citrix.com/2012/05/17/introducing-windsor-a-new-xen-based-virtualization-architecture/ http://blogs.citrix.com/2012/05/17/introducing-windsor-a-new... So is virtualization just reinventing microkernels?
- rwmj 13y ago.. And containerization is unfortunately going the opposite way. Having a single huge morass of code (the Linux kernel) run multiple operating systems at the same time.
- pjmlp 13y ago> I've never encountered it in my professional career. Symbian and QNX are two successful operating systems with micro-kernel architecture. That IBM, Intel and others decided to sponsor Linux development does not make other kernel designs less valuable.
- yebyen 13y agoHurd has certainly made strides, we're way past the days when you needed to compile your own translator for /dev/random to make an implementation of sshd possible. I have not tried it this year, but last year I was quite impressed at the progress in ease of installation, driver support, and use. I just skimmed the Phoronix review from 2011, and I was surprised to see that Hurd outperformed Linux in some categories by a narrow margin, and in others it did not lose by a complete landslide. It's still i386-only, so you know what to expect at least a little bit. I think a more fair comparison would be Debian GNU/kFreeBSD and Debian GNU/Hurd, since the developer base for each is probably comparatively small. Glad to hear the HURD is still alive. GNU/kFreeBSD has NOT had any release since wheezy or since 9.1, to look at their website, so if numreleases or first-mover is any indicator of progress, take that into account. Sorry to say all this and have to answer, no, I am not using Hurd for anything. Interested as you are to hear if anyone is, and for exactly what. I would be surprised to hear that anywhere it "really shines" compared to any other platform.
- GregBuchholz 13y agoLast time I had the Hurd installed on any hardware (looks like 2004), the only web browsing option was lynx. It sounds like things have improved since then?
- mercurial 13y agoIndeed. With 75% of Debian packages available, this should be enough to try it out. It's pretty amazing to have it somewhat usable nowadays, considering how long it has taken. Looking at the wikipedia page, the project seems to have some focus issues, with people periodically starting to port Hurd to other microkernels and then stopping due to lack of time. It would be interesting to have a side-by-side comparison with other similar projects like Tannenbaum's own Minix 3.
- duskwuff 13y ago> GNU/kFreeBSD has NOT had any release since wheezy… Debian Wheezy was just released earlier this month.
- mixmastamyk 13y agoAlpha-level software is hopefully not used in production. Could this be considered 1.0 (Beta 1)?