Regarding NFS, I've always loved this quote from the CTO at a hedge fund I once worked at: "NFS is lot like heroin: at first, it seems amazing. But then it ruins your life" (This is a place that did almost EVERYTHING via NFS including different applications communicating via shared files on NFS mounts. It also had the weird setup of using BOTH Linux AND Windows permissions on NFS mounts shared between user desktops […
The problem I have with reviews like these is that they're expressed in absolute terms. Yes, NFS might ruin my life, but if it ruins my life less than every other alternative, it's still a win.
A Higgs-Bugson in the Linux Kernel
41–50 of 58 posts
Re: A Higgs-Bugson in the Linux Kernel
#42I'd like to highlight this: >NFS with Kerberos secure, simple, battle tested. no crazy architecture works so well a bug showed up in the kernel :-)
Re: A Higgs-Bugson in the Linux Kernel
#43I love the term "Higgs Bugson". Its much better than what I usually do which is just call a system haunted.
Re: A Higgs-Bugson in the Linux Kernel
#44Didn't know jane street did tech writeups
Re: A Higgs-Bugson in the Linux Kernel
#45With millions of LoCs, it is no surprise there are bugs. Worse yet, the kernel runs in supervisor mode. This kernel design is bankrupt. There's much better available, such as seL4+Genode.
Microkernels have severe limitations when it comes to transactional boundaries of calling multiple subsystems and rolling back on failure.
Linux has too much inertia to reinvent itself instantly or completely into XYZ.
What would add more value would be gradual conversion to Rust and adding formal verification to C and Rust like specifying invariants in comments/metadata like frama-c and/or flux.
PS: Religious judgement opinion wars are rarely constructive.
Re: A Higgs-Bugson in the Linux Kernel
#46Earlier quoted context omitted.
The problem I have with reviews like these is that they're expressed in absolute terms. Yes, NFS might ruin my life, but if it ruins my life less than every other alternative, it's still a win.
I'd go as far as saying most networked concurrent file access will ruin your life one way or another, because it's just a hard problem , and it's trying to solve it at a very odd layer; a "classic" fs can't really take advantage of higher layer transactional or other known constraints in order to make things work better…
Re: A Higgs-Bugson in the Linux Kernel
#47With millions of LoCs, it is no surprise there are bugs. Worse yet, the kernel runs in supervisor mode. This kernel design is bankrupt. There's much better available, such as seL4+Genode.
Please try keeping your snide comments to issues they actually apply to. This is a logic bug, with the kernel missing a piece of abnormality handling. You can get the exact same bug in a microkernel (or, FWIW, a memory safe, e.g. Rust) implementation; neither of those concepts help here.
Absolutely. And yet, it is that much easier to keep a tiny codebase bug-free.
And only that tiny codebase has to run with supervisor privileges.
Re: A Higgs-Bugson in the Linux Kernel
#48Earlier quoted context omitted.
I'd go as far as saying most networked concurrent file access will ruin your life one way or another, because it's just a hard problem , and it's trying to solve it at a very odd layer; a "classic" fs can't really take advantage of higher layer transactional or other known constraints in order to make things work better…
Google Docs solved the problem at the right layer then.
Re: A Higgs-Bugson in the Linux Kernel
#49Earlier quoted context omitted.
Please try keeping your snide comments to issues they actually apply to. This is a logic bug, with the kernel missing a piece of abnormality handling. You can get the exact same bug in a microkernel (or, FWIW, a memory safe, e.g. Rust) implementation; neither of those concepts help here.
>You can get the exact same bug in a microkernel Absolutely. And yet, it is that much easier to keep a tiny codebase bug-free. And only that tiny codebase has to run with supervisor privileges.
And, sure, a microkernel could have better security properties. However, (1) this has no connection at all to this specific bug, and (2) the Linux kernel seems to be doing reasonably well on security properties; or rather the industry seems to have decided it's sufficiently secure, even if not perfect.