9 ms·
From an interoperability and preservation perspective, would it be viable to keep it, provided there is a comprehensive set of tests to make sure it remains saf
by rbanffy 4y ago
From an interoperability and preservation perspective, would it be viable to keep it, provided there is a comprehensive set of tests to make sure it remains safe to use?
- happymellon 4y agoYes, but something like this should be moved to FUSE. The tests would certainly help that migration.
- skissane 4y agoMaybe one of these days all filesystems will be moved to FUSE, and Linux will have evolved from a monolithic kernel into a microkernel Yes, yes, FUSE performance is nothing to write home about – but some people seem to think that io_uring might solve that. L4 is evidence that, in principle, the right microkernel design can perform about as well as monolithic kernels can
- pjmlp 4y agoIronically with cloud workloads it already kind of is, specially when it doesn't run bare metal, and has a type 1 hypervisor underneath it. Or for container based distributions where it is basically there to provide the minimal set of services to run containers, and any other kernel would do, it is only a matter of convenience to ping back on the Linux kernel. The monolithic kernel folks just haven't noticed it.
- monocasa 4y ago> Ironically with cloud workloads it already kind of is, specially when it doesn't run bare metal, and has a type 1 hypervisor underneath it. AWS overwhelmingly uses Linux/KVM, not any type 1 hypervisor. There's a few leftover Xen systems, but those are legacy; you get KVM if you provision a new instance.
- noobermin 4y ago>The monolithic kernel folks just haven't noticed it. I know may be by sheer number of users most people use them in the cloud or for development but some of us do actually use linux on our everyday machines.
- pjmlp 4y agoWith docker?
- zamalek 4y ago> docker? > GP: development Probably yes? Even foregoing development scenarios, containers can be used for everyday Linux tasks with things like toolbox/distrobox (which do support GUIs).
- pjmlp 4y agoSo playing microkernels anyway, with worse performance due to the extra monolithic layers.
- remexre 4y agoHow are namespaces similar to microkernels? I see them a lot more as glorified chroot; it's not like there's a modprobe namespace or anything.
- pjmlp 4y agoNamespaces are a tiny part of what means a complete container infrastructure, across all OS layers. Then there is the whole IPC taking place across containers with much slower APIs and heavier context switch states.
- zamalek 4y agoContainers on Linux don't have slower APIs or IPC, and don't have heavier context switches. Are you sure you're not thinking about VMs?
- msla 4y agoHypervisors and microkernels are meaningfully different, both in terms of history and technology: Microkernels implement one OS by running different userspace components on a minimal kernel, whereas hypervisors run multiple OSes, each with their own kernel, on a minimal hardware multiplexer which ideally provides no abstractions, as opposed to a kernel, which provides many abstractions. Conflating them is both historically wrong and confusing.
- pjmlp 4y ago"An operating system is a collection of things that don't fit into a language. There shouldn't be one." – Dan Ingalls That is the beauty of hypervisors, just enough abstraction for a portable language runtime.
- bravetraveler 4y agoFUSE works well enough for Gluster to benefit from RDMA over TCP, it's already pretty good imo Not as cheap but that's the price of interfaces
- happymellon 4y agoWell yes and no, SystemV FS support isn't there for performance. Old and generally unused filesystems shouldn't be living untested in the kernel.
- unmole 4y ago> For now this file-system support is staying put in the kernel -- albeit stale -- but without someone willing to maintain it runs the risk of further code rot and removal in the future.
- rbanffy 4y agoEventually it'll start breaking builds and failing tests. Some code cleanup can be done as a last step before offloading it to another project that focuses on preserving software like this rather than providing a nice OS for usable computers.
- mrweasel 4y agoFor something like SystemV filesystem support to be truly useful, won't we need a way to format drives using the original implementations? If we just create the filesystem using the Linux driver, and validate it using the same driver, then what is achieved exactly? For preservation we'd still need access to Xenix systems and a drive of some sort that can be moved between the old system and a more modern computer. I suppose disk images could be used, but that still seems like only a partial solution.
- rbanffy 4y agoWe should have reference filesystems generated on actual System V machines that are mounted and used in tests.
- bryanlarsen 4y agoI highly doubt you're going to be running a modern Linux on any hardware connected to a SysV filesystem. You'll want to use an older Linux that can run on 386's with 8MB of RAM, or similar vintage. And those older Linux's aren't going away.
- newaccount2021 4y ago[dead]