97 points · by jfruh · 15y ago · 63 comments
Stripped-down 'MinWin' kernel to be at the core of Windows 7 and more http://www.zdnet.com/blog/microsoft/stripped-down-minwin-ker...
http://www.codinghorror.com/blog/2006/07/creating-smaller-vi...
Really cool stuff.
edit: s/XP/NT/
That was basically the bare minimum needed to run the OS on my laptop with wifi and sound.
Put something similar on my EeePC 701 when I got it, having a 6/7 second boot time on Windows was quite nice;
In some ways it's the equivalent of tabbed browsing or application windowing - virtualization of the OS creates efficiency by dealing with multiple divergent contexts at the same time.
And then they moved onto a different project, and their browser bookmark wasn't there.
And now they're not happy, because Windows lost their stuff.
(Because very little of what most people do can be compartmentalized that much - and Windows is great because it allows you to multitask, which you can't do if everything is in a different VM.)
Most people don't keep their filing system very organized and when it comes to bookmarks even less so. Context is often a more efficient way of recalling what you did than a directory name - particularly over longer periods of time such as several months.
And of course, you can multitask across virtual machines - I often have two or three open at once because I need access to software which runs on a legacy version of Windows and I run Facebook in it's own exclusive VM.
At the same time I will be working on a project on the host OS. And there is no need for interconnection between any of them.
And VM's solve a lot of legacy issues, cross platform compatibility issues (e.g. windows phone apps) and Microsoft has already developed methods of integrating VM's with the host (see Windows Virtual PC and XP mode integration).
If we're talking about having them all having access to each other, then I can't see what you gain by putting apps in different VMs.
The current demand for virtualization is, to a significant degree, an attempt by admins to get control of their own hardware back from Microsoft. Putting MS back in charge of the lowest layer hypervisor seems like it could sort of defeat the purpose. Or maybe they'll play nice this time?
What do you mean?
We should be virtualizing the software, not the machines. Oh wait, we already are: JVM, CLR, Python RT, good-old-fashioned processes etc...
Virtualization is just snake oil. I don't see a real use for it TBH and I work at a place that drinks the VMware kool aid. All it does is cost money, use up resources and excuse incompetant administrators from having to plan properly up front.
http://www.ibm.com/developerworks/linux/library/l-kernel-sha...
Virtualization should not be at the hardware level - that's just retarded and another unnecessary product.
However there are three facts that get in the way of doing the right thing:
(1) Does it run Windows?
(2) We've got Intel and AMD making PC virtualization acceptably fast nowadays, so it makes sense to just use that.
(3) Isolation between processes is not very strong [not sure about virtualenv] but between machines is a great deal stronger because people have a lot more experience protecting networked machines from each other.
Windows' problem is, has always been, and promises to continue to be, purely in userland. The userland is bloated and without focus; it reeks of design by committee, is riddled with security issues stemming from design of userspace and user interaction requirements, and by-and-large simply lacks a unifying theme/purpose for the OS itself.
If they can really isolate all the hardware this is a game changer for me. I'll just move my SSD seamlessly between various PCs at home and work. Epic win.
Don't dimiss this as a power user feature just yet. Imagine going on vacation and taking one computer for your family, not 4. Get a new computer? Don't "migrate" with current solutions, move everything with full fidelity. Keep your own personal OS for use at internet cafes. Change the form factor of your computer at will.
All of my development is done on Ubuntu and CentOS VMs running in VirtualBox.
My actual IDE is often Eclipse (or Eclipse based) and I just make an SSH/SFTP connection to each virtualbox and the coding is treated as a "remote project" in Eclipse.
When I retire this Sony Vaio, I'm really thinking I'll get a 15" Macbook. Just for variety. There was a time when I'd never have dreamed of that. I bill a high hourly rate, I cannot be fumbling around because I'm on an unfamiler OS.
But I could switch to a Mac in 60 minutes. Downnload a JVM and VirtualBox for OSX, move over all my VM images, and I'm done. Back to work.
I chose Windows 7 because IMO it's the best OS available for me. I enjoy it. I never have reliability issues. I find I usually go 30, 40 days between restarts. It's nice I have this option: the chip and OS makers have really done a smashing job on visualization technology over the last decade.
Even better: you just plug in your phone to the current workstation. Also, your phone has the ability to read all your documents.
Hopefully it will stay, at least in the higher end consumer packages at least. Definitely looking forward to Windows 8.
> In theory, by running all legacy applications virtualized you'd get rid of legacy components and security issues that plague Windows OS today
(There's no mention of the 'but' that one seems to sense coming when a sentence starts with "In theory"; perhaps they just refer to the perhaps-infeasible effort it would take to implement this.)
Wish I could get that on Win7.
The NT kernel in and of itself is very small, simple, and remarkably well designed. The Win32 subsystem is what is horrid, and that's 99.9% in userspace. There's no reason that they can't create a whole new subsystem along side Win32 where they improve everything, but I don't see that happening.
Is there current documentation on that? I remember NT3 had a very microkernel-ish design, but I have also read that a lot of its elegance was compromised since NT4.
NT has had some growing pains architecturally speaking, but it's been handled remarkably well. Probably the best thing to ever come out of MS, especially when you contrast it to the mess that is the Win32 subsystem.
There's absolutely no reason for Windows to switch kernels.
As for virtualization support, you're wrong on two counts: 1) with the creation of Hyper-V, a number of facilities were added to NT to support something akin to paravirtualization, and 2) MinWin has absolutely nothing here that NT doesn't have, being a subset.
1. Some of us have the preposterous notion that the NT kernel is superior and more modern than the BSD kernel.
2. The NT kernel architecture is not new by any means. It's mature and robust.
3. Whats wrong with their windowing system? The DWM is pretty speedy, efficient, and stable.
4. "This would also open Windows for serious software development"?! It's currently the number one consumer (some, including me, might argue iOS actually is), and the number one business and server OS. How much farther ahead of the pack does it need to be before you'd consider it "serious"?