News for hackers. Stuff that matters.
Re:The End of the General Purpose Operating System by Animats on Saturday November 05, 2016 @05:28PM (#12881985)
This makes sense. The server OS underneath ought to be a lot smaller than Linux or Windows. No interactive logon support, no display support, no printer support, no hot plugging support, few drivers, and no battery management. And, most importantly, few changes. The OS underneath ought to be simple enough to be installed for the life of the hardware.

The real "operating system" is the container orchestration system.

Re:The End of the General Purpose Operating System by Hello71 on Saturday November 05, 2016 @09:40PM (#12882980)
> No interactive logon support

technically doesn't come by default with Linux (the kernel) anyways

> no display support

can be configured out. I'm pretty sure you can even configure out the whole TTY subsystem if you want, so you can't even use a serial port to debug your madness.

> no printer support

who still uses parallel ports? for anything else (except usblp which basically never works) you need CUPS anyways

> no hot plugging support

last I checked, hotplug is mandatory on x86 (but only for certain components, so you could configure out say USB support if you wanted)

> few drivers

sure, you can compile your own kernel if you want

> no battery management

I don't really know what "battery management" means.

> The OS underneath ought to be simple enough to be installed for the life of the hardware.

you can already try this with Linux. then you run in to problems like "what happens when there's a vulnerability in Xen", because https://marc.info/?l=openbsd-misc&m=119318909016582.

Re:The End of the General Purpose Operating System by johncolanduoni on Saturday November 05, 2016 @10:04PM (#12883052)
> I don't really know what "battery management" means

I assume he means "power management" (i.e. ACPI on x86). You can run the system without taking control of the ACPI hardware, but this is a terrible idea. It'll affect your ability to run the CPU properly, even assuming you don't care about power usage (and large server deployments sure do!). Not to mention all the nasty bugs and problems you'll run into because the hardware wasn't designed to run for long periods of time without ACPI active.

Re:The End of the General Purpose Operating System by asadjb on Sunday November 06, 2016 @12:43AM (#12883561)
But would that matter, given more and more of our machines are running on a hypervisor of some sort?

I know it's almost mandatory for the base machine running on actual hardware, but given that most of the servers we use now are just virtualized, how bad would removing ACPI support be? Also, would it be useful to remove that?

Re:The End of the General Purpose Operating System by johncolanduoni on Sunday November 06, 2016 @01:23AM (#12883671)
Not really. You'd have to come up with your own standard for conveying configuration information and shutdown/restart at least (for this thin guest I'm guessing you wouldn't mind losing suspend). I believe you'd also lose memory hotplug (although I don't think you'd lose memory ballooning) unless you implemented that too. That's a new standard, and new code for your guest and hypervisor.

Also I remember reading something about some hypervisors using the guest's decisions with regards to CPU power states to inform the hypervisor's setting of the same on the real hardware. I'm not sure if this is implemented in mainstream hypervisors, or if it's really useful, but that's another thing you'd lose.

Re:The End of the General Purpose Operating System by kijin on Sunday November 06, 2016 @01:18AM (#12883662)
Something needs to run on actual hardware.

There are benefits to using the same components both inside and outside of the VM, just as there are benefits to using the same codebase bother on the server side and on the client side. There's less code to maintain, and you don't have to spend time worrying about compatibility.

I wouldn't mind the small inefficiency of carrying extra drivers and subsystems inside of my VM if it helps make my stack as a whole more uniform and predictable. We really don't need yet another Linux distribution.

Re:The End of the General Purpose Operating System by microcolonel on Saturday November 05, 2016 @10:00PM (#12883043)
RISC-V's privilege separation model is promising for finally supporting hypervisors which probably work.
Re:The End of the General Purpose Operating System by justincormack on Sunday November 06, 2016 @04:49AM (#12884329)
The article is not talking about the kernel, it is talking about the whole installed system. It is saying people are making minimal distros with custom kernels for single functions.
Re:The End of the General Purpose Operating System by noir_lord on Saturday November 05, 2016 @05:58PM (#12882129)
Then you put all your dependencies on top and realise how large that is and that by bundling their dependencies with those dependencies security becomes a problem keeping everything up to date so someone comes up with the idea of sharing some of those dependencies and since they are common across multiple things they need a snappy name...hmm, sharing and re-usable how about..libraries, shared libraries in fact.

I jest but as an industry we do seem have an almost metronome-like tendency to lurch from one thing and back.

Re:The End of the General Purpose Operating System by pjmlp on Saturday November 05, 2016 @07:24PM (#12882469)
You can share libraries without having an underlying OS, a rich runtime playing OS role is enough.

For example, all JEE containers allow for sharing libraries among applications, and they can be running bare metal for what I care.

I can even control in which order they get loaded in each application.

Re:The End of the General Purpose Operating System by MrBuddyCasino on Sunday November 06, 2016 @04:20AM (#12884255)
Oh the horror. Thank god we don't do that anymore.
Re:The End of the General Purpose Operating System by eveningcoffee on Sunday November 06, 2016 @07:33AM (#12884812)
Unfortunately, or fortunately this is still what we do. Even on the web scale.
Re:The End of the General Purpose Operating System by walterbell on Saturday November 05, 2016 @06:08PM (#12882182)
Lurching is a proven technique for displacement of incumbents.
Re:The End of the General Purpose Operating System by js8 on Sunday November 06, 2016 @02:08AM (#12883961)
This was already invented, it's called z/VM. You have CP, which is a hypervisor (for any operating system), and CMS, which is a single-user OS that handles talking to the user.
Re:The End of the General Purpose Operating System by gaius on Sunday November 06, 2016 @04:48AM (#12884327)
This was called Mach, check it out https://en.wikipedia.org/wiki/Mach_%28kernel%29
Re:The End of the General Purpose Operating System by gigatexal on Saturday November 05, 2016 @11:34PM (#12883367)
Compile a custom kernel with only the hardware in the server and then only install packages you need. Boom done.
Re:The End of the General Purpose Operating System by oso2k on Sunday November 06, 2016 @12:41AM (#12883549)
This was called DOS but was deemed not sufficient for people who wanted multi-tasking.