After my Linux Suckage posting this can be dealt with relatively easily; so I will include analysis below to make up the shortfall in effort.
I have two non-Mac x86 machines at home – a AMD x64 server running OpenSolaris, and a old Thinkpad. The AMD is a file server and one does not like ripping those up and down all the time, for obvious reasons; so if I am to play with Xen then it has to happen on the Thinkpad.
Which has a 32-bit Pentium-M 1.6GHz processor which lacks Physical Address Extension / PAE.
Now, I *know* that PAE is not a requirement for Xen – however CentOS Linux will not boot Xen on the Thinkpad for lack of it.
So I thought “Let’s give OpenSolaris a go, Sun will surely have done it right! They have *proper* integration engineers!”
Darren pointed me at this wonderful page which (if you ignore the tail-end of the URL that suggests it is something to do with a 2008 release of OSOL) says:
How to Set up OpenSolaris as a xVM dom0
If you are running build 126 or later of OpenSolaris, enabling xVM is as simple as:
$ pfexec pkg install xvm-gui
$ pfexec svcadm enable milestone/xvm
$ pfexec reboot
There are three problems here:
1) the most recent revision of OSOL is 2009.06 which is build 111
OK, so I installed 2009.06 and then used the “dev” repository to upgrade it to build 126.
2) the upgrade process takes hours
Oops. Oh well. That’s DSL for you. Sort of. And unless I make a local repository, I will have to do this for every rebuild. Hmmm.
3) Sun removed 32-bit support for Xen in build 125
WTF!?!?! Yep. There it is. After all that work, the following “bug”:
http://bugs.opensolaris.org/view_bug.do?bug_id=6851808
There is a desire to stop delivering the 32-bit xVM hypervisor in OpenSolaris.
Machines that typically run xVM have many guests, one of the central roles of virtualization (to consolidate many physical machines). The limitations of a 4gb address space make it unfeasible to support many modern OS guests on 32-bit systems.
To add, these small systems become a maintenance and testing burden for the development team: time that would be better spent adding features to 64-bit dom0 or improving performance.
Removing the 32-bit hypervisor and dom0 will not have any effect on guests – we can still run 32-bit guests on a 64-bit dom0.
It is proposed to do this work in two stages:
* stop delivering the hypervisor itself and the kernel backend drivers
* stop delivering the 32-bit binaries for the userland componentsThis bug addresses the former. The latter is a little more complex as some of the userland components are currently tied to 32-bit by /usr/bin/virt-manager, which itself depends on a library from a separate Consolidation that is only delivered compiled as 32-bit.
“There is a desire…”? That’s not a bug, that’s a whinge. Smacks of cost-cutting, and seeing as I got laid-off recently I’ll just guess why.
But Xen? Fuck it. I might have a try playing with a custom Debian kernel build, but I can’t be arsed for the moment. I’ll stick to VBox.
Industry Analysis
Now here’s the thing: there are more than a hundred reasons why Sun Microsystems is in the shitter, but for me one of the really huge ones was that Sun “focused on its core competencies” in the late 90s and stopped hard-selling Solaris-able workstations to Universities, in favour of pushing Starfires at bankers and hoping they would stick. This led to a generation of college geeks who thought Linux was the best and only way to compute, and who then went on to use it everywhere when they got jobs at the banks.
Virtualisation vendors (VVs) like VMWare and Xen are in a similar and very tricky position – especially Xen which has an open-source technology base; virtualisation has become commoditised, and the deep-magic management software that was supposed to provide a revenue stream is following suit and/or being replaced by “cloud” GUIs.
I’ll bet you that the VVs are focusing on technological differentiation a-la Linux vs Solaris – and look where that strategy put Sun; what the VVs *ought* to be doing is treating the platform vendors (Sun, Ubuntu, Debian) in the symbiotic way that Sun used to treat its ISV community, and they should invest $$$$$$ in making sure that their virtualisation solution runs best / most easily / most effectively on each and every platform, in every reasonable incarnation of it.
That strategy alone leads to pull-thru, which is what the VVs desperately need.
People – including people like me – want “free and easy”; lacking that they will take “free or easy”, but of that “easy” is preferred.
It’s why I am using VBox on Mac. And it’s why, when I go back into the job market like any other student, I will be ignoring Xen and VMWare and instead find whatever is free and good at that point.
ps: “EC2 runs Xen?” Yah, and Sun had Wall Street.
Leave a Reply