Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Xen is now live!
PostPosted: Fri Mar 28, 2008 12:46 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
FINALLY!

Please see this blog post for details.

-Chris


Last edited by caker on Wed Apr 22, 2009 10:33 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Fri Mar 28, 2008 12:54 pm 
Offline
Senior Member

Joined: Sat Feb 10, 2007 7:49 pm
Posts: 96
Website: http://www.arbitraryconstant.com/
What is the plan for migrating hosts over to Xen? AFAIK most of the images you've been using for UML don't even have boot loaders or kernels, this implies a non-trivial migration.


Top
   
 Post subject:
PostPosted: Fri Mar 28, 2008 1:07 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
It's a piece of cake. A quick reboot of each host is all that's required.

We'll announce the reboot schedule in the next few weeks. We'll be taking our time with this one.

-Chris


Top
   
 Post subject:
PostPosted: Fri Mar 28, 2008 1:24 pm 
Offline
Senior Member

Joined: Sat Feb 10, 2007 7:49 pm
Posts: 96
Website: http://www.arbitraryconstant.com/
caker wrote:
It's a piece of cake. A quick reboot of each host is all that's required.
Oh, sweet. As long as the images remain compatible between the two methods a planned reboot doesn't sound like a big deal. :)


Top
   
 Post subject:
PostPosted: Fri Mar 28, 2008 1:35 pm 
Offline
Senior Newbie

Joined: Sun Mar 09, 2008 8:12 pm
Posts: 9
Is there any data showing how much faster Xen is than UML?


Top
   
 Post subject:
PostPosted: Sat Mar 29, 2008 4:58 am 
Offline
Senior Member

Joined: Sat Feb 10, 2007 7:49 pm
Posts: 96
Website: http://www.arbitraryconstant.com/
I have another question: this obviously won't be available immediately, but you do mention the possibility of custom kernels in the future.

I was messing with cryptsetup on one of the linodes we have at work on friday and had some problems that I believe are due to the userspace tools being out of sync with the kernel. Obviously, if there's still a limited set of Linode-provided images this will still be an issue even under Xen.

What would be very cool is if those machines of Linode's that support hardware virtualization were to allow the native kernels from distros to run. There's overhead associated with this, but it wouldn't be the administrative kind, and I don't think I've ever found my bottleneck on Linode to be waiting for CPU time.


Top
   
 Post subject:
PostPosted: Sun Mar 30, 2008 2:49 am 
Offline
Senior Member

Joined: Tue Jan 22, 2008 2:10 am
Posts: 103
ArbitraryConstant wrote:
I have another question: this obviously won't be available immediately, but you do mention the possibility of custom kernels in the future.

I was messing with cryptsetup on one of the linodes we have at work on friday and had some problems that I believe are due to the userspace tools being out of sync with the kernel. Obviously, if there's still a limited set of Linode-provided images this will still be an issue even under Xen.

What would be very cool is if those machines of Linode's that support hardware virtualization were to allow the native kernels from distros to run. There's overhead associated with this, but it wouldn't be the administrative kind, and I don't think I've ever found my bottleneck on Linode to be waiting for CPU time.

Recent kernels actually support paravirtualization ops, so if the distro kernel supports them too, it might be theoretically possible to run them without emulation overhead.

Beware that older kernels (not including 2.6.1x) have pv_ops but break on SMP; this was one of the showstoppers for xen rollout...


Top
   
 Post subject:
PostPosted: Sun Mar 30, 2008 2:07 pm 
Offline
Senior Member

Joined: Sat Feb 10, 2007 7:49 pm
Posts: 96
Website: http://www.arbitraryconstant.com/
bdonlan wrote:
Recent kernels actually support paravirtualization ops, so if the distro kernel supports them too, it might be theoretically possible to run them without emulation overhead.

Beware that older kernels (not including 2.6.1x) have pv_ops but break on SMP; this was one of the showstoppers for xen rollout...
This is fine with me. Partly because I don't care about SMP, but also partly because I doubt anything older than Ubuntu 8.04 will be applicable to my Linode Xen usage.

After further consideration, while I would still ultimately prefer to be able to run arbitrary distros, I think there's a lot of gradations between here and there that would provide most of the functionality I'm currently after, while being significantly easier on the Linode staff. :)

Specifically:

