3 ms·
> And all of this is based on hacks and ugly workarounds, due to the kernel being a monolithic design. But most BSD ( including OpenBSD which you just praised
by dntbnmpls 7y ago
> And all of this is based on hacks and ugly workarounds, due to the kernel being a monolithic design.
But most BSD ( including OpenBSD which you just praised ) is monolith as well.
> I will not be too surprised when Dragonfly finally leaves Linux in the dust and people wonder how the hell, which is something I predict will happen.
Dragonfly would have to first leave FreeBSD in the dust before taking on all the linux distros.
Microkernels are great for learning about kernels. Monoliths have been great for general and corporate use. Perhaps the future is hybrid, only time will tell.
- snvzz 7y ago>Dragonfly would have to first leave FreeBSD in the dust before taking on all the linux distros. You're late to the party, as Dragonfly is already outdoing Linux in some areas, such as the network stack[0]. >But most BSD ( including OpenBSD which you just praised ) is monolith as well. I praised them for the engineering they've been doing. They still retain flexibility, despite the monolithic design. Linux went all-in with their smp locking and kernel preemption, and the costs of getting any work done on the source code have skyrocketed since. >Perhaps the future is hybrid, only time will tell. Hybrid is a marketing term. It's a blurry line between a monolith and a so-called hybrid. What they're marketing is structure. Structure is good. Netbsd is an example of a well structured system. Linux is the counterpart: A poorly structured one. >Monoliths have been great for general and corporate use. UNIX is an old design. Corporate hates taking risks. However, there's massive scale deployments of microkernel systems, they're just not on your face; the visibility is actually quite low for these. But they do tasks that greatly benefit from or outright require such a design. Monolithic design limits are more evident than ever, as we're hitting them left and right. So this is changing. For instance, besides systems such as Genode and HelenOS, Google is working on Fuchsia and Huawei on HarmonyOS. Brace for impact, as waves will be made when this all finally hits. [0]: https://leaf.dragonflybsd.org/~sephe/perf_cmp.pdf https://leaf.dragonflybsd.org/~sephe/perf_cmp.pdf
- jayp1418 7y agoMaybe rump kernels might be future : https://research.csiro.au/tsblog/using-rump-kernels-to-run-unmodified-netbsd-drivers-on-sel4/ https://research.csiro.au/tsblog/using-rump-kernels-to-run-u...
- snvzz 7y agoIt's amusing you mention this. I just used the rump implementation of fat filesystem (rump_msdos) to mount a fat floppy on netbsd on an Amiga with a kernel where I didn't build msdos support in.