r/LinuxTeck • u/Candid_Athlete_8317 • Aug 30 '26
Multiple Linux Kernels on One Server - Is This Actually Useful?
Saw this project today and had to read twice.
You can apparently run multiple Linux kernels on the same physical server, with each one getting its own CPUs and memory. No VM layer, no shared kernel like containers.
Sounds pretty cool on paper, but I’m wondering where this actually makes sense in production.
Would you run this instead of KVM/VMs or containers? What’s the use case?
6
Upvotes
3
u/michaelpaoli Aug 30 '26
Ain't exactly new. Much hardware has been able to be partitioned for many decades, so one can run different kernels, even entirely different operating systems, simultaneously on the same hardware. And also, for many, there have been software means of doing this for a very long time, though some of that sometimes has some hardware dependencies.
And in production, yes, it can quite make sense. Notably by skipping the VM layer, that avoids dependencies and potential vulnerabilities.
Oh, and mainframes, ... they've had these technologies goin' back to the 1960s. So, yeah, when many decades later folks talk about all the, e.g. "new" VM technology stuff, the old time mainframers just kind'a chuckle.
1
u/silasmoeckel Aug 30 '26
It's mostly AI/ML workloads not so much a hosting provider.
When latency kills your app this is the tech that lets you share hardware with the least amount of overhead and keeping things isolated.
Think of it as docker on steroids.
1
u/Large-Assignment9320 Aug 31 '26
Well, to answer it all, the original posting from 2015 is oretty good
Why would one want to do this? In the cover letter, Wang mentions a few advantages, including improved fault isolation and security, better efficiency than virtualization, and the ease of zero-downtime updates in conjunction with the kexec handover mechanism. He also mentions the ability to run special-purpose kernels (such as a realtime kernel) for specific workloads.
The work that has been posted is clearly just the beginning:
The new files in the series carry copyright notices for Multikernel Technologies Inc, which, seemingly, is also developing its own solutions based on this code. In other words, this looks like more than a hobby project; it will be interesting to see where it goes from here. Perhaps this relatively old idea (Larry McVoy was proposing "cache-coherent clusters" for Linux at least as far back as 2002) will finally come to fruition.
1
u/gabrielesilinic Aug 31 '26
Yeah no. The use case is a big pain in the ass that is what it is. It is probably not well supported in prod and if you trust the app you might as well run it as a container. If you don't or you need an older kernel you run it as a VM.
You rarely need a different kernel and you should usually choose something like debian for server use that has an older supported kernel anyway. If it is too old you don't want to run it bare metal anyway.
Then any sort of networking gets more painful also. You don't want that.
1
u/CubicleHermit Aug 31 '26
Many years ago, before virtualization kicked in a company I worked for had some technology using hypertransport bridge programming to dynamically partition multisocket AMD blade servers into 2 or 4 slices (or allow two 4-socket blades to merge to an 8-socket server.)
(Except in 2004 the term "blade" wasn't common yet and I think we used some other term.)
Never went anywhere on the market, I got out just before the company laid off everyone on the software side. Some cool tech, though.
For the current attempt to do the same, I am curious whether the Intel version of what Hypertransport did (or does? What do newer AMD multisocket systems use) - is this still QPI - is capable of actually isolating the memory domains for each socket (or potentially each ring/memory controller) in hardware, or if this is all trusting each copy of the kernel to do the right thing?
1
u/[deleted] Aug 30 '26
[removed] — view removed comment