-I want arbitrary native kernels so I can run stock distro kernels, but Ubuntu's Xen support looks pretty reasonable in 8.04, it's sync'd with their native kernel and I don't imagine most modules care, and on AMD64 the userspace changes required are minimal. I could run that rather than a native kernel.
-If it's stock, I don't need it to be an arbitrary kernel image that I provide. If Linode provides the stock distro kernels in their kernel options, the functionality I'm looking for is provided just as effectively. The initrd is a little trickier because that's generated dynamically, but that should be okay as long as there's a provided initrd that's sufficiently inclusive.

Under this setup, the deployment wizard would default the kernel to "latest Ubuntu 8.04" (or CentOS, or whatever), and then you'd simply run with that distro's stock Xen kernel (or paravirt_ops) kernel. The Linode staff would be able to keep their kernels up to date by keeping a VM of that distro around and patched, and then uploading updated kernels/initrd's as necessary.


Top
   
 Post subject:
PostPosted: Mon Mar 31, 2008 10:55 am 
Offline
Senior Newbie

Joined: Sun Feb 24, 2008 9:47 pm
Posts: 6
Website: http://www.realmprojects.com
AOL: leviat
Once Xen gets rolled out, do you plan on increasing the number of virtual machines per host, or keeping them the same?

Also, do you have more details on how the conversion will take place? A simple reboot sounds promising but also seems too good to be true. I would like to take advantage of kernel modules for instance, but don't want to have to deal with a full migration.


Top
   
 Post subject:
PostPosted: Mon Mar 31, 2008 10:58 am 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
The contention ratios between the plans will remain the same.

Yup. Just a reboot. What can I say? :)

There is a "filesystem helper" that runs on boot time on the xen hosts that makes sure your /etc/inittab and /etc/fstab have the correct entries in there for Xen, and will modify those files if they need converting. This is completely automated and no work should be required on your end.

-Chris


Top
   
 Post subject:
PostPosted: Mon Mar 31, 2008 11:03 am 
Offline
Senior Member

Joined: Tue Jan 22, 2008 2:10 am
Posts: 103
ArbitraryConstant wrote:
bdonlan wrote:
Recent kernels actually support paravirtualization ops, so if the distro kernel supports them too, it might be theoretically possible to run them without emulation overhead.

Beware that older kernels (not including 2.6.1x) have pv_ops but break on SMP; this was one of the showstoppers for xen rollout...
This is fine with me. Partly because I don't care about SMP, but also partly because I doubt anything older than Ubuntu 8.04 will be applicable to my Linode Xen usage.


When I say 'older' I mean 'older than 2.6.24.3 or thereabouts' ;) The patch to fix it could always be backported though.


Top
   
 Post subject:
PostPosted: Mon Mar 31, 2008 3:38 pm 
Offline
Senior Member

Joined: Sat Feb 10, 2007 7:49 pm
Posts: 96
Website: http://www.arbitraryconstant.com/
caker wrote:
There is a "filesystem helper" that runs on boot time on the xen hosts that makes sure your /etc/inittab and /etc/fstab have the correct entries in there for Xen, and will modify those files if they need converting. This is completely automated and no work should be required on your end.
Hm... Ubuntu doesn't have an inittab anymore. Is that to handle putting the console in the correct place?


Top
   
 Post subject:
PostPosted: Mon Mar 31, 2008 3:46 pm 
Offline
Senior Newbie

Joined: Mon May 28, 2007 1:37 am
Posts: 6
I've been wanting to redo my linode with Fedora 8. I wasn't part of the Xen Beta program; should I wait until the migration over to Xen?

Also, what happens when I "yum update" and a new kernel pops up now or after the Xen migration? Would my linode then use the kernel now of after? I'm not all that familiar with either Xen or UML. I'm familiar with VMWare though.


Top
   
 Post subject: Re: Xen is now live!
PostPosted: Fri Apr 04, 2008 2:04 pm 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
Linode staff,

Now xen is the future are there any plans to offer other operating systems?

I'd love to use a BSD on my linode.


Top
   
 Post subject: Re: Xen is now live!
PostPosted: Fri Apr 04, 2008 4:48 pm 
Offline
Junior Member
User avatar

Joined: Sun Sep 19, 2004 7:42 pm
Posts: 27
Website: http://eric.gatenby.org/
Location: New York, NY
sednet wrote:
I'd love to use a BSD on my linode.


Same here... I'll even be a beta test subject.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group