Xen Roadmap
We've now gone a fortnight without anyone reporting a bug in the 1.2 tree, so I think we can finally declare 1.2 as ready for official release. Thanks to all those that provided bug reports, documentation or feedback.
I thought it might be helpful to post a roadmap of where we're planning on going with Xen development over the next few months.
For Linux (and NetBSD) virtualization, I believe Xen offers a solution that provides excellent stability, performance, security, and control over resource usage. However, there are new features that we can add that we hope will secure Xen's position as the "definitive open source VMM" :
The Xen Roadmap Overview
========================
* Bi-directional console. Currently VM console is output only, and
hence it's only possible to log into guests that are running sshd (or telnetd etc). The new console facility will provide each domain with one or more virtual serial ports, which can be accessed via a 'port server' in domain 0. [2 weeks]
* "live migration". The 1.2 release supports suspend/resume migration
of domains, but we have are developing a 'live' migration feature that will enable virtual machines to be moved beetween Xen hosts on a LAN without having to stop the VM. [2 months]
* New IO architecture. Drivers for block and network devices will be
moving out of Xen and into 'driver domains'. This will result in a wider range of supported hardware (such as iSCSI etc) since it will be possible to import drivers straight from Linux. It will also enable greater flexibility in how IO requests are 'plumbed', enabling transparent copy-on-write virtual disks, and more sophisticated network firewalling and tunnelling. [3 months]
* Enhanced QoS features. Xen already enables control over the CPU and
network usage of domains, but we plan to improve this support by adding soft real-time scheduling capabilities to enable upper and lower bounds to be set on a domain's resource usage. Providing better support for more accurate disk scheduling and accounting is on the agenda too, as are more flexible memory usage controls [3 months]
* Linux 2.6 port. Although most production servers are still running
2.4, we need to start thinking about transitioning to 2.6. We would aim to make a strong case for the port's inclusion in the kernel.org and vendor trees, having demonstrated a sizable user community. [2 months]
* SMP guest operating systems. Xen has supported SMP hosts since the
1.0 release, but we're now moving toward support for SMP guests as this is a necessary feature for some Enterprise Xen users. [5 months]
* x86_64 Xen port. We have a design for a Xen port to AMD64/IA32e
which will support xeno-x86_64 guest OSes. [1 month from start]
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
We'd love to hear from any experienced programmers who'd like to join the core Xen development team, or otherwise contribute.
We'd also be particular grateful for any help the user community can provide writing and maintaining documentation, and also contributing more sophisticated VM management tools (particularly with respect to managing VMs across a set of hosts). Having more OS ports contributed is always nice too ;-)
Thanks for your support.
Cheers,
Ian
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
Hi,
I have a question regarding this :
Quoted 4 lines
* "live migration". The 1.2 release supports suspend/resume migration
of domains, but we have are developing a 'live' migration feature that will enable virtual machines to be moved beetween Xen hosts on a LAN without having to stop the VM. [2 months]
Does this live migration include migration of open files,
sockets, pipes etc ? Or is this limited to the process migration. What I mean is :
If I have a VM running a web server, and I try to migrate,
will I lose the connection, or will it continue seamlessly?
Some other questions that arise if the above is true are:
1) If it does, will the client application/server application change in any way ?
2) How do the TCP bytestreams get synchronized after migration?
3) How big a state do you envision you would need to transfer ?
Thanks,
Regards
Aniruddha
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
Quoted 3 lines
Does this live migration include migration of open files,
sockets, pipes etc ? Or is this limited to the process migration.
We mean migration of whole operating systems and applications running in a VM.
Quoted 3 lines
What I mean is :
If I have a VM running a web server, and I try to migrate,
will I lose the connection, or will it continue seamlessly?
It should continue seamlessly.
Quoted 3 lines
Some other questions that arise if the above is true are:
1) If it does, will the client application/server application change in any way ?
No.
Quoted 1 line
2) How do the TCP bytestreams get synchronized after migration?
When the VM migrates to a new host, the LAN switch/router is tricked into sending packets for the VMs IP address to the new host.[*]
Some packets could get lost in the changeover period, but TCP will just deal with this in the normal way.
We could forward packets that arrive at the old host to the new one for a period, but this is probably unnecessary in most circumstances.
Quoted 1 line
3) How big a state do you envision you would need to transfer ?
If the VM has xMB of memory in use, we'll have to transfer at least that much [**]. However, it won't be transfered in one go, but incrementally while the VM is still running. [The disk state is another issue -- its probably best to either use a SAN, iSCSI or an NFS filesystem]
Ian
[*] There are two ways of doing this (assuming same physical subnet).
1) Have the new machine spoof an arp reply for itself to the
broadcast address
2) Give the VM its own MAC address and migrate that to the new
host. The LAN switch will update its CAM when it spots the MAC active on a new port.
[**] We could exploit para-virtualization and patch the guest such that it prepares itself for migration by 'forking' itself and then purging the buffer cache to minimise it's memory footprint. It would probably just mean a whole lot more page faults on the destination machine, though.
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click