Kind of weird to see linux called out as too big, and then the ack that writing a ton of device drivers is hard and will take time. Isn't that a large part of the source tree? Realizing I haven't even tried compiling a kernel in a long long time. Feels oddly sad to say.
Yes, its mostly drivers. Here's a breakdown of the Linux kernel by lines of code: https://upload.wikimedia.org/wikipedia/commons/f/f5/Sankey_D...
Gnu/Hurd strikes back: How to use the legendary OS in a (somewhat) practical way
161–170 of 273 posts
Re: Gnu/Hurd strikes back: How to use the legendary OS in a (somewhat) practical way
#162In the commercial world the first release a new OS with GUI only takes about 4 years, depending. Hurd has exceeded that by a huge margin.
Re: Gnu/Hurd strikes back: How to use the legendary OS in a (somewhat) practical way
#163I’m surprised to see that Mach is still the microkernel for Hurd. When I last (very casually) followed Hurd development two decades ago, Mach was generally regarded as obsolete and there were hopes to base Hurd on a new microkernel like seL4.
Isn't macos Mach?
Re: Gnu/Hurd strikes back: How to use the legendary OS in a (somewhat) practical way
#164Kind of weird to see linux called out as too big, and then the ack that writing a ton of device drivers is hard and will take time. Isn't that a large part of the source tree? Realizing I haven't even tried compiling a kernel in a long long time. Feels oddly sad to say.
Re: Gnu/Hurd strikes back: How to use the legendary OS in a (somewhat) practical way
#165Earlier quoted context omitted.
Okay, so there are a handful of massive $4k+ chips that can fit the Linux kernel in the L3 cache. Meanwhile, you could fit 5 copies of the SEL4 kernel in the L2 cache of a raspberry pi.
Which is fine for a program that does essentially nothing. But once a program wants to talk to the network or disk, or display something on the screen, it needs more system services that need to come from somewhere. Can you fit all of those in the caches too?
Re: Gnu/Hurd strikes back: How to use the legendary OS in a (somewhat) practical way
#166Someday it'll have the fault tolerance of OpenVMS, where it'll somehow keep running when the hardware dies.
Re: Gnu/Hurd strikes back: How to use the legendary OS in a (somewhat) practical way
#167Earlier quoted context omitted.
I understand what you're saying, but both are true. 1. Linux is too big. Even if we exclude the drivers, which are a majority of the kernel codebase, linux is still a massive kernel. Most microkernels are small enough to fit in the L3 cache, some are small enough to fit in the L2 cache. Linux, even if we could exclude the drivers, doesn't even come close. This inability to fully cache the kernel ends up negating the…
> To add to this, unless you are compiling your kernel specifically for your machine, your kernel is going to be a bloated compromise of the set of drivers that your system is most likely to see. That means that you will have dozens, if not hundreds of drivers compiled into your kernel which will never need to be used. These days most Linux distros build pretty much any driver as a module that can be built as one. Bo…
Most users run the distribution's kernel.
Re: Gnu/Hurd strikes back: How to use the legendary OS in a (somewhat) practical way
#1682. https://sr.ht/~sircmpwn/helios/
Re: Gnu/Hurd strikes back: How to use the legendary OS in a (somewhat) practical way
#169Re: Gnu/Hurd strikes back: How to use the legendary OS in a (somewhat) practical way
#170Earlier quoted context omitted.
Can get a sense of how long it takes to compile here https://openbenchmarking.org/test/pts/build-linux-kernel surprisingly fast with modern processors.
My memory was spending as much time learning on the different options as anything else. Though, I think most of my memory was all of the config for FreeBSD. Compiling Firefox was the beast that I remember. Only thing I still compile is Emacs, and that is silly fast on modern computers. Really, the speed of compilation is such that I understand why so many source distribution methods are as popular as they are now. Fe…
I haven't built my own kernel for more than 15 years, but I probably built more than a dozen before that, each of them re-compiled upon every new release (going back to 0.98).