Why 10.6 So Soon? A New Kernel? Could it be Xen? Arguments for and against
The speed of the new Mac OS release has me thinking. Â It's really soon since Leopard was released, and Exchange support really isn't enough to warrant it. Â Then I keep coming back to the reasons Apple said they are releasing it: Â Security, Efficiency, and Power Consumption. Â This is really low-level stuff, down to the kernel.Â When Mac OS X was first released, the OS was built around the Mach kernel. Â To date, there are only two OSes that I am aware of that have successfully used the Mach kernel: Â Mac OS X and the NeXT OS. Â THis shouldn't be surprising, since Steve Jobs owned NeXT, and just brought it over to Apple when he came back. Â But the Mach kernel is very limiting, meaning that there is a lot of overhead to make it work across platforms. Â While it can work fine on various architectures, the Mach kernel has to be developed specifically for that platform before it will work. Â As such, there is an inherent flaw in using this core in an OS that is poised to do so many things. Â Another problem with the Mach kernel is virtualization. Â Now, I'm not talking about virtualization in a desktop sense, but rather a server sense. Â While it is possible to use the current OS in a virtual machine (both Parallels and VMWare are doing something just like that), it's very difficult to get it to work in Compatibility Mode, because the kernel needs to be modified heavily. Â Since Compatibility mode is more efficient than HVM, it should be a goal of Apple.But then I read this articleÂ regarding the possibility of using Xen as a replacement for the Mach kernel, as tested and run by Moshe Bar. Â All of a sudden, my heart skipped a beat. Â Xen! Â Running natively on the Mac as a Bare-bones OS, virtualizing the Mac OS! Â I started looking back at the evidence: Â no PPC support, which means Intel only. Â The Core 2 Duo and Atom chips all have Intel VT technology, so it should be no problem. Â With Xen at the core, they can still keep Darwin open source, which is a huge plus. Â And, you no longer need to boot up to Windows to use it: Â Just run it through Xen. Â It would work almost like fast user switching, but fast OS switching. Â And, virtualization no longer becomes a problem, either for desktop or server level. Â The OS can still be targeted specifically for Mac Hardware (though I think that will no longer be an issue as there is a law against requiring software to run on specific hardware), and could even be easily migrated to other hardware platforms, should Apple so choose. Â Okay, once the euphoria of the possibility of Xen being the platform for OS X 10.6 Snow Leopard, the nagging started to hit me. Â Could there be reasons why Apple wouldn't go with Xen?
- The new "Grand Central" multi-core optimization project. Â It *could* be Xen, but why rename it? Â Perhaps because it isn't Xen at all. Â Of course it still could be, just modified to fix the Mac even more.Â
- XenSource was purchased by Citrix not long ago, and the question of it's Open Source status is still hanging. Â There could be some collaboration here, but Apple likes to have control of everything from start to finish. Â It now becomes very unlikely. Â
So the possibility starts to dim, and my hopes start to dim with them. Â Perhaps the new core will be more Xen-friendly. Â
So what do you think? Â